Crash fixed in Java code
This commit is contained in:
@@ -107,7 +107,8 @@ public class MainActivity extends Activity {
|
||||
// Overrides Back key to use in our app
|
||||
if( mGLView != null )
|
||||
mGLView.nativeKey( keyCode, 1 );
|
||||
if( keyCode == KeyEvent.KEYCODE_BACK && !downloader.DownloadComplete )
|
||||
else
|
||||
if( keyCode == KeyEvent.KEYCODE_BACK && downloader != null && !downloader.DownloadComplete )
|
||||
onStop();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user