From 17a2cbc77152578abb29556b2e792b6df13fc94f Mon Sep 17 00:00:00 2001 From: Brad Pitcher Date: Thu, 4 Jun 2026 22:32:05 -0700 Subject: [PATCH 1/4] Merge pull request #2 from brad/feature-android-screen-saver-support-13193880336557798301 Enable Android "Screen saver" (DreamService) support --- android/app/build.gradle.kts | 4 ++-- android/app/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../openphotoframe/PhotoFrameDreamService.kt | 19 +++++++++++++++++++ android/app/src/main/res/values/strings.xml | 4 ++++ android/app/src/main/res/xml/dream_info.xml | 2 ++ 5 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 android/app/src/main/kotlin/io/github/micw/openphotoframe/PhotoFrameDreamService.kt create mode 100644 android/app/src/main/res/values/strings.xml create mode 100644 android/app/src/main/res/xml/dream_info.xml diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index d93a49d..b790e94 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -18,7 +18,7 @@ if (keystorePropertiesFile.exists()) { android { namespace = "io.github.micw.openphotoframe" - compileSdk = 37 + compileSdk = 36 ndkVersion = flutter.ndkVersion // Disable dependency metadata in APK signature block (required for F-Droid reproducible builds) @@ -41,7 +41,7 @@ android { // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = 24 - targetSdk = 37 + targetSdk = 36 versionCode = flutter.versionCode versionName = flutter.versionName } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 703aebf..2acb728 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -105,6 +105,21 @@ + + + + + + + +