Add Android Automotive OS (AAOS) support

- Add android:appCategory="video" for AAOS video app compliance
  - Add uses-feature for android.hardware.type.automotive

  This enables Plezy to run on AAOS vehicles (e.g., Polestar 2).
  The system automatically handles driving restrictions for video apps.
This commit is contained in:
Nic Chambers-Parkes
2026-01-08 22:45:11 +00:00
parent abe0919324
commit c71db8f9eb
+5 -1
View File
@@ -22,10 +22,14 @@
<!-- Touchscreen not required for TV --> <!-- Touchscreen not required for TV -->
<uses-feature android:name="android.hardware.touchscreen" android:required="false" /> <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<!-- Android Automotive OS support -->
<uses-feature android:name="android.hardware.type.automotive" android:required="false" />
<application <application
android:label="Plezy" android:label="Plezy"
android:name="${applicationName}" android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"> android:icon="@mipmap/ic_launcher"
android:appCategory="video">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:exported="true" android:exported="true"