commit | 04e7bdef048c1fe330825a0977ce0cbe7897b367 | [log] [tgz] |
---|---|---|
author | Fabian Kozynski <kozynski@google.com> | Thu Feb 13 13:02:33 2020 -0500 |
committer | Fabian Kozynski <kozynski@google.com> | Fri Mar 06 12:55:35 2020 -0500 |
tree | 1e748e1200fdcba080127a5ae338ae61aa8b48cb | |
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