Small fix to gyroscope config setting
This commit is contained in:
@@ -2406,8 +2406,11 @@ class Settings
|
|||||||
{
|
{
|
||||||
if( !Globals.AppUsesGyroscope || !AccelerometerReader.gyro.available(p) )
|
if( !Globals.AppUsesGyroscope || !AccelerometerReader.gyro.available(p) )
|
||||||
{
|
{
|
||||||
Toast toast = Toast.makeText(p, p.getResources().getString(R.string.calibrate_gyroscope_not_supported), Toast.LENGTH_LONG);
|
if( Globals.AppUsesGyroscope )
|
||||||
toast.show();
|
{
|
||||||
|
Toast toast = Toast.makeText(p, p.getResources().getString(R.string.calibrate_gyroscope_not_supported), Toast.LENGTH_LONG);
|
||||||
|
toast.show();
|
||||||
|
}
|
||||||
goBack(p);
|
goBack(p);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Submodule project/jni/application/openarena/engine updated: 4d88204dbe...23419a71a1
Reference in New Issue
Block a user