android - How to keep my app service keep running even if app is closed from task manger in MI phone -


my app has background service keep on running if app killed task manger when have tested app on mi(xiaomi) phone kills app service when close app task manager , service keep on running , work on devices except mi if kill app task manager.

so please tell me how keep srevice running in background when app killed task manager?

miui has built-in security app. in security app there 'autostart' section, user can configure app can , app can't run on startup. application disabled default. need enable app , enable permission manager permission section.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -