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

Commit fbcdfa31 authored by Adam Skory's avatar Adam Skory Committed by Android Git Automerger
Browse files

am 78d8510a: am 9e3ebf3c: Merge remote-tracking branch...

am 78d8510a: am 9e3ebf3c: Merge remote-tracking branch \'goog/ub-now-lunchbox\' into lunchbox-release

* commit '78d8510a':
  Do not show overview when menu pressed on CustomContent screen.
  Missing paddingRight added.
parents 1f74f878 78d8510a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
        android:layout_height="wrap_content"
        android:layout_gravity="end|center_vertical"
        android:paddingEnd="60dp"
        android:paddingRight="60dp"
        android:orientation="vertical">
        <LinearLayout
            android:id="@+id/migration_workspace_cling_bubble"
+15 −9
Original line number Diff line number Diff line
@@ -2044,9 +2044,14 @@ public class Launcher extends Activity
        }
    }

    public boolean isOnCustomContent() {
        return mWorkspace.isOnOrMovingToCustomContent();
    }

    @Override
    public boolean onPrepareOptionsMenu(Menu menu) {
        super.onPrepareOptionsMenu(menu);
        if (!isOnCustomContent()) {
            // Close any open folders
            closeFolder();
            // Stop resizing any widgets
@@ -2057,6 +2062,7 @@ public class Launcher extends Activity
            } else {
                showWorkspace(true);
            }
        }
        return false;
    }