From 0179047fefe742a569a05e5675f17e803ae73a26 Mon Sep 17 00:00:00 2001 From: Nikolas Havrikov Date: Mon, 3 Aug 2020 12:29:27 +0200 Subject: Add GET_INTENT_SENDER_INTENT permission to Shell This is needed for a CTS test for picture-in-picture on TV. As per go/privapp-permission: 1. This is the exact permission that guards specifically the `PendingIntent::getIntent` method which is used in the test. 2. Two alternatives were considered: a) Create another permisison and `@hide` it. However, this offers no security benefit at the cost of maintenance overhead. b) Do not create the test in the first place. Bug: 153435517 Test: atest CtsSystemUiTestCases:PipNotificationTests Change-Id: I04a5c82334a676351828fb82f2ac5886c888a0bc --- packages/Shell/AndroidManifest.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index cf4f75cc45f7..804e86f8d31f 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -204,6 +204,9 @@ + + + -- cgit v1.2.3-59-g8ed1b