From fc7fd1e06d805fd1bb38700027d7beb2d6a6761d Mon Sep 17 00:00:00 2001 From: Lais Andrade Date: Tue, 16 Feb 2021 16:11:41 +0000 Subject: Add missing permission tests for VibratorManagerService Add a regression test to cover the SecurityException that caused the linked bug. The test fails without the fix cl merged. Also add all missing permission tests for the VibratorManagerService API, and adds this test to presubmit. Bug: 180324695 Test: VibratorManagerServicePermissionTest Change-Id: I71238fcb4d5204aa7861ed4855579750f391102a --- TEST_MAPPING | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'TEST_MAPPING') diff --git a/TEST_MAPPING b/TEST_MAPPING index 6c265bc1a338..d08c52782fb3 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -38,6 +38,20 @@ } ] }, + { + "name": "FrameworkPermissionTests", + "options": [ + { + "include-annotation": "android.platform.test.annotations.Presubmit" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "org.junit.Ignore" + } + ] + }, { "name": "FrameworksServicesTests", "options": [ -- cgit v1.2.3-59-g8ed1b