Pretty much like the title says - neither HideScene nor DestroyScene work. I'm using ShowScene to activate it and it's fine but i need to remove it after a 5 second Wait statement and can't figure out how. Any help is appreciated.
AOD On (12)
A1: Java Function [ Return:cr Class Or Object:CONTEXT Function:getContentResolver
{ContentResolver} () Param: Param: Param: Param: Param: Param: Param: ]
A2: Java Function [ Return: Class Or Object:android.provider.Settings$System Function:putInt
{boolean} (ContentResolver, String, int) Param:cr Param:aod_mode Param:1 Param: Param: Param: Param: ]
A3: If [ %LOCKED eq 1 ]
A4: Show Scene [ Name:BlackScene Display As:Activity, No Bar, No Status, No Nav Horizontal Position:100 Vertical Position:100 Animation:System Show Exit Button:eek:ff Show Over Keyguard:eek:n Continue Task Immediately:eek:ff ]
A5: Secure Settings [ Configuration:Screen Bright
1 Second Timeout (Seconds):3 ]
A6: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A7: Hide Scene [ Name:BlackScene Animation:System ]
A8: End If
Yes, it's excluded. I'll tick the reliable alarms option and see now.Is tasker excluded from battery optimization? Have you tried using "Reliable Alarms” in preferences?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
I somehow made it work now. Changed the profile/tasks a bit and does exactly what I want it to (at least for the past 10mins lol). Will observe it today and if all's well will make a new topic here as tutorial as what I did was fix a bug preventing the Always-On Display to appear while the phone is locked and screen is off (normally it needs a screen cycle for changes to take effect). Thanks for your help mateTry pausing the requirement for a locked device. I suspect, as you do, that the looked screen is the problem. The handling changed starting in Marshmallow.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers