Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +3 −4 Original line number Diff line number Diff line Loading @@ -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); Loading @@ -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; } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +3 −4 Original line number Diff line number Diff line Loading @@ -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); Loading @@ -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; } Loading