aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2020-08-13 09:27:25 -0400
committerDerek Sollenberger <djsollen@google.com>2020-08-17 17:45:23 +0000
commitebb031403fccae1a8c783a6c17b6a395fcf3ba76 (patch)
tree5fa2d6bd0cc4e453f0e17faccdddf2cfa6c1caa3
parentfd6bf2121df3dbe15c6d677ea996180a6f5fc16c (diff)
downloadplatform_external_skqp-upstream-skqp/dev.tar.gz
platform_external_skqp-upstream-skqp/dev.tar.bz2
platform_external_skqp-upstream-skqp/dev.zip
Add android:exported values to all SkQP activities.upstream-skqp/dev
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>
-rw-r--r--platform_tools/android/apps/skqp/src/main/AndroidManifest.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/platform_tools/android/apps/skqp/src/main/AndroidManifest.xml b/platform_tools/android/apps/skqp/src/main/AndroidManifest.xml
index f97863547e..d046036b54 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"/>