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

Skip to content
Commit 9850e4be authored by Jeff Davidson's avatar Jeff Davidson Committed by The Android Automerger
Browse files

Always regrant default permissions even if app is enabled.

We can safely skip the call to setApplicationEnabledSetting in this
case, but we should still call grantDefaultPermissions to ensure that
we re-evaluate defaults when the carrier privilege rules has changed.

This fixes userdebug OTAs where the permissions are cleared, as we
were not re-granting them after the SIM was inserted, but it is safer
in general.

Bug: 22088420
Change-Id: Ied518653790e1fbf026cd3f0ec4de22e3b21f0ba
parent 3272fcc3
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