commit | 1cb565a04ccdbe94ec9f77513639405d21fb8e7a | [log] [tgz] |
---|---|---|
author | Valentin Iftime <valiiftime@google.com> | Thu May 28 16:33:02 2020 +0200 |
committer | Valentin Iftime <valiiftime@google.com> | Thu May 28 16:33:02 2020 +0200 |
tree | 2d6e2af0899c1883c74b97bc8f5d42d9ef3baa85 | |
parent | 4daa5ad747f322420ccd8772e811c9b17b771ea1 [diff] |
Add missing INTERACT_ACROSS_USERS permission INTERACT_ACROSS_USERS needs to be requested in the manifest. Test: atest 'android.content.cts.ContextCrossProfileHostTest#testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesAppOp_bindsService' Bug: 155355517 Change-Id: Ieadec297377123e7c9ccc8da5afdb1bc18065962
diff --git a/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/AndroidManifest.xml b/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/AndroidManifest.xml index 54deebf..a129819 100644 --- a/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/AndroidManifest.xml +++ b/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/AndroidManifest.xml
@@ -16,6 +16,9 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.cts.context"> + + <uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES"/> + <application> <uses-library android:name="android.test.runner" /> <service