mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 13:30:15 -07:00
Fix resolution resetting when launcher goes in the background
This commit is contained in:
parent
df3a908df0
commit
24d10d395c
2 changed files with 6 additions and 7 deletions
|
|
@ -698,13 +698,14 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
|
||||
@Override
|
||||
public void onSurfaceTextureUpdated(SurfaceTexture texture) {
|
||||
|
||||
texture.setDefaultBufferSize(CallbackBridge.windowWidth,CallbackBridge.windowHeight);
|
||||
}
|
||||
});
|
||||
} catch (Throwable e) {
|
||||
Tools.showError(this, e, true);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
@Override
|
||||
public boolean dispatchKeyEvent(KeyEvent event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue