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