commit | ff6fcd7bcd8205e133acc97c1358bb140f942c58 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Sep 24 14:18:12 2020 -0700 |
committer | Kweku Adams <kwekua@google.com> | Tue Nov 10 11:02:27 2020 -0800 |
tree | 88da1624464d789c23d9dd55fef1b7a9ec17993c | |
parent | 4cfdb5cce5f583ca34534f8aa1840b02322048c2 [diff] |
Check app querying permissions. We no longer let apps query the existence of other apps (with some exceptions). Make sure we honor that by always returning false for the power-allowlist if the calling app doesn't have the required permissions. Bug: 166668654 Test: atest DeviceIdleTest Test: atest CtsSecurityTestCases:DeviceIdleControllerTest Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest Change-Id: I895f1d666a213e141d9fbf08600c611f04f3a7fd