Add android:exported values to all SkQP activities. This fixes an issue on newer versions of Android where activities with intent filters need to specify whether or not they are exported in order to successfully complete installation on a test device. Bug: b/163792247 Test: successful install on device with AOSP build Change-Id: Iddeb27af55245e926dbf43c03ab48b257461188d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309980 Reviewed-by: Leon Scroggins <scroggo@google.com> Reviewed-by: Tyler Denniston <tdenniston@google.com> Commit-Queue: Derek Sollenberger <djsollen@google.com> (cherry picked from commit 866d2894ebd155ef0af57bb88aab00fa375390e0) Reviewed-on: https://skia-review.googlesource.com/c/skia/+/311100 Reviewed-by: Derek Sollenberger <djsollen@google.com> Auto-Submit: Derek Sollenberger <djsollen@google.com>
diff --git a/platform_tools/android/apps/skqp/src/main/AndroidManifest.xml b/platform_tools/android/apps/skqp/src/main/AndroidManifest.xml index f978635..d046036 100644 --- a/platform_tools/android/apps/skqp/src/main/AndroidManifest.xml +++ b/platform_tools/android/apps/skqp/src/main/AndroidManifest.xml
@@ -11,7 +11,9 @@ android:theme="@style/AppTheme" android:label="SkQP"> - <activity android:name=".MainActivity"> + <activity + android:name=".MainActivity" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> @@ -20,7 +22,8 @@ <activity android:name=".SkQPActivity" android:label="@string/title_activity_skqp" - android:theme="@style/AppTheme.NoActionBar"> + android:theme="@style/AppTheme.NoActionBar" + android:exported="true"> <intent-filter> <action android:name="com.google.intent.action.TEST_LOOP"/> <category android:name="android.intent.category.DEFAULT"/>