Skip to content

Commit fccae7a

Browse files
committed
Remove duplicate LAUNCHER declaration
There's no need to declare in samples' manifest. Otherwise, it will create more icons in launcher.
1 parent cd83745 commit fccae7a

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

samples/connectivity/callnotification/src/main/AndroidManifest.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,7 @@
2323
<activity
2424
android:name=".CallNotificationSample"
2525
android:launchMode="singleTop"
26-
android:exported="true">
27-
<intent-filter>
28-
<action android:name="android.intent.action.MAIN" />
29-
30-
<category android:name="android.intent.category.LAUNCHER" />
31-
</intent-filter>
32-
</activity>
26+
android:exported="true" />
3327

3428
<receiver android:name=".CallNotificationSample$NotificationReceiver"
3529
android:exported="false"/>

samples/user-interface/share/src/main/AndroidManifest.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
android:exported="true"
3636
android:label="@string/receive_share">
3737

38-
<intent-filter>
39-
<action android:name="android.intent.action.MAIN" />
40-
<category android:name="android.intent.category.LAUNCHER" />
41-
</intent-filter>
42-
4338
<!--
4439
Handle ACTION_SEND intents to receive data shared by other apps.
4540
-->

samples/user-interface/windowmanager/src/main/AndroidManifest.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@
2929
<activity
3030
android:name=".demos.WindowDemosActivity"
3131
android:exported="true"
32-
android:label="@string/windowManagerDemos">
33-
<intent-filter>
34-
<action android:name="android.intent.action.MAIN" />
35-
36-
<category android:name="android.intent.category.LAUNCHER" />
37-
</intent-filter>
38-
</activity>
32+
android:label="@string/windowManagerDemos" />
3933
<activity
4034
android:name=".DualScreenActivity"
4135
android:exported="false"

0 commit comments

Comments
 (0)