Skip to content

Commit

Permalink
Fix multi-window support for Samsung devices running Android 6.1 or e…
Browse files Browse the repository at this point in the history
…arlier
  • Loading branch information
nutellarlz committed Sep 10, 2017
1 parent 8bc9c49 commit 61d4079
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/colorAccent" />

<!-- Samsung multi-window (pre-7.0) -->
<meta-data android:name="com.samsung.android.sdk.multiwindow.enable" android:value="true"/>
<meta-data android:name="android.intent.category.MULTIWINDOW_LAUNCHER" android:value="true"/>
<meta-data android:name="com.sec.android.intent.category.MULTIWINDOW_LAUNCHER" android:value="true"/>

<activity
android:name=".MainActivity"
android:alwaysRetainTaskState="true"
Expand Down

0 comments on commit 61d4079

Please sign in to comment.