GrayPause 1.4: grayscale color breaks for Android

Timers that switch grayscale off and restore it on their own: presets and
custom h/m/s timers, Quick Settings tile, launcher shortcuts, countdown
notification, reboot recovery, and optional always-in-color apps via an
accessibility service. WRITE_SECURE_SETTINGS is granted once via Shizuku
or adb.

Gradle project for F-Droid with fastlane metadata and a draft fdroiddata
recipe; build.sh keeps the Gradle-free on-phone Termux build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Loïc Wisniewski 2026-10-04 20:07:49 +02:00
commit 5d7d84eaca
38 changed files with 2419 additions and 1 deletions

39
app/build.gradle Normal file
View file

@ -0,0 +1,39 @@
plugins {
id "com.android.application"
}
android {
namespace "com.lpw.graypause"
compileSdk 36
defaultConfig {
applicationId "com.lpw.graypause"
minSdk 33
targetSdk 36
versionCode 5
versionName "1.4"
}
buildTypes {
release {
minifyEnabled false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
// F-Droid: no Google-encrypted dependency metadata blob in the APK.
dependenciesInfo {
includeInApk false
includeInBundle false
}
}
dependencies {
def shizuku = "13.1.5"
implementation "dev.rikka.shizuku:api:$shizuku"
implementation "dev.rikka.shizuku:provider:$shizuku"
}