mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
Changed Java source file to use constant from API instead of just a String.
This commit is contained in:
@@ -482,7 +482,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
||||
setOnKeyListener(this);
|
||||
setOnTouchListener(this);
|
||||
|
||||
mSensorManager = (SensorManager)context.getSystemService("sensor");
|
||||
mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE);
|
||||
|
||||
// Some arbitrary defaults to avoid a potential division by zero
|
||||
mWidth = 1.0f;
|
||||
|
||||
Reference in New Issue
Block a user