diff options
author | Bernardo Rufino <brufino@google.com> | 2021-07-06 18:17:32 +0100 |
---|---|---|
committer | Bernardo Rufino <brufino@google.com> | 2021-07-07 11:12:50 +0100 |
commit | 224dd7ca0d486ffe9279c8a069c224ce860f94a6 (patch) | |
tree | 89b59f0eb8ec4733913d5cea1c3c2627ac6c63e0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 5fa180d64aa5f804f2449ff0ddfde18c4004b162 (diff) |
Require proper permission for togglePanel()/handleSystemKey()
In S, we're preventing apps from closing notification shade unless they
fall into certain exemptions. The methods togglePanel() and
handleSystemKey() weren't properly protected, so fixing that.
These methods were @hide, only available in the AIDL and their only
usages were inside the system
Introducing @TestApis to be able to verify this in CTS.
Bug: 192946152
Test: atest -d CtsAppTestCases:android.app.cts.StatusBarManagerTest
Test: atest -d CtsLegacyNotification30TestCases:android.app.notification.legacy30.cts.StatusBarManagerApi30Test
Test: 1. adb shell input keyevent KEYCODE_SYSTEM_NAVIGATION_DOWN
2. Verify status bar expands
3. adb shell input keyevent KEYCODE_SYSTEM_NAVIGATION_UP
4. Verify status bar collapses
Change-Id: I925e3570c8d275a1159e4b6912e4628c9528cb61
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions