Charging trigger bug fixed
This commit is contained in:
parent
36173f2fcb
commit
ea01806915
@ -36,7 +36,7 @@ android {
|
|||||||
{
|
{
|
||||||
dimension "version"
|
dimension "version"
|
||||||
versionNameSuffix "-googlePlay"
|
versionNameSuffix "-googlePlay"
|
||||||
targetSdkVersion 31
|
targetSdkVersion 32
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -138,6 +138,7 @@ public class BatteryReceiver extends BroadcastReceiver implements AutomationList
|
|||||||
this.actionCharging(context);
|
this.actionCharging(context);
|
||||||
break;
|
break;
|
||||||
case BatteryManager.BATTERY_STATUS_DISCHARGING:
|
case BatteryManager.BATTERY_STATUS_DISCHARGING:
|
||||||
|
case BatteryManager.BATTERY_STATUS_NOT_CHARGING:
|
||||||
this.actionDischarging(context);
|
this.actionDischarging(context);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1 +1,3 @@
|
|||||||
* Fixed: Added device admin permission for start-phone-call action
|
* Fixed: Added device admin permission for start-phone-call action
|
||||||
|
* Fixed: Trigger "battery is charging" would only fire once and not after disconnecting and connecting charger
|
||||||
|
* Change: Was forced to raise targetSdk to 32 for Google Play version. If that should break something, consider switching to the F-Droid or APK version.
|
Loading…
Reference in New Issue
Block a user