diff options
author | Alex Chau <alexchau@google.com> | 2018-01-02 16:49:14 +0000 |
---|---|---|
committer | Alex Chau <alexchau@google.com> | 2018-01-02 16:55:28 +0000 |
commit | 81a47cd688e5b3c140aac23e467a3ded83b36e9f (patch) | |
tree | 8c54e7ff20693deda3fe6e4d0054ce321c04640e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | dc4cb146315240441fc8d9c05fe8dd63370a7c57 (diff) |
Clear calling identity when calling getPackageInfo in AMS.isSystemUid
- Without this, calling removeAccount in secondary user will crash, as the calling app may not have the permission required by getPackageInfo
Bug: 65280359
Test: Remove account from profile owner is successful
Change-Id: I4e5931732fd6797bb8429e8fa772022018e878c2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions