Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2dbaf81 authored by Brett Chabot's avatar Brett Chabot
Browse files

Avoid exceptions when calendar and contacts sync packages do not exist.

PackageManagerService will NPE when adjusting permissions if no calendar
or contacts sync packages exist. This commit adds simple null checks to
avoid this.

(cherry pick from Ia6db335d86c514a5b4f3b438f72c8d5375066178)
Bug: 138449617
Test: m -j && emulator&

Change-Id: Iaca027b92b64c40ca2fae2942c67632b5ad3cccc
parent 43b604f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment