How to know if the user turn off/on the Gps after Oreo

后端 未结 0 1920
遥遥无期
遥遥无期 2021-01-24 02:25

I want to do some work when the user turns off/on the Gps (in the Location Settings)

Before Oreo ( API Level 26 ) I can register a static broadcast action

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题