Revert audio fix

This commit is contained in:
Gabriel Calero 2018-05-17 14:26:36 -03:00
parent 5a73da6fdf
commit e10b716507

View file

@ -114,9 +114,7 @@ public class InterfaceActivity extends QtActivity {
@Override @Override
protected void onPause() { protected void onPause() {
super.onPause(); super.onPause();
if (!isLoading) { nativeEnterBackground();
nativeEnterBackground();
}
//gvrApi.pauseTracking(); //gvrApi.pauseTracking();
} }
@ -215,9 +213,6 @@ public class InterfaceActivity extends QtActivity {
public void onAppLoadedComplete() { public void onAppLoadedComplete() {
super.isLoading = false; super.isLoading = false;
new Handler(getMainLooper()).postDelayed(() -> {
nativeEnterBackground();
}, 2000);
} }
public void performHapticFeedback(int duration) { public void performHapticFeedback(int duration) {