Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e250d326 authored by Ahmed Hassan's avatar Ahmed Hassan
Browse files

Add ADB commands to control ambient display

Adds the following ADB commands

'adb shell cmd power suppress-ambient-display <token> true|false'
Controls suppressing ambient display through PowerManager#suppressAmbientDisplay()

'adb shell cmd power list-ambient-display-suppression-tokens'
Prints the tokens suppressing ambient display through the suppress-ambient-display command

Bug: 151138820
Test: Invoking the ADB commands, FrameworksServicesTests:PowerManagerServiceTest
Change-Id: I49686ae60d83a40311ceb0c92732ddb298f0374b
parent a15ff93e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment