0a3ec27774
- shield/photos-source: launcher tile + DreamService screensaver showing /photo (locked-down WebView, default URL baked in, files/base_url override) - build-photos-apk.sh: containerized build on hf-pdocker-02 (JDK17, SDK 35); signing key kept off-repo on .100 + NAS - Hobbs-Family-Photos-1.0.apk installed on .186 (canary) and set as its screensaver - Prometheus probes for /api/health and /api/health/photos; Farm Manager links + group - CLAUDE.md: .100 left the stale Swarm and its NFS mount waits for network (11-03 outage) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E9NnVEico3WvFxLyjy1iW3
54 lines
2.1 KiB
XML
54 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
<uses-feature
|
|
android:name="android.software.leanback"
|
|
android:required="true" />
|
|
<uses-feature
|
|
android:name="android.hardware.touchscreen"
|
|
android:required="false" />
|
|
|
|
<application
|
|
android:allowBackup="false"
|
|
android:banner="@drawable/tv_banner"
|
|
android:fullBackupContent="false"
|
|
android:hardwareAccelerated="true"
|
|
android:icon="@drawable/ic_photos"
|
|
android:label="@string/app_name"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:theme="@style/Theme.HobbsPhotos"
|
|
android:usesCleartextTraffic="true">
|
|
|
|
<!-- Launcher tile: opens the photo frame full screen. -->
|
|
<activity
|
|
android:name=".PhotoActivity"
|
|
android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize|smallestScreenSize|uiMode"
|
|
android:exported="true"
|
|
android:launchMode="singleTask"
|
|
android:screenOrientation="landscape">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- Screen saver: Settings > Device Preferences > Screen saver > Hobbs Family Photos. -->
|
|
<service
|
|
android:name=".PhotoDreamService"
|
|
android:exported="true"
|
|
android:label="@string/app_name"
|
|
android:permission="android.permission.BIND_DREAM_SERVICE">
|
|
<intent-filter>
|
|
<action android:name="android.service.dreams.DreamService" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.service.dream"
|
|
android:resource="@xml/dream_info" />
|
|
</service>
|
|
</application>
|
|
|
|
</manifest>
|