Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31d3853e authored by Silvia Vinyes's avatar Silvia Vinyes Committed by Android (Google) Code Review
Browse files

Merge "Ensure configuration is not null." into tm-qpr-dev

parents 5e77f8ce 57ed805d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1882,8 +1882,9 @@ public final class DisplayManagerService extends SystemService {
                if (displayDevice == null) {
                    return;
                }
                if (mLogicalDisplayMapper.getDisplayLocked(displayDevice)
                        .getDisplayInfoLocked().type == Display.TYPE_INTERNAL) {
                if (mLogicalDisplayMapper.getDisplayLocked(displayDevice) != null
                        && mLogicalDisplayMapper.getDisplayLocked(displayDevice)
                        .getDisplayInfoLocked().type == Display.TYPE_INTERNAL && c != null) {
                    FrameworkStatsLog.write(FrameworkStatsLog.BRIGHTNESS_CONFIGURATION_UPDATED,
                                c.getCurve().first,
                                c.getCurve().second,