Intent BOOT_COMPLETED not working on Huawei device
问题 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 ContentObserver which listens to changes to content://telephony/carriers/preferapn . I tested this setup on a few different devices (e.g. LG Spirit with Android 5.0, Samsung A3 with 6.0, Emulator Nexus5 with 7.0 and Huawei P9 Lite with 7.0) On the Huawei phone onCreate of my Service is not called. My other approach with android.intent.action.ANY_DATA