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

Commit 9236a41d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Refrain from persisting shortcuts into AppSearch in low end device"...

Merge "Refrain from persisting shortcuts into AppSearch in low end device" into tm-dev am: ab9fe419

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17185702

Change-Id: I02b863fd867af2ffc16e991aa826ee89d71d196d
parents d5ad3f82 ab9fe419
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -488,7 +488,8 @@ public class ShortcutService extends IShortcutService.Stub {
        mShortcutBitmapSaver = new ShortcutBitmapSaver(this);
        mShortcutDumpFiles = new ShortcutDumpFiles(this);
        mIsAppSearchEnabled = DeviceConfig.getBoolean(NAMESPACE_SYSTEMUI,
                SystemUiDeviceConfigFlags.SHORTCUT_APPSEARCH_INTEGRATION, true);
                SystemUiDeviceConfigFlags.SHORTCUT_APPSEARCH_INTEGRATION, true)
                && !injectIsLowRamDevice();

        if (onlyForPackageManagerApis) {
            return; // Don't do anything further.  For unit tests only.