[Android Apps and Games] jsfernandes1:
@spocky12 Projectivy Launcher often causes the Mi Stick TV 4K control to stop working. No buttons work. To get it working again, I need to unplug the Mi Stick to restart with the control working.

Additionally, on one of the devices the app does not recognize that I have enabled it in the Android TV accessibility settings. See the video below:

Device Data:

Name:

MITV-AYFRO

Android TV OS Version

11

Android TV OS security patch level

May 5, 2023

Kernel version

5.4.210-android12-9-g041469a404b2-ab1407 #1 Thu Jun 15 21:14:30 CST 2023

Netflix ESN

NFANDROID2-PRV-SOUL-XIAOMMITV-AYFRO-22030-C096C 5D95D5788289E481A3377107F77BA2CA6DC1ECFA71E42 7764F4243CE986

Android TV OS Build

RTTO.211222.001.1407 release-keys

PS: The accessibility issue appears to have been resolved today after the release of an update to Google's accessibility app. After installing the update and restarting Android TV, accessibility in the Productivity Launcher was recognized normally.

The problem with the remote control freezing persists and I have identified that it happens more frequently when "mobile applications" that are installed on the Android TV are opened, especially when a mouse is used to navigate and click on these apps.

To solve the problem of the remote control crashing, I uninstalled the Productivity Launcher and I found that without it, the remote control crashes do not occur, even when opening mobile apps and using the mouse (Zank Remote). But sometimes freezing occurs as soon as the device starts without any apparent reason, since the Productivity Launcher is installed.

The freezing problem happens with the "home", "back", "right", "left", "up", "down", "ok", and "off" buttons. The "off" button only works if you press and hold it for a few seconds. The possibility of restarting appears, but it is not possible to restart because the "ok" button does not work. The Google Assistant, Netflix, Prime Video and Xiaomi TV buttons work normally.

Edit with developer response:

Thanks for your feedback and for your detailed explanation. I've been able to more or less reproduce your issue. It seems that Zank Remote prevents Projectivy's accessibility service from working as it should : once installed, I haven't been able to get the accessibility service up and running as expected. Unfortunately there's no crash whatsoever, it looks like Zank interferes with the OS in a way that prevents Projectivy's accessibility service from running. This happens even after keeping only the bare minimum code in the service, which makes me think this is not specific to Projectivy but probably behaves the same for every other enabled accessibility service.

As Projectivy's accessibility service is listening for key events, this incompatibility seems to result in key events getting lost : they should be intercepted by Projectivy's accessibility service and then given back to the system, but as the service is misbehaving, it simply never happens.

As you might understand, there's not much I can do on my side, as it doesn't seem to be related to a bug in the code. As a workaround, I'd suggest :

- not using Projectivy's accessibility service (but some features will unfortunately not be available)

- using Google Tv app instead of Zank remote

- contacting Zank developer to give him details on this issue, which might result a change on their side

Sorry for not being able to give you a proper fix :/

Regards,

Mickael