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

Commit 17b22306 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make a copy of DeviceProfile before updating its insets" into ub-launcher3-master

parents c477c373 6cf86a37
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -487,6 +487,7 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
                        // not valid immediately after rotation, just use the stable insets for now
                        Rect insets = new Rect();
                        WindowManagerWrapper.getInstance().getStableInsets(insets);
                        dp = dp.copy(mContext);
                        dp.updateInsets(insets);
                    }