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

Commit f8a624a7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "NSSL: Log actual orientation on updateSidePadding" into main

parents 85457f97 9c14c9d9
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -928,12 +928,11 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
    }

    void updateSidePadding(int viewWidth) {
        final boolean portrait =
                getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT;
        final int orientation = getResources().getConfiguration().orientation;

        mLastUpdateSidePaddingDumpString = "viewWidth=" + viewWidth
                + " skinnyNotifsInLandscape=" + mSkinnyNotifsInLandscape
                + " portrait=" + portrait;
                + " orientation=" + orientation;

        if (DEBUG_UPDATE_SIDE_PADDING) {
            Log.v(TAG, "updateSidePadding: " + mLastUpdateSidePaddingDumpString);
@@ -945,7 +944,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
        }

        // Portrait is easy, just use the dimen for paddings
        if (portrait) {
        if (orientation == Configuration.ORIENTATION_PORTRAIT) {
            mSidePaddings = mMinimumPaddings;
            return;
        }