Merge branch 'feature/atv' into 'master'

Android TV support

See merge request freezer/freezer!2
This commit is contained in:
exttex 2020-11-30 23:29:12 +03:00
commit ef9ae6e2ad
9 changed files with 290 additions and 153 deletions

View file

@ -14,6 +14,7 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-feature android:name="android.software.LEANBACK" android:required="true"/>
<application
android:name="io.flutter.app.FlutterApplication"
@ -35,6 +36,9 @@
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:banner="@mipmap/ic_launcher"
android:icon="@mipmap/ic_launcher"
android:logo="@mipmap/ic_launcher"
android:windowSoftInputMode="adjustResize">
<!--
@ -90,6 +94,11 @@
android:scheme="https"
android:host="deezer.page.link" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
<!--
Don't delete the meta-data below.