Display OFF via SurfaceControl
Posted: 14 Aug 2019 01:44
There is a display ON action but none for turning the display off
https://android.googlesource.com/platfo ... ol.java#82
https://android.googlesource.com/platfo ... ol.java#82
Code: Select all
SurfaceControl.setDisplayPowerMode(SurfaceControl.POWER_MODE_OFF)