mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 22:51:20 +02:00
Revert audio fix
This commit is contained in:
parent
5a73da6fdf
commit
e10b716507
1 changed files with 1 additions and 6 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue