Merge pull request #7529 from zackhow/atv-exit

Android: fix ATV not exiting
This commit is contained in:
Pierre Bourdon 2018-10-29 02:34:59 +01:00 committed by GitHub
commit 2b905eb06a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -572,6 +572,7 @@ public final class EmulationActivity extends AppCompatActivity
if (TvUtil.isLeanback(getApplicationContext())) if (TvUtil.isLeanback(getApplicationContext()))
toggleMenu(); // Hide the menu (it will be showing since we just clicked it) toggleMenu(); // Hide the menu (it will be showing since we just clicked it)
mEmulationFragment.stopEmulation(); mEmulationFragment.stopEmulation();
finish();
return; return;
} }
} }