Skip to content

Commit 6967381

Browse files
committed
added android:exported=true to manifest templates
1 parent 5d9c733 commit 6967381

5 files changed

+10
-7
lines changed

mode/templates/ARManifest.xml.tmpl

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
android:theme="@style/ArActivityTheme"
1616
android:usesCleartextTraffic="false"
1717
tools:ignore="GoogleAppIndexingWarning">
18-
<activity
19-
android:name=".MainActivity"
18+
<activity android:name=".MainActivity"
2019
android:configChanges="orientation|screenSize"
2120
android:exported="true"
2221
android:theme="@style/Theme.AppCompat.NoActionBar"

mode/templates/AppManifest.xml.tmpl

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<application android:label=""
77
android:icon="@mipmap/ic_launcher">
88
<activity android:name=".MainActivity"
9-
android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen">
9+
android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen"
10+
android:exported="true">
1011
<intent-filter>
1112
<action android:name="android.intent.action.MAIN" />
1213
<category android:name="android.intent.category.LAUNCHER" />

mode/templates/VRManifest.xml.tmpl

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
<activity android:name=".MainActivity"
1717
android:screenOrientation="landscape"
1818
android:configChanges="orientation|keyboardHidden|screenSize"
19-
android:resizeableActivity="false">
19+
android:resizeableActivity="false"
20+
android:exported="true">
2021
<intent-filter>
2122
<action android:name="android.intent.action.MAIN" />
2223
<category android:name="android.intent.category.LAUNCHER" />

mode/templates/WallpaperManifest.xml.tmpl

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
android:icon="@mipmap/ic_launcher">
99
<service android:name=".MainService"
1010
android:label=""
11-
android:permission="android.permission.BIND_WALLPAPER">
11+
android:permission="android.permission.BIND_WALLPAPER"
12+
android:exported="true">
1213
<intent-filter>
1314
<action android:name="android.service.wallpaper.WallpaperService" />
1415
</intent-filter>
1516
<meta-data android:name="android.service.wallpaper"
1617
android:resource="@xml/wallpaper" />
17-
</service>
18+
</service>
1819
<activity android:name="processing.android.PermissionRequestor" ></activity>
1920
</application>
2021
</manifest>

mode/templates/WatchFaceManifest.xml.tmpl

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
<meta-data android:name="com.google.android.wearable.standalone" android:value="true" />
1313
<service android:name=".MainService"
1414
android:label=""
15-
android:permission="android.permission.BIND_WALLPAPER">
15+
android:permission="android.permission.BIND_WALLPAPER"
16+
android:exported="true">
1617
<meta-data android:name="android.service.wallpaper"
1718
android:resource="@xml/watch_face" />
1819
<meta-data android:name="com.google.android.wearable.watchface.preview"

0 commit comments

Comments
 (0)