From 881e59adab943a8e0bf62790bc64eaaa792d0c9e Mon Sep 17 00:00:00 2001 From: Sameera Wijerathna Date: Thu, 15 Jan 2026 22:44:12 +0530 Subject: [PATCH 1/3] Update README.md --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 130603f1..f1bb8b34 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Essential tools, mods and workarounds for Pixels and other Androids - **Maps Power Saving Mode**: Optimize battery usage during Google Maps navigation by managing screen state (requires Shizuku or Root). - **Are we there yet? (Travel Alarm)**: Never miss your stop again. Set a destination and get notified when you are nearby. Features real-time distance tracking in the status bar and Live Activity support on the lock screen. -- **DIY Automation [Testing]**: Create custom automations based on device triggers (e.g., app launches, time) or states (e.g., screen on/off, battery level). +- **DIY Automation**: Create custom automations based on device triggers (e.g., app launches, time) or states (e.g., screen on/off, battery level). - **Screen Off Widget**: An invisible widget that can be placed on the home screen to quickly lock the device without using the power button. Now with configurable haptic feedback. - **Caffeinate**: A Quick Settings tile to keep the display awake indefinitely or for a set duration. - **Sound Mode Tile**: A Quick Settings tile to toggle between Ring, Vibrate, and Silent sound modes. @@ -44,6 +44,7 @@ Essential tools, mods and workarounds for Pixels and other Androids - **App Lock**: Secure your applications with a dedicated app lock feature. Integrated with Quick Settings for easy toggling. - **Flashlight Enhancements**: Advanced flashlight control with smooth fade-in/out, volume key intensity adjustment, global brightness controls, and live activity support. - **Screen Locked Security**: Protect your device by disabling sensitive Quick Settings tiles and power menu when the device is locked. +- **A keyboard**: That no one asked for. ### Visuals @@ -70,13 +71,16 @@ A collection of useful tiles to toggle system settings: - **App Lock**: Toggle application lock. - **Flashlight**: Toggle flashlight with brightness adjustment support. - **NFC**: Toggle NFC functionality. -- **Flashlight pulse**: Pulse flashlight for notifications +- **Flashlight Pulse**: Pulse flashlight for notifications +- **Stay Awake**: Using the developer options +- **Maps Power Saving Mode**: Easier access +- **Adaptive Brightness**: Especially for Pixels # Requirements -- Android 7.0 or higher (Feature support may vary) +- Android 8.0 or higher (Feature support may vary) - App permissions are optional, Grant necessary permissions for each feature -- Targetted for Google Pixel devices +- Targetted for Google Pixel devices extending to other Androids - Tested on Google Pixel 7 (Android 16 beta program) # Screenshots @@ -133,5 +137,5 @@ Please read our [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of co ---

- Last updated: 2026-01-13 + Last updated: 2026-01-15

From 87c0215313ccc706578e3f899d1526a4370662bf Mon Sep 17 00:00:00 2001 From: Kainoa Kanter Date: Fri, 16 Jan 2026 12:58:46 -0800 Subject: [PATCH 2/3] fix: use `widgetBackground` color for battery widget background --- .../sameerasw/essentials/services/widgets/BatteriesWidget.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/sameerasw/essentials/services/widgets/BatteriesWidget.kt b/app/src/main/java/com/sameerasw/essentials/services/widgets/BatteriesWidget.kt index a222f374..671f5e02 100644 --- a/app/src/main/java/com/sameerasw/essentials/services/widgets/BatteriesWidget.kt +++ b/app/src/main/java/com/sameerasw/essentials/services/widgets/BatteriesWidget.kt @@ -172,7 +172,7 @@ class BatteriesWidget : GlanceAppWidget() { val backgroundModifier = if (isBackgroundEnabled) { - GlanceModifier.background(GlanceTheme.colors.surface) + GlanceModifier.background(GlanceTheme.colors.widgetBackground) } else { GlanceModifier.background(android.graphics.Color.TRANSPARENT) } From 47c79dc6effc46298c1ce3632300381f48b5f940 Mon Sep 17 00:00:00 2001 From: Kainoa Kanter Date: Fri, 16 Jan 2026 13:04:34 -0800 Subject: [PATCH 3/3] fix: harmonize warning color in battery widget --- .gitignore | 3 ++- .../sameerasw/essentials/services/widgets/BatteriesWidget.kt | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 366ca372..2cbec1e6 100644 --- a/.gitignore +++ b/.gitignore @@ -30,4 +30,5 @@ replay_pid* *.DS_Store *app/release/ -Build/ \ No newline at end of file +Build/ +build/reports/problems/problems-report.html diff --git a/app/src/main/java/com/sameerasw/essentials/services/widgets/BatteriesWidget.kt b/app/src/main/java/com/sameerasw/essentials/services/widgets/BatteriesWidget.kt index a222f374..7ce67c89 100644 --- a/app/src/main/java/com/sameerasw/essentials/services/widgets/BatteriesWidget.kt +++ b/app/src/main/java/com/sameerasw/essentials/services/widgets/BatteriesWidget.kt @@ -25,6 +25,7 @@ import androidx.core.content.ContextCompat import androidx.core.graphics.ColorUtils import androidx.glance.Image import androidx.glance.ImageProvider +import com.google.android.material.color.MaterialColors import com.sameerasw.essentials.R class BatteriesWidget : GlanceAppWidget() { @@ -155,6 +156,7 @@ class BatteriesWidget : GlanceAppWidget() { val baseError = GlanceTheme.colors.error.getColor(configContext).toArgb() val onSurface = GlanceTheme.colors.onSurface.getColor(configContext).toArgb() val surfaceColor = GlanceTheme.colors.surface.getColor(configContext).toArgb() + val warning = MaterialColors.harmonizeWithPrimary(configContext, android.graphics.Color.parseColor("#FFC107")) val isNightMode = (systemConfig.uiMode and android.content.res.Configuration.UI_MODE_NIGHT_MASK) == @@ -164,7 +166,7 @@ class BatteriesWidget : GlanceAppWidget() { val colors = ThemeColors( primary = basePrimary, error = baseError, - warning = android.graphics.Color.parseColor("#FFC107"), + warning = warning, track = ColorUtils.setAlphaComponent(onSurface, 30), surface = surfaceColor, iconTint = onSurface