开发者

notification launched at boot

开发者 https://www.devze.com 2023-02-14 05:29 出处:网络
Because Alarms are deleted tu开发者_如何学Pythonrning off the device I need to reset them at boot. I\'m doing that in a service at BOOT_COMPLETED, and it works. The issue cames when the time to fire t

Because Alarms are deleted tu开发者_如何学Pythonrning off the device I need to reset them at boot. I'm doing that in a service at BOOT_COMPLETED, and it works. The issue cames when the time to fire the alarm is achieved and the alarm is directly launched. This alarm has to add a notification and I can see this notification on my emulator, but just for a few seconds, because is automatically deleted by the system. Do you know the reason for that? Is it something related with the boot process? I have to shut down my emulator closing the emulator window because the turn off button takes ages.

0

精彩评论

暂无评论...
验证码 换一张
取 消