summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Joseph Cheng <joseph.cheng@imgtec.com> 2023-12-08 21:14:22 +0800
committer Joseph Cheng <joseph.cheng@imgtec.com> 2023-12-08 21:14:22 +0800
commitc3ed44a8422306fb803b88a7c790336bffc86d64 (patch)
tree2f0040e4d2affbedaf47a6e9744221b5c8bd3ca9
parent704ade2ba7ec2f546b5b4757a441bd534d658005 (diff)
opengl: tests: Add explict android:exported flag to manifests on GLDual.apk
After Android S+, it's required to add android:exported flag on manifests if an intent filter is defined. We have added this flag on serveral apps by previous change[1]. This is a follow-up change for GLDual.apk. [1]: https://android.googlesource.com/platform/frameworks/native/+/8e8ae4222f9fb0499af755a4255cceb89a79bd78 Test: The GLDual.apk can be installed successfully on Android 14 devices. Bug: 315418422 Change-Id: Iead9ab7b5e6ebe954b6883289aef70cd6d192ad1
-rw-r--r--opengl/tests/gldual/AndroidManifest.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/opengl/tests/gldual/AndroidManifest.xml b/opengl/tests/gldual/AndroidManifest.xml
index a36f4f715e..d6335b0698 100644
--- a/opengl/tests/gldual/AndroidManifest.xml
+++ b/opengl/tests/gldual/AndroidManifest.xml
@@ -20,8 +20,9 @@
android:label="@string/gldual_activity">
<activity android:name="GLDualActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
- android:launchMode="singleTask"
- android:configChanges="orientation|keyboardHidden">
+ android:launchMode="singleTask"
+ android:configChanges="orientation|keyboardHidden"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />