sdex / ActivityManager

Launch any application activity
Apache License 2.0
592 stars 33 forks source link

Creating shortcut activity as root? #56

Closed rubysm closed 11 months ago

rubysm commented 11 months ago

Launching activities as root is possible but creating shortcut of the activity as root? Is this feature intentionally avoided?

sdex commented 11 months ago

The app uses root to launch shortcuts for non-exported activities. Shortcuts for exported activities use intents.

rubysm commented 11 months ago

creating shortcut for (installed apps) in accessibility app requires root previlege, launching as root works but ain't works in Shortcut.

sdex commented 11 months ago

It's a bug.

rubysm commented 11 months ago

Is this bug get fixed?

sdex commented 11 months ago

Yeah. I think I will add a checkbox to the shortcut screen to indicate that this shortcut must be launched using the root shell.

sdex commented 11 months ago

Added in 5.4.3

rubysm commented 11 months ago

Superb!.