Fixed airplane mode trigger not working
This commit is contained in:
@@ -136,6 +136,11 @@ public class ConnectivityReceiver extends BroadcastReceiver implements Automatio
|
||||
// Airplane mode status has changed.
|
||||
Miscellaneous.logEvent("i", "Connectivity", "Airplane mode changed.", 2);
|
||||
boolean isAirplaneMode = isAirplaneMode(context);
|
||||
|
||||
/*
|
||||
If the user doesn't have any locations this service is probably off and therefore null.
|
||||
*/
|
||||
if(automationServiceRef.getLocationProvider() != null)
|
||||
automationServiceRef.getLocationProvider().handleAirplaneMode(isAirplaneMode);
|
||||
|
||||
ArrayList<Rule> ruleCandidates = Rule.findRuleCandidates(Trigger_Enum.airplaneMode);
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
* Fixed: trigger url result was not stored correctly in a variable
|
||||
* Fixed: Crash when clicking +/- when creating/editing TimeFrame trigger
|
||||
* Fixed: Permission BLUETOOTH_CONNECT requested for Bluetooth trigger editor in Google Play version
|
||||
* Fixed: Airplane mode trigger didn't work if no locations where defined.
|
||||
* Added Possibility to select UI theme, hence enabling modern UI designs
|
||||
Reference in New Issue
Block a user