mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-06-25 09:29:28 +00:00
Bugfix Gingerbread GLSurfaceView lifecycle
This commit is contained in:
parent
9a2044f75e
commit
933e99c927
|
@ -425,9 +425,10 @@ public class Apple2Activity extends Activity {
|
|||
mMainMenu = new Apple2MainMenu(this, mView);
|
||||
}
|
||||
|
||||
setContentView(mView);
|
||||
|
||||
if (!glViewFirstTime) {
|
||||
if (glViewFirstTime) {
|
||||
// HACK NOTE : do not blanket setContentView() ... it appears to wedge Gingerbread
|
||||
setContentView(mView);
|
||||
} else {
|
||||
mView.onResume();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user