Small fix/improvement

This commit is contained in:
M66B
2021-02-25 08:44:15 +01:00
parent 557a6c933e
commit d002f5bc21
2 changed files with 4 additions and 1 deletions

View File

@@ -423,7 +423,7 @@ public class ConnectionHelper {
}
static boolean airplaneMode(Context context) {
return Settings.System.getInt(context.getContentResolver(),
return Settings.Global.getInt(context.getContentResolver(),
Settings.Global.AIRPLANE_MODE_ON, 0) != 0;
}
}