diff options
author | Bernardo Rufino <brufino@google.com> | 2021-01-14 10:10:45 +0000 |
---|---|---|
committer | Bernardo Rufino <brufino@google.com> | 2021-01-20 09:20:28 +0000 |
commit | 5e390e7998f4aba46c13b1566cdfb8152ee40f0b (patch) | |
tree | 8f19e4613a39ac9a357633baee560572698ee1d3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d09c22c4e82574b224e236cebfc2bd1e1545c1d6 (diff) |
[Attempt #2] Add privileged to BROADCAST_CLOSE_SYSTEM_DIALOGS
Original CL got reverted because target aosp_arm64-userdebug was failing
to boot. Apparently, the right place to put the permission for launcher3
is in frameworks/base/data/etc/com.android.launcher3.xml, not
frameworks/base/data/etc/privapp-permissions-platform.xml (despite it
having an entry on the latter) because launcher3 lives in system_ext.
-- Original CL description
CellBroadcastReceiver, a mainline module signed with the networkstack,
needs it before showing emergency alerts to the user.
This is inline and ok with the rest of of the restrictions given that
STATUS_BAR that allows calls to StatusBarManager.collapsePanels() also
has "privileged" protection level.
Also adding permission to privapp-permissions-platform for Launcher3
because of b/177506944, despite it getting it via "recents" protection
level.
Bug: 177346942
Bug: 159105552
Test: atest PermissionPolicyTest
Test: Run DeviceBootTest for aosp_arm64-userdebug in forrest.
Change-Id: Ie3298c839003aeaca3cc84782e8846374beca5b8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions