Skip to content

Commit 25c99cc

Browse files
committed
disables features in AndroidManifest - hopefully Amazon will match the TV Manifest better
1 parent 336b01f commit 25c99cc

File tree

1 file changed

+43
-3
lines changed

1 file changed

+43
-3
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,46 @@
1212
android:required="false"
1313
/>
1414

15+
<uses-feature
16+
android:name="android.hardware.faketouch"
17+
android:required="false"
18+
/>
19+
<uses-feature
20+
android:name="android.hardware.telephony"
21+
android:required="false"
22+
/>
23+
<uses-feature
24+
android:name="android.hardware.camera"
25+
android:required="false"
26+
/>
27+
<uses-feature
28+
android:name="android.hardware.camera.flash"
29+
android:required="false"
30+
/>
31+
<uses-feature
32+
android:name="android.hardware.camera.autofocus"
33+
android:required="false"
34+
/>
35+
<uses-feature
36+
android:name="android.hardware.nfc"
37+
android:required="false"
38+
/>
39+
<uses-feature
40+
android:name="android.hardware.location"
41+
android:required="false"
42+
/>
43+
<uses-feature
44+
android:name="android.hardware.location.gps"
45+
android:required="false"
46+
/>
47+
<uses-feature
48+
android:name="android.hardware.microphone"
49+
android:required="false"
50+
/>
51+
<uses-feature
52+
android:name="android.hardware.sensor"
53+
android:required="false"
54+
/>
1555
<uses-feature
1656
android:name="android.software.leanback"
1757
android:required="true"
@@ -35,7 +75,6 @@
3575
>
3676
<intent-filter>
3777
<action android:name="android.intent.action.MAIN"/>
38-
3978
<category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
4079
</intent-filter>
4180
</activity>
@@ -54,11 +93,12 @@
5493

5594
<activity
5695
android:name=".ui.playback.ExoPlayerActivity"
57-
android:exported="true"
5896
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|layoutDirection"
97+
android:exported="true"
5998
android:launchMode="singleTask"
6099
android:resizeableActivity="true"
61-
android:supportsPictureInPicture="true"/>
100+
android:supportsPictureInPicture="true"
101+
/>
62102

63103
<meta-data
64104
android:name="io.fabric.ApiKey"

0 commit comments

Comments
 (0)