diff options
| author | Ahmed Hassan <ahmedfathy@google.com> | 2020-10-15 13:16:05 +0100 |
|---|---|---|
| committer | Ahmed Hassan <ahmedfathy@google.com> | 2020-11-06 12:38:39 +0000 |
| commit | e250d326b9bf0101b1d041ed889886d0d8a84eef (patch) | |
| tree | 7eaf0391b678a244a24ed20348707acbcf2b17e4 /rs/java/android/renderscript/ProgramStore.java | |
| parent | a15ff93eb5749941317ddaa7022f2088e04ec1fd (diff) | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions
