Android Screen Timeout

前端 未结 4 789
感情败类
感情败类 2020-11-30 06:45

I know its possible to use a wakelock to hold the screen, cpu, ect on but how can I programmatically change the \"Screen Timeout\" setting on an Android ph

4条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-30 07:31

    The Settings.System provider offers a SCREEN_OFF_TIMEOUT setting that might be what you are looking for.

提交回复
热议问题