1
Solved

Bug report: Tasker Device Control tiles, long press crashes system ui?

I recently discovered the device control tiles (also known as power menu controls) and I love them. The ability to switch my Hue lights on and off AND being able to change the brightness with a simple swipe on the tile is just so handy.

But unfortunately, there is a bug. When I long press one of the tiles, the whole system ui crashes for a few seconds. This is kinda annoying because this happens quite often when I want to adjust the brightness of my lights just a tiny little bit and am too slow while swiping.

Actually, I'd love to have the ability to use the long press for an action, like starting a light scene. But I don't know if that's even possible with device control tiles.

Let me know if you need more information on this.

(My device is a Pixel 4a 4G with all the latest updates, btw.)

I already posted this on reddit: https://www.reddit.com/r/tasker/comments/10lboz4/bug_report_tasker_device_control_tiles_long_press/

1 reply

Hi. For me it doesn't crash but it does show a blank screen. If I press back it goes away.. Can you maybe show me a screenshot of what shows up for you? Thanks

F

Hey Joao, thanks for your reply.

I thought about making a screen recording of the crash, but unfortunately, the recording fails every time (most likely due to that crash, I suppose).

So, here is what happens:

1. ACTION: Long click on any tasker device control tile

2. Black screen, only status bar icons visible (1 second)

3. Completely black screen (1-2 seconds)

4. black screen, status bar icons and navigation bar visible (0,5 seconds)

5. Lock screen with black background (0,5 seconds)

6. Lock screen with correct wallpaper

Something like this... Sometimes it looks slightly different, but it always shows a completely black screen for a second and then sends me to the lock screen. It looks very much like a crash to me. :(

Ok, I tried changing something. Can you please try this version? https://drive.google.com/file/d/19w0kkEle9oinGusDHMe-1f1u6_xuuifD/view?usp=sharing

F

That's interesting. Now one of the tiles wants to open the secondary app when longclicked, while the others still crash the system UI... 

F

Is it maybe possible to send an AutoApps command when longclicking a tile? Like AutoNotification's "Long Tap Command"?

Thanks! Do you know what the difference is between the one that crashes the UI and the one that doesn't?

F

Unfortunately, no, there is no difference, they're all tiles for controlling my hue lights (toggle+range in this case, I have three other tiles that work the same). I tried removing it from the device control panel and adding it back again, but the different behaviour remains.

The only thing worth noticing: It was the first tile I tried long tapping after installing your update.

EDIT: Now, a few times, that tile lead to a crash as well. Strange.

Sorry, I'm not sure there's anything I can do here :( A system UI crash is a bug in the OS itself, so Google must fix it. Since I can't reproduce the behaviour myself I can't try to find out how to work around it unfortunately.... 

F

Thanks for your response. One last try, I just remembered how to save logcat to a file; here I long tapped three or four tiles in the end of the recording.

https://drive.google.com/file/d/14rbBj_bXj3Gh7Xc_noUyb_DZ9aj3hRQO/view?usp=sharing

Maybe you can find something inside of this. But if you don't, nevermind, then we did what we could and just go on with our lives. :)

Yeah, definitely seems like a bug in the system code.

java.lang.RuntimeException: android.app.PendingIntent$CanceledException seems to break everything there. Sorry, I really don't think I can help!

Topic is closed for comments