commit | e7048330ef5eb7a3400843d5b8a9153cd7a89c0e | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Fri Jul 10 14:13:05 2020 +0000 |
committer | Lais Andrade <lsandrade@google.com> | Fri Jul 10 14:13:05 2020 +0000 |
tree | cc98547e1d231c5d1cdb97ed5d9117b90906ecf8 | |
parent | 2fae5f39c0986782a34de1bda385e04bb76d065d [diff] |
Revert removal of power hint from PowerManager.aidl Reverts all changes on PowerManagerService.cpp and bring back power hint methods and usages. Bug: b/157483189 Test: builds Change-Id: I52bb144d646646fecce73a24882d20226d319026
diff --git a/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java b/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java index 0e78ef9..6a77a8e 100644 --- a/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java +++ b/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
@@ -96,6 +96,11 @@ } @Override + public void powerHint(int hintId, int data) { + // pass for now. + } + + @Override public void setPowerBoost(int boost, int durationMs) { // pass for now. }