How to call power off,reboot dialog from application?

前端 未结 2 512
野趣味
野趣味 2021-01-23 04:38

I would like to call power off,reboot, etc.. dialog as same as default android dialog when push power button long from my application.
I no need to call directly reboot,powe

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-23 05:15

    It is not possible programatically due to security restriction

    • Similar Question

提交回复
热议问题