mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 21:35:25 +00:00
Call Toast directly from activity.
Toast behaves strangely when not called inside the activity directly.
This commit is contained in:
parent
d3665c6e4e
commit
6e3cea60f7
@ -33,7 +33,6 @@ public class DisplayRefreshRateTest extends Activity {
|
||||
|
||||
public Renderer(Activity activity) {
|
||||
this.activity = activity;
|
||||
Toast.makeText(this.activity, "Touch the screen with your fingers for more accurate measurements.", Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
||||
private void setFPSSetting(double fps) {
|
||||
@ -107,6 +106,7 @@ public class DisplayRefreshRateTest extends Activity {
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
Toast.makeText(this, "Touch the screen with your fingers for more accurate measurements.", Toast.LENGTH_LONG).show();
|
||||
surfaceView = new GLSurfaceView(this);
|
||||
surfaceView.setEGLConfigChooser(false);
|
||||
surfaceView.setEGLContextClientVersion(2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user