summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2019-06-07 13:20:49 -0400
committerFabian Kozynski <kozynski@google.com>2019-06-07 17:38:01 +0000
commitade26fa73afd2d4510ac00def5b0beada19d1b36 (patch)
treebf90c59579d0e13413ed9c8aaf3b35dfd60dbb7d /tools/aapt2/java/JavaClassGenerator.cpp
parentb730e365969587f8abc9ce0641d4484d8f3f4ff1 (diff)
Restore WATCH_APPOPS permission for systemui
This permission is necessary for Q as it allows systemui to tag notifications of apps that are using certain AppOps. This is a P feature that has regressed when the permission was made privileged. This is used by AppOpsController in order to obtain updates on any apps (onOpActiveChanged, onOpNoted). There is no other way to obtain the updates from apps that are not systemui, as specified in AppOpsManager. Talked to moltmann@ to verify that this is the correct API to use for this feature. I'll remove this permission once SystemUI does not need it anymore. In particular, if AppOpsController does not require it for being notified of AppOps changes. Fixes: 134747188 Test: build Test: dumpsys SystemUI. Check that AppOpsController is getting updates. Change-Id: I08cca4361a7fbfa8b2eb419f1459b0b8bce93a5f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions