Skip to content

Develop - Generalize root for shizuku, Blur toggle and more fixes#255

Merged
sameerasw merged 5 commits intomainfrom
develop
Mar 2, 2026
Merged

Develop - Generalize root for shizuku, Blur toggle and more fixes#255
sameerasw merged 5 commits intomainfrom
develop

Conversation

@sameerasw
Copy link
Owner

This pull request introduces a new user setting to toggle progressive blur effects throughout the app, and refactors how blur is applied in the UI to respect this setting. Additionally, it improves permission checks and fallback logic for several Quick Settings tile services, enhancing reliability and compatibility.

Blur Feature Toggle and UI Refactor:

  • Added a new "Use blur" toggle in settings, backed by a new KEY_USE_BLUR in SettingsRepository, allowing users to enable or disable progressive blur effects globally. All relevant activities and composables now observe isBlurEnabled and conditionally apply the progressiveBlur modifier. [1] [2] [3] [4] [5] [6]
  • Refactored all usages of the progressiveBlur modifier to be conditional based on the new setting, ensuring a consistent user experience and improved performance when blur is disabled. [1] [2] [3] [4] [5] [6] [7]

UI/UX Improvements:

  • Adjusted padding and layout for the "Quick settings tiles" settings screen and other feature settings to improve visual consistency, including status bar and toolbar padding. [1] [2]

Quick Settings Tile Services – Permission and Fallback Enhancements:

  • Updated permission checks in AlwaysOnDisplayTileService, MonoAudioTileService, ChargeQuickTileService, and NfcTileService to use a unified logic: first check for WRITE_SECURE_SETTINGS permission, then fallback to shell-based access if available. This increases compatibility on devices without root or with limited permissions. [1] [2] [3] [4]
  • In NfcTileService, added a fallback to shell commands for toggling NFC if the reflection method fails, improving reliability on more devices.

Codebase Maintenance:

  • Added necessary imports for ShellUtils and PaddingValues to support the new logic and UI changes. [1] [2] [3] [4]

References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]

@sameerasw sameerasw self-assigned this Mar 2, 2026
@sameerasw sameerasw added the enhancement New feature or request label Mar 2, 2026
@sameerasw sameerasw merged commit 1fc2f4e into main Mar 2, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in Essentials Progress Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant