Merge "Dump screen off brightness sensor controller in DPC2" into udc-qpr-dev am: aa809307e0 am: 4d82ad52f0

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24320857

Change-Id: I4f695ac980266b503f918f7c052b16bae01b0a2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/services/core/java/com/android/server/display/DisplayPowerController2.java b/services/core/java/com/android/server/display/DisplayPowerController2.java
index 3340f90..5213d31 100644
--- a/services/core/java/com/android/server/display/DisplayPowerController2.java
+++ b/services/core/java/com/android/server/display/DisplayPowerController2.java
@@ -2451,6 +2451,10 @@
 
         dumpRbcEvents(pw);
 
+        if (mScreenOffBrightnessSensorController != null) {
+            mScreenOffBrightnessSensorController.dump(pw);
+        }
+
         if (mBrightnessRangeController != null) {
             mBrightnessRangeController.dump(pw);
         }