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
Loading
Please register or sign in to comment