Loading src/com/android/launcher3/views/ActivityContext.java +1 −1 Original line number Diff line number Diff line Loading @@ -313,7 +313,7 @@ public interface ActivityContext { */ default boolean startActivitySafely( View v, Intent intent, @Nullable ItemInfo item) { Preconditions.assertUIThread(); Context context = (Context) this; if (isAppBlockedForSafeMode() && !PackageManagerHelper.isSystemApp(context, intent)) { Toast.makeText(context, R.string.safemode_shortcut_error, Toast.LENGTH_SHORT).show(); Loading Loading
src/com/android/launcher3/views/ActivityContext.java +1 −1 Original line number Diff line number Diff line Loading @@ -313,7 +313,7 @@ public interface ActivityContext { */ default boolean startActivitySafely( View v, Intent intent, @Nullable ItemInfo item) { Preconditions.assertUIThread(); Context context = (Context) this; if (isAppBlockedForSafeMode() && !PackageManagerHelper.isSystemApp(context, intent)) { Toast.makeText(context, R.string.safemode_shortcut_error, Toast.LENGTH_SHORT).show(); Loading