From 8679a96511915100ee8c3033e9bd625e39bc9533 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Mon, 2 Mar 2020 13:04:17 -0800 Subject: [PATCH] Shell: Allow retrieval of wifi network credentials This permission is needed for some wifi CTS tests. Is the minimally scoped permission that needs to be added? - Yes, this only allows the retireval of the saved wifi network credentials on the device. What options did you explore that did not need this permission? - Possibly creating a UI to ask for manual entry of network credentials. But, that would not let us do automated CTS tests (will need to become CTS verifier tests then). Bug: 150236894 Test: atest android.net.wifi.cts.WifiNetworkSpecifierTest Change-Id: I6881003510191f667950be1ab27a5399fe3914b4 Merged-In: I6881003510191f667950be1ab27a5399fe3914b4 --- data/etc/privapp-permissions-platform.xml | 1 + packages/Shell/AndroidManifest.xml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 162dcc9092e5d..e00702384713c 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -310,6 +310,7 @@ applications that come with the platform + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 8b22bdf49e9e7..044ebda745db8 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -239,6 +239,9 @@ + + +