WelcomeActivity: do nothing on back press
Devices with a hardware back button, such as atv remotes, can press back on the welcome screen and trigger a transition to a waiting screen then back to welcome. This should not be allowed. Change-Id: I2273d0d74fb1ef018074d4facc8e3793e7470f6f
This commit is contained in:
committed by
Oliver Scott
parent
112f926f77
commit
a09594c415
@@ -60,6 +60,10 @@ public class WelcomeActivity extends SubBaseActivity {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getLayoutResId() {
|
||||
return R.layout.welcome_activity;
|
||||
|
||||
Reference in New Issue
Block a user