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>
39 lines
794 B
Groovy
39 lines
794 B
Groovy
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"
|
|
}
|