Merge "Dump screen off brightness sensor controller" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5811fbd367
@@ -2753,6 +2753,10 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
|||||||
dumpBrightnessEvents(pw);
|
dumpBrightnessEvents(pw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mScreenOffBrightnessSensorController != null) {
|
||||||
|
mScreenOffBrightnessSensorController.dump(pw);
|
||||||
|
}
|
||||||
|
|
||||||
if (mHbmController != null) {
|
if (mHbmController != null) {
|
||||||
mHbmController.dump(pw);
|
mHbmController.dump(pw);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ public class ScreenOffBrightnessSensorController implements SensorEventListener
|
|||||||
|
|
||||||
/** Dump current state */
|
/** Dump current state */
|
||||||
public void dump(PrintWriter pw) {
|
public void dump(PrintWriter pw) {
|
||||||
pw.println("ScreenOffBrightnessSensorController:");
|
pw.println("Screen Off Brightness Sensor Controller:");
|
||||||
IndentingPrintWriter idpw = new IndentingPrintWriter(pw);
|
IndentingPrintWriter idpw = new IndentingPrintWriter(pw);
|
||||||
idpw.increaseIndent();
|
idpw.increaseIndent();
|
||||||
idpw.println("registered=" + mRegistered);
|
idpw.println("registered=" + mRegistered);
|
||||||
|
|||||||
Reference in New Issue
Block a user