Skip to content

Commit

Permalink
Add explicit exported="true" attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhanniballake committed Mar 13, 2021
1 parent 3bc0f45 commit f7cd6b4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions example-unsplash/src/main/AndroidManifest.xml
Expand Up @@ -30,6 +30,7 @@
<activity-alias
android:name=".UnsplashLauncherActivity"
android:enabled="@bool/enable_launcher"
android:exported="true"
android:targetActivity=".UnsplashRedirectActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions example-watchface/src/main/AndroidManifest.xml
Expand Up @@ -31,6 +31,7 @@
<service
android:name=".MuzeiExampleWatchface"
android:allowEmbedded="true"
android:exported="true"
android:taskAffinity=""
android:permission="android.permission.BIND_WALLPAPER">
<meta-data
Expand Down
1 change: 1 addition & 0 deletions legacy-standalone/src/main/AndroidManifest.xml
Expand Up @@ -52,6 +52,7 @@

<service
android:name="com.google.android.apps.muzei.legacy.LegacySourceService"
android:exported="true"
android:permission="com.google.android.apps.muzei.api.ACCESS_PROVIDER">
<intent-filter>
<action android:name="com.google.android.apps.muzei.legacy"/>
Expand Down
12 changes: 11 additions & 1 deletion main/src/main/AndroidManifest.xml
Expand Up @@ -58,6 +58,7 @@

<activity
android:name="com.google.android.apps.muzei.MuzeiActivity"
android:exported="true"
android:theme="@style/Theme.MuzeiActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
Expand All @@ -72,6 +73,7 @@
<service
android:name="com.google.android.apps.muzei.MuzeiWallpaperService"
android:directBootAware="true"
android:exported="true"
android:permission="android.permission.BIND_WALLPAPER"
tools:targetApi="n">
<intent-filter>
Expand All @@ -90,6 +92,7 @@

<activity-alias
android:name="com.google.android.apps.muzei.settings.NotificationSettings"
android:exported="true"
android:targetActivity="com.google.android.apps.muzei.MuzeiActivity"
android:enabled="@bool/enable_notification_settings">
<intent-filter>
Expand All @@ -106,6 +109,7 @@

<service
android:name="com.google.android.apps.muzei.quicksettings.NextArtworkTileService"
android:exported="true"
android:icon="@drawable/ic_notif_next_artwork"
android:label="@string/action_next_artwork"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
Expand All @@ -125,7 +129,9 @@

<!-- AppWidget -->

<receiver android:name="com.google.android.apps.muzei.widget.MuzeiAppWidgetProvider">
<receiver
android:name="com.google.android.apps.muzei.widget.MuzeiAppWidgetProvider"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>
Expand All @@ -138,6 +144,7 @@

<activity
android:name="com.google.android.apps.muzei.PhotoSetAsTargetActivity"
android:exported="true"
android:theme="@style/Theme.Muzei.Transparent">
<intent-filter android:label="@string/set_as_wallpaper_using_muzei">
<action android:name="android.intent.action.ATTACH_DATA"/>
Expand All @@ -160,13 +167,15 @@
<!-- Activity and receiver which allows Tasker to trigger the 'Next Artwork' action -->
<activity
android:name="com.google.android.apps.muzei.tasker.TaskerSettingActivity"
android:exported="true"
android:theme="@style/Theme.Muzei.Dialog">
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.EDIT_SETTING"/>
</intent-filter>
</activity>
<receiver
android:name="com.google.android.apps.muzei.tasker.TaskerActionReceiver"
android:exported="true"
tools:ignore="ExportedReceiver">
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING"/>
Expand All @@ -179,6 +188,7 @@

<service
android:name="com.google.android.apps.muzei.wearable.NotificationOpenListenerService"
android:exported="true"
tools:ignore="ExportedService">
<intent-filter>
<action android:name="com.google.android.gms.wearable.MESSAGE_RECEIVED"/>
Expand Down
7 changes: 7 additions & 0 deletions wearable/src/main/AndroidManifest.xml
Expand Up @@ -43,6 +43,7 @@
<activity
android:name="com.google.android.apps.muzei.MuzeiActivity"
android:taskAffinity=":main"
android:exported="true"
android:theme="@style/MuzeiTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
Expand All @@ -64,6 +65,7 @@

<service
android:name="com.google.android.apps.muzei.datalayer.ArtworkChangedListenerService"
android:exported="true"
tools:ignore="ExportedService">
<intent-filter>
<action android:name="com.google.android.gms.wearable.DATA_CHANGED"/>
Expand All @@ -77,6 +79,7 @@
<provider
android:name="com.google.android.apps.muzei.datalayer.DataLayerArtProvider"
android:authorities="${datalayerAuthority}"
android:exported="true"
android:icon="@drawable/datalayer_ic_launcher"
android:label="@string/datalayer_source_title"
android:description="@string/datalayer_source_description"
Expand All @@ -99,6 +102,7 @@

<service
android:name="com.google.android.apps.muzei.complications.ArtworkComplicationProviderService"
android:exported="true"
android:icon="@drawable/ic_complication"
android:label="@string/complication_artwork_label"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
Expand All @@ -116,6 +120,7 @@

<service
android:name="com.google.android.apps.muzei.MuzeiWatchFace"
android:exported="true"
android:permission="android.permission.BIND_WALLPAPER">
<meta-data
android:name="android.service.wallpaper"
Expand All @@ -141,6 +146,7 @@

<activity
android:name="com.google.android.apps.muzei.ConfigActivity"
android:exported="true"
android:theme="@style/MuzeiTheme">
<intent-filter>
<action android:name="com.google.android.apps.muzei.CONFIG_WATCH_FACE"/>
Expand All @@ -155,6 +161,7 @@

<service
android:name="com.google.android.apps.muzei.datalayer.CapabilityListenerService"
android:exported="true"
tools:ignore="ExportedService">
<intent-filter>
<action android:name="com.google.android.gms.wearable.CAPABILITY_CHANGED" />
Expand Down

0 comments on commit f7cd6b4

Please sign in to comment.