am 6ef58987: Don\'t show orb when voice session is already running
* commit '6ef5898793ea5cda3767c219bd8a2c564991747c': Don't show orb when voice session is already running
This commit is contained in:
@@ -131,7 +131,7 @@ public class AssistManager {
|
||||
}
|
||||
|
||||
final boolean isService = isAssistantService();
|
||||
if (isService || !isVoiceSessionRunning()) {
|
||||
if (!isService || !isVoiceSessionRunning()) {
|
||||
showOrb();
|
||||
mView.postDelayed(mHideRunnable, isService
|
||||
? TIMEOUT_SERVICE
|
||||
@@ -227,10 +227,6 @@ public class AssistManager {
|
||||
mAssistUtils.launchVoiceAssistFromKeyguard();
|
||||
}
|
||||
|
||||
private boolean getVoiceInteractorSupportsAssistGesture() {
|
||||
return mAssistUtils.activeServiceSupportsAssistGesture();
|
||||
}
|
||||
|
||||
public boolean canVoiceAssistBeLaunchedFromKeyguard() {
|
||||
return mAssistUtils.activeServiceSupportsLaunchFromKeyguard();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user