mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Merge "[Launcher/Archive] remove all checks for the archiving system property" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
ab21ddb2da
@@ -41,6 +41,7 @@ import android.widget.Toast;
|
||||
|
||||
import com.android.launcher3.BubbleTextView;
|
||||
import com.android.launcher3.BuildConfig;
|
||||
import com.android.launcher3.Flags;
|
||||
import com.android.launcher3.InvariantDeviceProfile;
|
||||
import com.android.launcher3.Launcher;
|
||||
import com.android.launcher3.LauncherSettings;
|
||||
@@ -346,7 +347,7 @@ public class ItemClickHandler {
|
||||
|
||||
// Check for abandoned promise
|
||||
if ((v instanceof BubbleTextView) && shortcut.hasPromiseIconUi()
|
||||
&& (!Utilities.enableSupportForArchiving() || !shortcut.isArchived())) {
|
||||
&& (!Flags.enableSupportForArchiving() || !shortcut.isArchived())) {
|
||||
String packageName = shortcut.getIntent().getComponent() != null
|
||||
? shortcut.getIntent().getComponent().getPackageName()
|
||||
: shortcut.getIntent().getPackage();
|
||||
|
||||
Reference in New Issue
Block a user