Ver Fonte

launcher add

Milan Jurkulak há 3 anos atrás
pai
commit
b2830e9d1c
1 ficheiros alterados com 11 adições e 1 exclusões
  1. 11 1
      app/src/main/AndroidManifest.xml

+ 11 - 1
app/src/main/AndroidManifest.xml

@@ -47,8 +47,8 @@
         android:banner="@mipmap/ic_launcher"
         android:icon="@mipmap/ic_launcher"
         android:label="@string/app_name"
-        android:supportsRtl="true"
         android:largeHeap="true"
+        android:supportsRtl="true"
         android:theme="@style/Theme.TvApp"
         android:usesCleartextTraffic="true"
         tools:ignore="UnusedAttribute">
@@ -60,10 +60,20 @@
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
 
+                <category android:name="android.intent.category.DEFAULT" />
                 <category android:name="android.intent.category.LAUNCHER" />
                 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
             </intent-filter>
 
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+
+                <category android:name="android.intent.category.HOME" />
+                <category android:name="android.intent.category.DEFAULT" />
+                <category android:name="android.intent.category.LAUNCHER" />
+                <category android:name="fireos.intent.category.MAIN_HOME" />
+            </intent-filter>
+
         </activity>
 
         <service