文件最后提交记录最后更新时间
!1055 适配横屏修改 * adapter WGR 3 年前
!883 README 整改 * README整改 * README整改 * README整改 3 年前
!656 #I550FF完成,请审批 * update docs * update docs * update docs 3 年前
!1058 修改JsVideo,更新Readme相关说明,位置Sample权限配置修改 * update README_zh.md 3 年前
!598 适配工程CommonEvent、AirQuality、ResourceManager、Runninglock、Flashlight、JsHelloWorld API7到API8 * 修改clock readme * 修改AirQuality index 格式 * 修改图片后缀名为png * 适配工程API7CommontEvent、AirQuality、ResourceManager、Runninglock、Flashlight到API8 4 年前
!598 适配工程CommonEvent、AirQuality、ResourceManager、Runninglock、Flashlight、JsHelloWorld API7到API8 * 修改clock readme * 修改AirQuality index 格式 * 修改图片后缀名为png * 适配工程API7CommontEvent、AirQuality、ResourceManager、Runninglock、Flashlight到API8 4 年前
!1055 适配横屏修改 * adapter WGR 3 年前
README.md

eTS Running Lock

Introduction

This sample shows how to test the running lock that prevents the system from entering sleep mode. It uses the black and white wallpapers to simulate the screen-off and screen-on states.

Usage

  1. Touch Query support to check whether the system supports the running lock.

  2. Touch Timing out screen 5s after. The screen is turned off 5s later (simulated with a black wallpaper).

  3. Enable the running lock. The system will be blocked from entering sleep mode. Five seconds after the setting, the screen will always on (simulated with a white wallpaper).

  4. Disable the running lock. After 5 seconds, the screen turns off (simulated with a black wallpaper).

  5. After the screen is turned off, touch any area on the screen to turn it on (simulated with a white wallpaper).

Constraints

This sample can only be run on standard-system devices.