How to simulate sleep mode on Android emulator

前端 未结 6 1804
遇见更好的自我
遇见更好的自我 2020-12-30 19:36

Some users of my Android application report bugs when the mobile enters sleep/power saving mode.

I would like to test that issue on the Android Virtual Device. Is it

6条回答
  •  既然无缘
    2020-12-30 20:22

    On emulator, go Settings/Security/Screen lock change from 'None' to 'Swipe'

    Then, click 'power' button on right control bar to turn off screen, and press again to turn on screen. Now the lock screen will show up.

提交回复
热议问题