Difference between revisions of "Constraint: Rooted Device"

m
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
This constraint can be used to allow a trigger, an action or a condition to execute only when running on a rooted/non-rooted device.
+
<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