Skip to content

Commit 0cc4a77

Browse files
committed
Make widget activity's not exportable
1 parent c05fa91 commit 0cc4a77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
android:name=".services.AssistantWidgetService"
352352
android:configChanges="orientation|screenSize|keyboard|keyboardHidden"
353353
android:excludeFromRecents="true"
354-
android:exported="true"
354+
android:exported="false"
355355
android:launchMode="singleTop"
356356
android:noHistory="true"
357357
android:theme="@style/AppTheme.Transparent">
@@ -391,7 +391,7 @@
391391
<!--widget configure activity-->
392392
<activity
393393
android:name=".widget.WidgetConfigureActivity"
394-
android:exported="true">
394+
android:exported="false">
395395
<intent-filter>
396396
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
397397
</intent-filter>

0 commit comments

Comments
 (0)