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

Commit eb6ccc2b authored by Michał Brzeziński's avatar Michał Brzeziński Committed by Android (Google) Code Review
Browse files

Merge "Making notification width dependent on orientation instead of rotation" into sc-v2-dev

parents 04a42234 b35a6b26
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -112,7 +112,6 @@ import com.android.systemui.statusbar.phone.UnlockedScreenOffAnimationController
import com.android.systemui.statusbar.policy.HeadsUpUtil;
import com.android.systemui.statusbar.policy.ScrollAdapter;
import com.android.systemui.util.Assert;
import com.android.systemui.util.leak.RotationUtils;

import java.io.FileDescriptor;
import java.io.PrintWriter;
@@ -950,7 +949,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
            return;
        }
        // Portrait is easy, just use the dimen for paddings
        if (RotationUtils.getRotation(mContext) == RotationUtils.ROTATION_NONE) {
        if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) {
            mSidePaddings = mMinimumPaddings;
            return;
        }