Loading res/layout-land/migration_workspace_cling.xml +1 −0 Original line number Diff line number Diff line Loading @@ -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" Loading src/com/android/launcher3/Launcher.java +15 −9 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -2057,6 +2062,7 @@ public class Launcher extends Activity } else { showWorkspace(true); } } return false; } Loading Loading
res/layout-land/migration_workspace_cling.xml +1 −0 Original line number Diff line number Diff line Loading @@ -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" Loading
src/com/android/launcher3/Launcher.java +15 −9 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -2057,6 +2062,7 @@ public class Launcher extends Activity } else { showWorkspace(true); } } return false; } Loading