Recently Written · git

ink-dim

Ink Dim: tap to set the frontlight of a Viwoods AiPaper reader below the lowest system level. Tap again to go back.

git clone https://github.com/equwal/ink-dim

Log | Files | Refs


commit 3d03a55908cbe1037cdf7d4a0af4275eaac8f41e
equwal <13551856+equwal@users.noreply.github.com>
2026-10-04 22:46:49 -0700

Name Shizuku in the package-visibility queries, and set the version to 0.1.4

 CHANGELOG.md                                     |  6 ++++++
 app/build.gradle.kts                             |  4 ++--
 app/src/main/AndroidManifest.xml                 |  8 ++++++++
 fastlane/metadata/android/en-US/changelogs/5.txt |  1 +
 fdroid/dev.equwal.inkdim.yml                     | 10 +++++-----
 5 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bf6b3e3..614af9b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
 # Changelog
 
+## 0.1.4
+
+- The app names Shizuku in its package-visibility list. Without it, Android 11
+  and later hid Shizuku from the app, so the settings screen never offered the
+  permission step and the toggle could not run.
+
 ## 0.1.3
 
 - The app declares the Shizuku provider, so Shizuku can hand it the shell.
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 4ba9a56..8d03e0f 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -32,8 +32,8 @@ android {
         applicationId = "dev.equwal.inkdim"
         minSdk = 31
         targetSdk = 36
-        versionCode = 4
-        versionName = "0.1.3"
+        versionCode = 5
+        versionName = "0.1.4"
     }
 
     signingConfigs {
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 3625019..2afd08f 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -8,6 +8,14 @@
     -->
     <uses-permission android:name="moe.shizuku.manager.permission.API_V23" />
 
+    <!--
+        Package visibility. Android 11 and later hide other packages, so the
+        app must name Shizuku to see that it is installed.
+    -->
+    <queries>
+        <package android:name="moe.shizuku.privileged.api" />
+    </queries>
+
     <application
         android:allowBackup="true"
         android:icon="@mipmap/ic_launcher"
diff --git a/fastlane/metadata/android/en-US/changelogs/5.txt b/fastlane/metadata/android/en-US/changelogs/5.txt
new file mode 100644
index 0000000..69bdbc7
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/5.txt
@@ -0,0 +1 @@
+The app names Shizuku in its package-visibility list, so Android 11 and later let it see Shizuku. The settings screen now offers the permission step, and the toggle runs.
diff --git a/fdroid/dev.equwal.inkdim.yml b/fdroid/dev.equwal.inkdim.yml
index 5ee1096..4c6c544 100644
--- a/fdroid/dev.equwal.inkdim.yml
+++ b/fdroid/dev.equwal.inkdim.yml
@@ -15,9 +15,9 @@ Repo: https://github.com/equwal/ink-dim.git
 Binaries: https://github.com/equwal/ink-dim/releases/download/v%v/ink-dim-%v.apk
 
 Builds:
-  - versionName: 0.1.3
-    versionCode: 4
-    commit: v0.1.3
+  - versionName: 0.1.4
+    versionCode: 5
+    commit: v0.1.4
     subdir: app
     gradle:
       - yes
@@ -26,5 +26,5 @@ AllowedAPKSigningKeys: bcb3127e1931a9b906e8e2498184ef5380f97cbf3531e5bc8bb006447
 
 AutoUpdateMode: Version
 UpdateCheckMode: Tags
-CurrentVersion: 0.1.3
-CurrentVersionCode: 4
+CurrentVersion: 0.1.4
+CurrentVersionCode: 5