diff options
author | Felipe Leme <felipeal@google.com> | 2021-03-05 13:34:31 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2021-03-08 10:57:58 -0800 |
commit | 1292d5808efd94c8ce0d3862bdbbb327011cdc1a (patch) | |
tree | b7f1b863f37b7623fd40994d1f059af94c95041f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fd8f4ae2700765f8fdfbc393a2a95da987fe32bc (diff) |
Restricts PersonalAppsSuspensionHelper.dump() to system user.
It calls a pm method that fails if called for a different user.
As this dump is mostly useful for system user anyways, we can just
ignore the other users (rather than changing the permission check in
the PM method).
Also fixed the userId passed to that method.
Test: adb shell dumpsys device_policy |grep -A 20 PersonalAppsSuspensionHelper # on automotive
Bug: 181238156
Change-Id: Ib416fe9be81a12f40b0b95bfe864d0b2c45efe0b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions