diff options
| author | 2017-05-18 00:13:44 +0900 | |
|---|---|---|
| committer | 2017-05-24 07:37:13 +0900 | |
| commit | 5cb903e0a976a143cd70441dcbd0fcb5a9630daa (patch) | |
| tree | a199812213341a8ade0816d549575ccfad5efeb4 /services/surfaceflinger/EventControlThread.cpp | |
| parent | b57d3d222a1fe73a06e2a07416bfec1585e358a5 (diff) | |
Newly create idmap only when it is stale
For now, OverlayManagerService calls Installd.idmap() whenever a user
is changed, and then a idmap is re-generated even though there are no
changes on its target apk and overlay apk.
This CL is to avoid such unnecessary re-generation of idmap. Instead
only a group id will be updated when the idmap isn't outdated.
To correctly check staleness of idmap, "--verify" function of idmap is
invented as well.
Test: building succeeded and tested on sailfish.
Bug: 37179531
Change-Id: I874be9765d37bfa6c562c3f39a395040dc6a7d1f
Diffstat (limited to 'services/surfaceflinger/EventControlThread.cpp')
0 files changed, 0 insertions, 0 deletions