Skip to content

Commit 9c75e1a

Browse files
jonalmeidamergify[bot]
authored andcommitted
Do not export internal activities
1 parent fbc3c1a commit 9c75e1a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

app/src/main/AndroidManifest.xml

+7-6
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,7 @@
4949
android:supportsPictureInPicture="true"
5050
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|locale|layoutDirection|smallestScreenSize|screenLayout"
5151
android:windowSoftInputMode="adjustResize"
52-
android:exported="true">
53-
<intent-filter>
54-
<action android:name="android.intent.action.MAIN" />
55-
<category android:name="android.intent.category.LAUNCHER" />
56-
<category android:name="android.intent.category.DEFAULT" />
57-
</intent-filter>
52+
android:exported="false">
5853
</activity>
5954

6055
<activity android:name=".BrowserTestActivity"
@@ -116,6 +111,12 @@
116111
android:exported="true"
117112
android:excludeFromRecents="true" >
118113

114+
<intent-filter>
115+
<action android:name="android.intent.action.MAIN" />
116+
<category android:name="android.intent.category.LAUNCHER" />
117+
<category android:name="android.intent.category.DEFAULT" />
118+
</intent-filter>
119+
119120
<intent-filter>
120121
<action android:name="android.intent.action.VIEW" />
121122
<category android:name="android.intent.category.DEFAULT" />

0 commit comments

Comments
 (0)