Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service dies when all recent apps are removed #297

Open
tdjag opened this issue Nov 20, 2024 · 2 comments
Open

Service dies when all recent apps are removed #297

tdjag opened this issue Nov 20, 2024 · 2 comments

Comments

@tdjag
Copy link

tdjag commented Nov 20, 2024

Hello, first of all thank you very much for the package, it's great and will save us a lot of time. The problem I have encountered on a Xiaomi 11T with HyperOs and Android 14 (the only physical device I have tested so far) is that when deleting all recent applications using the 'X' button, the service dies and does not start again automatically. However, if we slide the application to remove it from recent this does not happen. I attach an illustrative image. The tests are done with the example package and all permissions have been accepted.

Image 2024-11-20 at 16 06 46

Thank you so much!!

@tdjag tdjag changed the title Service dies when all recent apps are removed Service kill when all recent apps are removed Nov 20, 2024
@tdjag tdjag changed the title Service kill when all recent apps are removed Service dies when all recent apps are removed Nov 20, 2024
@Dev-hwang
Copy link
Owner

@tdjag

I know that the "Close All Apps" button on Xiaomi devices has a different function compared to other manufacturers.

Generally, pressing the "Close All Apps" button does not forcefully terminate background or foreground services. However, in the case of Xiaomi devices, it has the characteristic of killing all processes.

From my past experience using a Xiaomi device, pressing the "Close All Apps" button would sometimes cause issues, such as Bluetooth pairing being disconnected or not receiving app notifications.

Currently, it seems that using the app list lock feature on Xiaomi devices and providing users with guidance on how to use it would be the best approach.

@tdjag
Copy link
Author

tdjag commented Dec 3, 2024

@Dev-hwang
Thanks for your reply, I will try to address it with this approach for Xiaomi. Any further input will be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants