Remove focus
This commit is contained in:
parent
907ffcdf2c
commit
8af0bb5665
|
@ -39,13 +39,6 @@ public class MainActivity extends AppCompatActivity {
|
|||
ArrayList<VoiceLine> voiceLines = new ArrayList<>();
|
||||
private SpeechRecognizer sr;
|
||||
|
||||
@Override
|
||||
public void onWindowFocusChanged(boolean hasFocus) {
|
||||
if (hasFocus) {
|
||||
speak(voiceLines.get(0));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
|
Loading…
Reference in New Issue