Difference between revisions of "Constraint: Rooted Device"
(Created page with "This constraint can be used to allow a trigger to fire only when running on a rooted/ non-rooted device.") |
|||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | This constraint | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on whether the device is rooted.</pre> |
| + | |||
| + | ''' Options ''' | ||
| + | |||
| + | * '''Rooted''': Constraint passes only when the device is rooted | ||
| + | * '''Not Rooted''': Constraint passes only when the device is not rooted | ||
| + | |||
| + | ''' Example ''' | ||
| + | |||
| + | ''Example 1: Open a root file manager only on rooted devices'' | ||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Widget Button</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Launch Application: Root Explorer</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | Rooted Device - Rooted</pre> | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Constraint: ADB Hacked|ADB Hacked Constraint]] | ||
Latest revision as of 13:47, 9 January 2026
This constraint allows or prevents a macro/feature from running based on whether the device is rooted.
Options
- Rooted: Constraint passes only when the device is rooted
- Not Rooted: Constraint passes only when the device is not rooted
Example
Example 1: Open a root file manager only on rooted devices
Triggers Widget Button
Actions Launch Application: Root Explorer
Constraints Rooted Device - Rooted
See Also