diff --git a/.gitignore b/.gitignore index 74284c48..5a04663f 100644 --- a/.gitignore +++ b/.gitignore @@ -148,3 +148,4 @@ fabric.properties /app/app-release.apk Automation_settings.xml +/app/googlePlayFlavor/ diff --git a/app/src/main/java/com/jens/automation2/receivers/ConnectivityReceiver.java b/app/src/main/java/com/jens/automation2/receivers/ConnectivityReceiver.java index 5345d8c8..8fb4e978 100644 --- a/app/src/main/java/com/jens/automation2/receivers/ConnectivityReceiver.java +++ b/app/src/main/java/com/jens/automation2/receivers/ConnectivityReceiver.java @@ -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;