true
App Task Started: com.google.android.apps.maps,com.waze
true
CLASSIC
com.google.android.apps.maps,com.waze
true
GPS Status Event: Started, Stopped
true
true
true
false
false
true
GPS Status Event: Stopped
true
false
true
false
false
true
Location Provider State: GPS Disabled
true
gps
false
true
Location Provider State: GPS Enabled
true
gps
true
true
Notification on Statusbar Selected: Disable gps/wifi scanning Automagic
false
true
BUILTIN
AUTOMAGIC
Disable gps/wifi scanning
Disable gps/wifi scanning
false
false
false
#ff00ff00
500
500
false
#ffff0000
false
DEFAULT
DEFAULT
PRIVATE
false
false
false
false
1
true
System Setting Changed: Global wifi_scan_always_enabled
true
GLOBAL
wifi_scan_always_enabled
setting
true
Expression: contains(trigger,"GPS")
contains(trigger,"GPS")
true
Expression: global_gps_event_type == 2
global_gps_event_type == 2
true
Expression: matches(trigger, "App Task Started:.*")
matches(trigger, "App Task Started:.*")
true
Expression: old_setting == 0 && setting == 1
old_setting == 0 && setting == 1
true
Location Provider Enabled: GPS
gps
true
Control UI: a = 0; while (!existsElementById("android:id/button1") and a < 5) { sleep(500); a = a + 1; } if (a < 5) { click("OK") }
true
Execute Flows: Auto disable gps
Auto disable gps
false
false
false
true
Script: global_gps_event_type = gps_event_type
true
Set Flow State: Disable Disable gps/wifi scanning
false
Disable gps/wifi scanning
true
Set Flow State: Enable Disable gps/wifi scanning
true
Disable gps/wifi scanning
true
Set System Setting: Global wifi_scan_always_enabled to 0
GLOBAL
wifi_scan_always_enabled
0
true
true
Set System Setting: Global wifi_scan_always_enabled to 1
GLOBAL
wifi_scan_always_enabled
1
true
true
Set System Setting: Secure location_providers_allowed to +gps
SECURE
location_providers_allowed
+gps
true
true
Set System Setting: Secure location_providers_allowed to -gps
SECURE
location_providers_allowed
-gps
true
true
Sleep: 30s (allow device sleep)
30s
false
false
Auto disable gps
Gps
true
SKIP
GPS Status Event: Stopped
Set Flow State: Disable Disable gps/wifi scanning
Sleep: 30s (allow device sleep)
Expression: global_gps_event_type == 2
Set System Setting: Secure location_providers_allowed to -gps
Set System Setting: Global wifi_scan_always_enabled to 0
Check gps/wifi scanning
Gps
true
QUEUE
Set Flow State: Disable Disable gps/wifi scanning
Location Provider State: GPS Enabled
System Setting Changed: Global wifi_scan_always_enabled
Location Provider State: GPS Disabled
Set Flow State: Enable Disable gps/wifi scanning
Expression: contains(trigger,"GPS")
Expression: old_setting == 0 && setting == 1
Location Provider Enabled: GPS
Control UI: a = 0; while (!existsElementById("android:id/button1") and a < 5) { sleep(500); a = a + 1; } if (a < 5) { click("OK") }
Execute Flows: Auto disable gps
Disable gps/wifi scanning
Gps
false
PARALLEL
Set Flow State: Disable Disable gps/wifi scanning
Set System Setting: Secure location_providers_allowed to -gps
Notification on Statusbar Selected: Disable gps/wifi scanning Automagic
Set System Setting: Global wifi_scan_always_enabled to 0
Location Provider Enabled: GPS
Gps status
Gps
true
QUEUE
GPS Status Event: Started, Stopped
Script: global_gps_event_type = gps_event_type
Navigation Apps No root
Gps
true
PARALLEL
Expression: matches(trigger, "App Task Started:.*")
Location Provider Enabled: GPS
App Task Started: com.google.android.apps.maps,com.waze
Set System Setting: Secure location_providers_allowed to +gps
Set System Setting: Global wifi_scan_always_enabled to 1