mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
removed junk
This commit is contained in:
parent
e6366eaf02
commit
ef655cd243
1 changed files with 7 additions and 10 deletions
|
@ -62,17 +62,10 @@ public class OculusMobileActivity extends QtActivity implements SurfaceHolder.Ca
|
|||
mView = new SurfaceView(this);
|
||||
mView.getHolder().addCallback(this);
|
||||
|
||||
// mainHandler=new Handler(Looper.getMainLooper());
|
||||
|
||||
nativeOnCreate();
|
||||
questNativeOnCreate();
|
||||
}
|
||||
|
||||
|
||||
// public static void runOnMainThread(Runnable run){
|
||||
// mainHandler.post(run);
|
||||
// }
|
||||
|
||||
public void onAppLoadedComplete() {
|
||||
Log.w(TAG, "QQQ Load Completed");
|
||||
isLoading=false;
|
||||
|
@ -101,16 +94,20 @@ public class OculusMobileActivity extends QtActivity implements SurfaceHolder.Ca
|
|||
Log.w(TAG, "QQQ onResume");
|
||||
super.onResume();
|
||||
|
||||
nativeOnResume();
|
||||
questNativeOnResume();
|
||||
nativeOnResume();
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onPause() {
|
||||
Log.w(TAG, "QQQ onPause");
|
||||
super.onPause();
|
||||
nativeOnPause();
|
||||
questNativeOnPause();
|
||||
|
||||
if (!isLoading) {
|
||||
questNativeOnPause();
|
||||
nativeOnPause();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue