Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e8ae422 authored by Joseph Cheng's avatar Joseph Cheng Committed by Joseph Cheng
Browse files

opengl: tests: Add explict android:exported flag to manifests

After Android S+, it's required to add android:exported flag on manifests
if an intent filter is defined[1]. However, it's missing on the
manifests of these opengl tests which are targeting to current sdk
version leads to installation failures for these APKs. Fix it by adding
required android:exported flag.

[1]: https://android.googlesource.com/platform/frameworks/base/+/c4e90ac06ad3e0fd2af9e3864742e2d1199a8cdd

Test: These APKs are installed successfully on Android 12 devices.

Bug: 215940253
Change-Id: Ia95a46cc55103e7f075900acd237b41699f4cbd0
parent fd2a942a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
    <uses-feature android:name="android.hardware.camera.autofocus" />
    <uses-feature android:glEsVersion="0x00020000" />
    <application android:label="@string/gl2cameraeye_name">
        <activity android:name="GL2CameraEye">
        <activity android:name="GL2CameraEye" android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
+2 −1
Original line number Diff line number Diff line
@@ -22,7 +22,8 @@
        <activity android:name="GL2JavaActivity"
                android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
            	android:launchMode="singleTask"
            	android:configChanges="orientation|keyboardHidden">
		android:configChanges="orientation|keyboardHidden"
		android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
+2 −1
Original line number Diff line number Diff line
@@ -21,7 +21,8 @@
        <activity android:name="GL2JNIActivity"
                android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
            	android:launchMode="singleTask"
            	android:configChanges="orientation|keyboardHidden">
		android:configChanges="orientation|keyboardHidden"
		android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
+2 −1
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@
                android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
            	android:launchMode="singleTask"
            	android:screenOrientation="landscape"
            	android:configChanges="orientation|keyboardHidden">
		android:configChanges="orientation|keyboardHidden"
		android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
        package="com.android.lightingtest">

    <application>
        <activity android:name="ClearActivity" android:label="LightingTest">
        <activity android:name="ClearActivity" android:label="LightingTest" android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
Loading