diff options
author | Makoto Onuki <omakoto@google.com> | 2018-06-25 16:01:02 -0700 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2018-06-25 16:09:03 -0700 |
commit | bbb4b22f8b1dc19afd965ac2c9d0527d490fe264 (patch) | |
tree | 7e680bfb950c480b4ec68be3e6724cd65bea4e39 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6d5bdf293d399d9986179ae0987e4e058a27e324 (diff) |
NotificationManager: clean calling identity in dump().
When a device has work profile, "dumpsys notifiaction" often crashes
if the caller doesn't have the CROSS_USER permission.
The dump() method is protected with checkDumpAndUsageStatsPermission(),
and it won't need further permission check.
Test: "dumpsys notification"
Change-Id: Ief5269dec1e334bcd96013c349a468a0136a9551
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions