Intent BOOT_COMPLETED not working on Huawei device

后端 未结 2 1813
野性不改
野性不改 2020-12-19 17:03

I want to listen to APN Changes in my Android App.

Therefore I start a Service on android.intent.action.BOOT_COMPLETED. This Service starts a ContentObs

相关标签:
2条回答
  • 2020-12-19 17:58

    Huawei Phones have a built-in startup manager, it could be that the app is not yet enabled.

    Go to Settings > All, and choose Startup manager. This program is used to manage startup apps on Android phone. Allow or disallow app to run automatically after the Huawei phone starts up.

    0 讨论(0)
  • 2020-12-19 18:06

    Just for an update, Huawei changed the menu path in the Android 9 version.

    On Huawei Mate 10 pro the way to get to this menu:
    Settings -> Battery -> App launch -> Disable automatic management for your app.

    A pop-up will appear, asking what you want to allow (all true by default). make sure that the first, Auto-launch is enabled

    0 讨论(0)
提交回复
热议问题