Changelogs

This commit is contained in:
jens 2021-11-04 18:01:30 +01:00
parent 2bd94e8a3d
commit 88cdc366c5
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -148,3 +148,4 @@ fabric.properties
/app/app-release.apk
Automation_settings.xml
/app/googlePlayFlavor/

View File

@ -112,7 +112,7 @@ public class ConnectivityReceiver extends BroadcastReceiver implements Automatio
@SuppressLint("NewApi")
public static boolean isAirplaneMode(Context context)
{
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1)
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1)
{
int value = android.provider.Settings.System.getInt(context.getContentResolver(), android.provider.Settings.System.AIRPLANE_MODE_ON, 0);
return value != 0;