Merge "Remove unused AssistStateManager methods." into main
This commit is contained in:
@@ -33,8 +33,8 @@ public class AssistStateManager implements ResourceBasedOverride, SafeCloseable
|
||||
|
||||
public AssistStateManager() {}
|
||||
|
||||
/** Whether search is available. */
|
||||
public boolean isSearchAvailable() {
|
||||
/** Return {@code true} if the Settings toggle is enabled. */
|
||||
public boolean isSettingsAllEntrypointsEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -43,14 +43,9 @@ public class AssistStateManager implements ResourceBasedOverride, SafeCloseable
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Whether CsHelper CtS invocation path is available. */
|
||||
public Optional<Boolean> isCsHelperAvailable() {
|
||||
return Optional.empty();
|
||||
}
|
||||
|
||||
/** Whether VIS CtS invocation path is available. */
|
||||
public Optional<Boolean> isVisAvailable() {
|
||||
return Optional.empty();
|
||||
/** Whether ContextualSearchService invocation path is available. */
|
||||
public boolean isContextualSearchServiceAvailable() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Get the Launcher overridden long press nav handle duration to trigger Assistant. */
|
||||
@@ -90,11 +85,6 @@ public class AssistStateManager implements ResourceBasedOverride, SafeCloseable
|
||||
return Optional.empty();
|
||||
}
|
||||
|
||||
/** Return {@code true} if the Settings toggle is enabled. */
|
||||
public boolean isSettingsAllEntrypointsEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Dump states. */
|
||||
public void dump(String prefix, PrintWriter writer) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user