commit | 0c123fac3f2509c35622d1ac2d034c4880a4d466 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Mon Oct 21 12:41:59 2019 -0700 |
committer | Hai Zhang <zhanghai@google.com> | Mon Oct 21 16:07:13 2019 -0700 |
tree | 933a169cbb55db1dd7e47641c7a897cad87c8c92 | |
parent | 57bc312f82ce7ff85dc859dde408390f02e3d144 [diff] |
Cache permission info before syncing app op mode. This can help reducing time spent in onStartUser() where we compute app op mode synchronously for all apps. After this change, we don't have to query the permission info for every runtime permission requested by every app every time we encounter it. Bug: 136503238 Test: presubmit Change-Id: I64dfd056725b666b83649769a9b551b7b6207b73