LineageOS 15.1, OnePlus 3T, latest tasker version
Thanks.
Michal
thx
Michal
That mentioned A1 and Anon(32) is something special in Tasker?
thx
Michal
It works on my Galaxy S9 with Oreo 8.0.0. I'll go through it line by line:
Profile: Airplane Mode (26)
This is the name I gave to the profile. The number is arbitrary and assigned by Tasker.
State: Variable Value %AIR ~ on
The built-in global variable %AIR contains the state of airplane mode. The profile is active when %AIR contains on.
Enter: Anon (32)
Anon is the placeholder name assigned by tasker because I didn't name the enter task.
A1: WiFi
Set: On
When the profile activates, turn wifi on.
I am checking also variable %AIR, if ~on, set wifi on.
Due to some restriction, not works. when airplane mode is off, then wifi is triggered successfully,so I asume that airplane mode is blocking somehow action "wifi set on" on LineageOS 15.1 (android 8.1)?
22.23.47/M lastWifiDisableAgoMS: 1528057427380
22.23.47/E check AP state
22.23.47/E AP state: 1
22.23.47/M lastWifiDisableAgoMS: 1528057427381
22.23.47/E current state: 1
22.23.47/E curval: 1
22.23.47/E WiFi: cur: false new: true
22.23.47/E WiFi: setWifiEnabled()
22.23.47/E WiFi: enable failed
22.23.47/M setKeepWifiOn: E/doWifiStatus1
22.23.47/E result: stop task (error)
22.23.47/E Error: 1
22.23.47/MacroEdit action finished exeID 8 action no 1 code 425 status: Err next 1