Turn down app indexing for slices.
Bug: 112587202 Test: robotests Change-Id: Ice84173bd9617f58689438c460522104776c46ce
This commit is contained in:
@@ -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);
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user