Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

Photo Prints: lint, no fixed orientation, RTL declared, one background

Shivam Singh3d9c9c57b21b
diff --git a/addons/photo-screensaver/app/src/main/AndroidManifest.xml b/addons/photo-screensaver/app/src/main/AndroidManifest.xml
index 4110f00a3..00d890a6b 100644
--- a/addons/photo-screensaver/app/src/main/AndroidManifest.xml
+++ b/addons/photo-screensaver/app/src/main/AndroidManifest.xml
@@ -10,13 +10,13 @@
android:icon="@drawable/icon"
android:banner="@drawable/banner"
android:allowBackup="false"
+ android:supportsRtl="true"
android:theme="@style/Prints">
<!-- The tile, and the card on cleanyourtv's Home (docs/modules.md): the slideshow, at once. -->
<activity
android:name=".SlideshowActivity"
- android:exported="true"
- android:screenOrientation="landscape">
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
diff --git a/addons/photo-screensaver/app/src/main/res/layout/prints.xml b/addons/photo-screensaver/app/src/main/res/layout/prints.xml
index adf572ec5..60c0c88ed 100644
--- a/addons/photo-screensaver/app/src/main/res/layout/prints.xml
+++ b/addons/photo-screensaver/app/src/main/res/layout/prints.xml
@@ -3,8 +3,7 @@
the time and the date. With no photos, where to put them. -->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#FF000000">
+ android:layout_height="match_parent">
<io.github.shivamsingh262.photoprints.SkyView
android:id="@+id/sky"