Android pin activity on boot

后端 未结 3 1996
一整个雨季
一整个雨季 2021-02-14 17:05

I\'ve got an app that registers itself as the default launcher and pins itself automatically when started.

This all works fine when installing the app. It pins itself a

3条回答
  •  一生所求
    2021-02-14 17:19

    The only solution I found as for now : make another launcher app, without locktask, which will trigger main app every time when launcher appears. This prevent user for waiting few more seconds before LockTasked app is being called with on BOOT_COMPLETED receiver. So we can meet this problem only when lockTask app has launcher properties for some activity in manifest.

提交回复
热议问题