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

Commit de32d1ac authored by Pinyao Ting's avatar Pinyao Ting Committed by Android (Google) Code Review
Browse files

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

parents 6b29c1e2 fe0f2e84
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.