Loading src/com/android/launcher3/views/OptionsPopupView.java +8 −2 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ import androidx.annotation.Nullable; import androidx.annotation.VisibleForTesting; import androidx.core.content.ContextCompat; import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.Launcher; import com.android.launcher3.LauncherSettings; import com.android.launcher3.R; Loading Loading @@ -220,6 +221,11 @@ public class OptionsPopupView extends ArrowPopup<Launcher> Toast.makeText(launcher, R.string.safemode_widget_error, Toast.LENGTH_SHORT).show(); return null; } else { AbstractFloatingView floatingView = AbstractFloatingView.getTopOpenViewWithType( launcher, TYPE_WIDGETS_FULL_SHEET); if (floatingView != null) { return (WidgetsFullSheet) floatingView; } return WidgetsFullSheet.show(launcher, true /* animated */); } } Loading Loading
src/com/android/launcher3/views/OptionsPopupView.java +8 −2 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ import androidx.annotation.Nullable; import androidx.annotation.VisibleForTesting; import androidx.core.content.ContextCompat; import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.Launcher; import com.android.launcher3.LauncherSettings; import com.android.launcher3.R; Loading Loading @@ -220,6 +221,11 @@ public class OptionsPopupView extends ArrowPopup<Launcher> Toast.makeText(launcher, R.string.safemode_widget_error, Toast.LENGTH_SHORT).show(); return null; } else { AbstractFloatingView floatingView = AbstractFloatingView.getTopOpenViewWithType( launcher, TYPE_WIDGETS_FULL_SHEET); if (floatingView != null) { return (WidgetsFullSheet) floatingView; } return WidgetsFullSheet.show(launcher, true /* animated */); } } Loading