Application is getting killed after enable/disable permissions from settings on Android M nexus 6

前端 未结 1 940
太阳男子
太阳男子 2021-01-17 15:51

Application is restarting after enable/disble the permissions from Settings->apps->my app->Permissions. Adb can see Permission related app op changed... ,

0         


        
相关标签:
1条回答
  • 2021-01-17 16:15

    If you have background process or services running in the background , then if user revokes permission from settings , the process gets restarted. This shouldn't affect your activity unless your activity context is tied to your service.The speaker in Google IO 2015-https://www.youtube.com/watch?v=f17qe9vZ8RM does tell about process restart ,etc....

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