mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
Fix some handling of the Android activity lifecycle that upset the window manager
This commit is contained in:
parent
735ad02fb4
commit
eb7c54b95c
@ -157,18 +157,16 @@ public class Game extends Activity implements OnGenericMotionListener, OnTouchLi
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPause() {
|
||||
displayedFailureDialog = true;
|
||||
conn.stop();
|
||||
finish();
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
protected void onStop() {
|
||||
super.onStop();
|
||||
|
||||
SpinnerDialog.closeDialogs();
|
||||
Dialog.closeDialogs();
|
||||
super.onDestroy();
|
||||
|
||||
displayedFailureDialog = true;
|
||||
conn.stop();
|
||||
|
||||
finish();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user