controlling the android status bar icon

后端 未结 2 850
不知归路
不知归路 2021-01-03 01:27

I am trying to exercise a little control over the state of an icon in the status bar. I want to be able to do the following:

  1. Keep the icon visible in the stat
2条回答
  •  迷失自我
    2021-01-03 01:30

    1. http://developer.android.com/reference/android/app/Notification.html#FLAG_NO_CLEAR
    2. The icon is removed automatically (at least when I forcibly kill an app on my phone).

提交回复
热议问题