commit | c93da80012d11efe705a6e74777b7ed8a7f5020d | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Fri Feb 28 19:01:49 2020 +0000 |
committer | Zim <zezeozue@google.com> | Fri Feb 28 19:05:26 2020 +0000 |
tree | 939b04cb8c20bd85e7f80393fc219d5830031902 | |
parent | 20905ec041cc1741d1e4297a3e8e43ed07f929e4 [diff] |
Clear calling identity in StorageManagerService#onAppopsChanged It turns out StorageManagerService#onAppopsChanged runs with the calling identity of the app setting the uid. We should run with system_server calling identity before calling into ActivityManagerService to kill an app when appops changed Test: PackageInstaller doesn't get killed Bug: 149895648 Change-Id: I584b1ee340203d8653941fe325ff9bb01ec04ab6