diff options
author | Fabian Kozynski <kozynski@google.com> | 2020-02-13 13:02:33 -0500 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2020-03-06 12:55:35 -0500 |
commit | 04e7bdef048c1fe330825a0977ce0cbe7897b367 (patch) | |
tree | 1e748e1200fdcba080127a5ae338ae61aa8b48cb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 780782b750606f0280e4d39a1afc10ce1ee59cd7 (diff) |
Add dialog for recommended controls
The dialog can only be requested if the package of the controls provider is
currently in the foreground.
This is accomplished by querying Activity Manager about the
UidImportance of that package. Added
android.permission.PACKAGE_USAGE_STATS to SystemUI for this.
Test: atest
Test: manual
Fixes: 149410221
Change-Id: Ifdf479d8dbc70502da95d362e3bfd60ad3c561fb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions