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
Loading
Please register or sign in to comment