summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorBernardo Rufino <brufino@google.com>2021-07-06 18:17:32 +0100
committerBernardo Rufino <brufino@google.com>2021-07-07 11:12:50 +0100
commit224dd7ca0d486ffe9279c8a069c224ce860f94a6 (patch)
tree89b59f0eb8ec4733913d5cea1c3c2627ac6c63e0 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent5fa180d64aa5f804f2449ff0ddfde18c4004b162 (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 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions