commit | f50316cb46d11882119a61a41f2c83a79b76f108 | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Wed Jul 03 15:44:00 2019 -0700 |
committer | Philip P. Moltmann <moltmann@google.com> | Wed Jul 03 15:48:46 2019 -0700 |
tree | 96952056c928f64df3a47b7e8898febfe3328037 | |
parent | 914de104b3b9861364b247aeb8d244e30744c757 [diff] |
Do not trigger revoke-perm callbacks if no change Revoking a permission might e.g. kill the the app. If a permission gets revoked that was never granted there was no change, hence no need to call the callbacks and also no need to kill the app. Test: "pm clear" two times in a row. The second one did trigger a kill before, not anymore. Bug: 133830856 Change-Id: I357f2d939520ac78ef82ecf4feb7936455950fc4