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

Commit 9832f8f4 authored by Winson's avatar Winson
Browse files

Fixing issue with docking being disallowed for secondary user.

- When a task is docked, the context is not correct for the given user.

Bug: 28195260
Change-Id: I59f73caf818d294c146d215c2bd31dbe1d4c7c5a
parent a5d3e91c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ public class DividerSnapAlgorithm {
        return new DividerSnapAlgorithm(ctx.getResources(),
                displayInfo.logicalWidth, displayInfo.logicalHeight,
                dividerWindowWidth - 2 * dividerInsets,
                ctx.getResources().getConfiguration().orientation
                ctx.getApplicationContext().getResources().getConfiguration().orientation
                        == Configuration.ORIENTATION_PORTRAIT,
                insets);
    }
+1 −1
Original line number Diff line number Diff line
@@ -193,7 +193,7 @@ public class RecentsViewTouchHandler {
    }

    public final void onBusEvent(ConfigurationChangedEvent event) {
        if (event.fromDisplayDensityChange) {
        if (event.fromDisplayDensityChange || event.fromDeviceOrientationChange) {
            updateSnapAlgorithm();
        }
    }