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

Commit ea1857ae authored by Kriti Dang's avatar Kriti Dang Committed by Android (Google) Code Review
Browse files

Merge "Changing the order of width and height in constructing Display.Mode"

parents a6e167cd 08aeef74
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -826,7 +826,7 @@ public final class DisplayManagerService extends SystemService {
                Settings.Global.USER_PREFERRED_RESOLUTION_HEIGHT, -1);
        final int width = Settings.Global.getInt(mContext.getContentResolver(),
                Settings.Global.USER_PREFERRED_RESOLUTION_WIDTH, -1);
        Display.Mode mode = new Display.Mode(height, width, refreshRate);
        Display.Mode mode = new Display.Mode(width, height, refreshRate);
        mUserPreferredMode = isResolutionAndRefreshRateValid(mode) ? mode : null;
    }