From e8214d6696981d36fbdc99f694592bdf79256129 Mon Sep 17 00:00:00 2001 From: Sergii Piatakov Date: Mon, 2 Apr 2018 16:48:56 +0300 Subject: [PATCH] Grant Shell ability to clear instant app It already has grant to clear data of application, and instant application is a subset of that. This permission is needed for correct performing of the test: `android.appsecurity.cts.InstantCookieHostTest# testCookieUpdateAndRetrieval`. Bug: 77849650 Test: run several times in a row (at least two), note that first time on the fresh DUT the result is always successful: cts-tradefed run commandAndExit cts-dev \ -m CtsAppSecurityHostTestCases \ -t android.appsecurity.cts.InstantCookieHostTest#testCookieUpdateAndRetrieval Change-Id: I2d6080259e22ebfa40481213238f569e0988d271 Signed-off-by: Sergii Piatakov --- data/etc/privapp-permissions-platform.xml | 1 + packages/Shell/AndroidManifest.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 82b6a22d27408..9b6f8e6e4f8cd 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -293,6 +293,7 @@ applications that come with the platform + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 8a5cb4a6d643a..bc14a814f8f76 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -75,6 +75,7 @@ +