diff options
author | Jeff Sharkey <jsharkey@android.com> | 2017-11-09 17:40:57 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2017-11-09 17:42:29 -0700 |
commit | 77a34500fe235607f369fd5767b8805f1d689718 (patch) | |
tree | 41f7812a1dfcb324976238953f109e1d6c35b377 /tools/aapt2/java/AnnotationProcessor_test.cpp | |
parent | c173c93c1ca84652a102ed12b95e0c3b5b63d69c (diff) |
Better, consistent definition of AID_SHARED_GID.
AID_SHARED_GID is a GID shared by a specific app across all users on
the same device. Bring the UserHandle and multiuser.c implementations
into agreement, and copy/paste the unit tests that verify that both
behave identically.
Since we might now return "-1" when a GID is invalid, have
ActivityManager handle these cases by quickly swapping in the
always-valid getUserGid().
Test: bit FrameworksCoreTests:android.os.UserHandleTest
Bug: 34151068, 64548938
Change-Id: I0463aba923ae5ce1942666359a394ae6cdb7c1f8
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor_test.cpp')
0 files changed, 0 insertions, 0 deletions