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

Commit ddabc5d7 authored by Bo Majewski's avatar Bo Majewski
Browse files

[DocsUI, Search]: Switch to the new useSearchV2Rw flag.

Previous flag was read-only. This switches us to the read-write version
of the flag.

Bug: 383412640
Test: m DocumentsUIGoogle
Flag: com.android.documentsui.flags.use_search_v2_rw
Change-Id: Iffe5e894e5abe45fd07e9eaa30ea8eb9dbe04389
parent 8885176f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ import static com.android.documentsui.base.DocumentInfo.getCursorInt;
import static com.android.documentsui.base.DocumentInfo.getCursorString;
import static com.android.documentsui.base.SharedMinimal.DEBUG;
import static com.android.documentsui.flags.Flags.desktopFileHandling;
import static com.android.documentsui.flags.Flags.useSearchV2;
import static com.android.documentsui.flags.Flags.useSearchV2Rw;

import android.app.PendingIntent;
import android.content.ActivityNotFoundException;
@@ -916,7 +916,7 @@ public abstract class AbstractActionHandler<T extends FragmentActivity & CommonA
                mState.stack.changeRoot(mActivity.getCurrentRoot());
            }

            if (useSearchV2()) {
            if (useSearchV2Rw()) {
                return onCreateLoaderV2(id, args);
            }
            return onCreateLoaderV1(id, args);