Skip to content

Commit

Permalink
[Fix] Disable TV launcher intent due to Play policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghai committed Aug 28, 2023
1 parent dc5f551 commit 136efa2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.hardware.wifi" android:required="false" />
<uses-feature android:name="android.software.leanback" android:required="false" />
<!-- TODO: Google Play requires TV apps to be published with AAB. -->
<!--<uses-feature android:name="android.software.leanback" android:required="false" />-->

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Expand Down Expand Up @@ -60,7 +61,8 @@
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
<!-- TODO: Google Play requires TV apps to be published with AAB. -->
<!--<category android:name="android.intent.category.LEANBACK_LAUNCHER" />-->
</intent-filter>
<intent-filter tools:ignore="AppLinkUrlError">
<action android:name="android.intent.action.VIEW" />
Expand Down

0 comments on commit 136efa2

Please sign in to comment.