diff --git a/core/java/com/android/internal/app/AssistUtils.java b/core/java/com/android/internal/app/AssistUtils.java index 9171959537c87..4f742843eb124 100644 --- a/core/java/com/android/internal/app/AssistUtils.java +++ b/core/java/com/android/internal/app/AssistUtils.java @@ -152,6 +152,12 @@ public class AssistUtils { return ComponentName.unflattenFromString(setting); } + final String defaultSetting = mContext.getResources().getString( + R.string.config_defaultAssistantComponentName); + if (defaultSetting != null) { + return ComponentName.unflattenFromString(defaultSetting); + } + // Fallback to keep backward compatible behavior when there is no user setting. if (activeServiceSupportsAssistGesture()) { return getActiveServiceComponentName(); diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 1fbf8d8e541d7..ec87100e80b85 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -3533,4 +3533,8 @@ 85% + + + + diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 954b9bcfd7ff9..e4cf4f6210f92 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -3423,4 +3423,6 @@ + +