正在查看: Uptodown App Store v6.80 应用的 TvSearchActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Uptodown App Store v6.80 应用的 TvSearchActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.uptodown.tv.ui.activity;
import android.os.Bundle;
import android.speech.SpeechRecognizer;
import kotlin.jvm.internal.m;
import q2.AbstractC1115b;
public final class TvSearchActivity extends AbstractC1115b {
private SpeechRecognizer b;
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(2131558864);
if (SpeechRecognizer.isRecognitionAvailable(this)) {
this.b = SpeechRecognizer.createSpeechRecognizer(this);
}
}
protected void onPause() {
if (this.b != null && SpeechRecognizer.isRecognitionAvailable(this)) {
SpeechRecognizer speechRecognizer = this.b;
m.b(speechRecognizer);
speechRecognizer.stopListening();
SpeechRecognizer speechRecognizer2 = this.b;
m.b(speechRecognizer2);
speechRecognizer2.cancel();
SpeechRecognizer speechRecognizer3 = this.b;
m.b(speechRecognizer3);
speechRecognizer3.destroy();
}
this.b = null;
super.onPause();
}
}