Skip to content

Switching by other apps (automation broadcasts) only when enabled - #1026

Open
4di-hello wants to merge 2 commits into
LeanBitLab:mainfrom
4di-hello:pr/automation-switch
Open

4di-hello wants to merge 2 commits into
LeanBitLab:mainfrom
4di-hello:pr/automation-switch

Conversation

@4di-hello

Copy link
Copy Markdown
Contributor

The layout switch receiver from #501 is exported without a permission, so any installed app can switch the language, layout or mode, e.g. open the clipboard view. Not dangerous on its own (not in password fields, not on the lock screen), but an app doesn't need to be able to do that without the user knowing.

What changes

  • The receiver does nothing unless "Allow switching by other apps" is on (Advanced, off by default). With it on, Tasker, MacroDroid or ADB work as before.
  • The settings search finds it with "tasker", "automation", "broadcast" and similar.
  • Strings in English and German.

Please check

Compiles. In my fork (LeanType+) since 7.11.

🤖 Generated with Claude Code

4di-hello and others added 2 commits November 30, 2026 20:15
The layout switch receiver is exported without a permission: any installed app can switch the language,
layout or mode (e.g. open the clipboard view). It now does nothing unless "Allow switching by other
apps" is on (Advanced, off by default), so automation apps like Tasker still work when the user wants it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant