Let SuggestionFeatureProvider manage SuggestionService name
Bug: 65065268 Test: robotests Change-Id: I82315a7b1565dc34b516bf685ad8e831a1e28591
This commit is contained in:
@@ -79,6 +79,13 @@ public class SuggestionFeatureProviderImpl implements SuggestionFeatureProvider
|
||||
return !isLowRamDevice && isV2Enabled();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ComponentName getSuggestionServiceComponent() {
|
||||
return new ComponentName(
|
||||
"com.android.settings.intelligence",
|
||||
"com.android.settings.intelligence.suggestions.SuggestionService");
|
||||
}
|
||||
|
||||
private static boolean isV2Enabled() {
|
||||
return FeatureFlagUtils.isEnabled(FEATURE_FLAG_SUGGESTIONS_V2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user