Skip to content

Commit

Permalink
added android:exported=true to manifest templates
Browse files Browse the repository at this point in the history
  • Loading branch information
codeanticode committed Jan 15, 2023
1 parent 5d9c733 commit 6967381
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 1 addition & 2 deletions mode/templates/ARManifest.xml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
android:theme="@style/ArActivityTheme"
android:usesCleartextTraffic="false"
tools:ignore="GoogleAppIndexingWarning">
<activity
android:name=".MainActivity"
<activity android:name=".MainActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:theme="@style/Theme.AppCompat.NoActionBar"
Expand Down
3 changes: 2 additions & 1 deletion mode/templates/AppManifest.xml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<application android:label=""
android:icon="@mipmap/ic_launcher">
<activity android:name=".MainActivity"
android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen">
android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
3 changes: 2 additions & 1 deletion mode/templates/VRManifest.xml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<activity android:name=".MainActivity"
android:screenOrientation="landscape"
android:configChanges="orientation|keyboardHidden|screenSize"
android:resizeableActivity="false">
android:resizeableActivity="false"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
5 changes: 3 additions & 2 deletions mode/templates/WallpaperManifest.xml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
android:icon="@mipmap/ic_launcher">
<service android:name=".MainService"
android:label=""
android:permission="android.permission.BIND_WALLPAPER">
android:permission="android.permission.BIND_WALLPAPER"
android:exported="true">
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
</intent-filter>
<meta-data android:name="android.service.wallpaper"
android:resource="@xml/wallpaper" />
</service>
</service>
<activity android:name="processing.android.PermissionRequestor" ></activity>
</application>
</manifest>
3 changes: 2 additions & 1 deletion mode/templates/WatchFaceManifest.xml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
<meta-data android:name="com.google.android.wearable.standalone" android:value="true" />
<service android:name=".MainService"
android:label=""
android:permission="android.permission.BIND_WALLPAPER">
android:permission="android.permission.BIND_WALLPAPER"
android:exported="true">
<meta-data android:name="android.service.wallpaper"
android:resource="@xml/watch_face" />
<meta-data android:name="com.google.android.wearable.watchface.preview"
Expand Down

0 comments on commit 6967381

Please sign in to comment.