Conversation
…validation in FeatureCard
Translations contributed by **@yanmess1ge-dot** directly via the Essentials in-app translation mode.
Translations contributed by **@fishqaq123** directly via the Essentials in-app translation mode.
Translations contributed by **@Ndraaa-repo** directly via the Essentials in-app translation mode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new "Custom Settings" action for DIY automations, allowing users to modify Android system settings (System, Secure, Global) as part of automation workflows. It also improves icon handling for status bar icons, updates permission registration for new features, and adds a utility for recording and diffing settings changes. Additionally, some UI code is refactored for robustness and clarity.
DIY Automations: Custom Settings Action
CustomSettingsaction to theActionsealed interface, enabling automations to modify arbitrary Android settings tables (SYSTEM,SECURE,GLOBAL). This includes data classes for settings entries and table selection, and dynamically determines required permissions.CustomSettingsactions inCombinedActionExecutor, attempting to write settings directly and falling back to shell commands if necessary.WRITE_SECURE_SETTINGS,WRITE_SETTINGS) for the DIY tab in the permission registry.SettingsRecorderfor snapshotting and diffing Android settings, supporting automation creation based on settings changes.Status Bar Icon Improvements
network_speed,glove_mode,frame_rate,no_sim) for better visual representation. [1] [2]FeatureCardto ensure only valid drawable resources are used, with fallbacks for invalid icons.UI and Codebase Cleanups
SetupFeaturesfor a cleaner user experience. [1] [2] [3]These changes collectively enhance the flexibility of automations, improve UI consistency, and lay the groundwork for settings-based automation triggers.