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

Commit 099eab1e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Turn down app indexing for slices."

parents 35cc28a8 44a12fc5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -50,7 +50,9 @@ public interface DeviceIndexFeatureProvider {
    // When the device language changes, re-index so Slices trigger in device language.
    Locale LANGUAGE = Locale.getDefault();

    boolean isIndexingEnabled();
    default boolean isIndexingEnabled() {
        return false;
    }

    void index(Context context, CharSequence title, Uri sliceUri, Uri launchUri,
            List<String> keywords);
+0 −5
Original line number Diff line number Diff line
@@ -21,11 +21,6 @@ import java.util.List;

public class DeviceIndexFeatureProviderImpl implements DeviceIndexFeatureProvider {

    @Override
    public boolean isIndexingEnabled() {
        return false;
    }

    @Override
    public void index(Context context, CharSequence title, Uri sliceUri, Uri launchUri,
            List<String> keywords) {