Make com.android.shell request MANAGE_EXTERNAL_STORAGE
This helps in testing using adoptShellPermissionIdentity. Also, as a nice side-effect, it solves the problem where Settings app crashes if no packages are requesting the permission. Bug: 146778323 Fixes: 147434040 Test: device boots Change-Id: I0982f854ad8260cab247882d04aea9bdcdf5d586
This commit is contained in:
@@ -183,6 +183,9 @@
|
||||
|
||||
<uses-permission android:name="android.permission.MANAGE_APPOPS" />
|
||||
|
||||
<!-- Permission required for storage tests - FuseDaemonHostTest -->
|
||||
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
|
||||
|
||||
<!-- Permission needed to run network tests in CTS -->
|
||||
<uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" />
|
||||
<!-- Permission needed to test tcp keepalive offload. -->
|
||||
|
||||
Reference in New Issue
Block a user