mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 09:22:10 +02: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 = new SurfaceView(this);
|
||||||
mView.getHolder().addCallback(this);
|
mView.getHolder().addCallback(this);
|
||||||
|
|
||||||
// mainHandler=new Handler(Looper.getMainLooper());
|
|
||||||
|
|
||||||
nativeOnCreate();
|
nativeOnCreate();
|
||||||
questNativeOnCreate();
|
questNativeOnCreate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// public static void runOnMainThread(Runnable run){
|
|
||||||
// mainHandler.post(run);
|
|
||||||
// }
|
|
||||||
|
|
||||||
public void onAppLoadedComplete() {
|
public void onAppLoadedComplete() {
|
||||||
Log.w(TAG, "QQQ Load Completed");
|
Log.w(TAG, "QQQ Load Completed");
|
||||||
isLoading=false;
|
isLoading=false;
|
||||||
|
@ -101,16 +94,20 @@ public class OculusMobileActivity extends QtActivity implements SurfaceHolder.Ca
|
||||||
Log.w(TAG, "QQQ onResume");
|
Log.w(TAG, "QQQ onResume");
|
||||||
super.onResume();
|
super.onResume();
|
||||||
|
|
||||||
nativeOnResume();
|
|
||||||
questNativeOnResume();
|
questNativeOnResume();
|
||||||
|
nativeOnResume();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPause() {
|
protected void onPause() {
|
||||||
Log.w(TAG, "QQQ onPause");
|
Log.w(TAG, "QQQ onPause");
|
||||||
super.onPause();
|
super.onPause();
|
||||||
nativeOnPause();
|
|
||||||
questNativeOnPause();
|
if (!isLoading) {
|
||||||
|
questNativeOnPause();
|
||||||
|
nativeOnPause();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue