From 2bb6f8159601339aebe51cda5deda5a81a79ad8a Mon Sep 17 00:00:00 2001 From: jens Date: Tue, 30 Nov 2021 18:25:51 +0100 Subject: [PATCH] Position trigger --- app/src/fdroidFlavor/java/com/jens/automation2/Rule.java | 3 +++ app/src/googlePlayFlavor/java/com/jens/automation2/Rule.java | 2 ++ 2 files changed, 5 insertions(+) diff --git a/app/src/fdroidFlavor/java/com/jens/automation2/Rule.java b/app/src/fdroidFlavor/java/com/jens/automation2/Rule.java index e2c1040b..363880b3 100644 --- a/app/src/fdroidFlavor/java/com/jens/automation2/Rule.java +++ b/app/src/fdroidFlavor/java/com/jens/automation2/Rule.java @@ -14,6 +14,7 @@ import android.telephony.TelephonyManager; import android.util.Log; import android.widget.Toast; +import com.google.android.gms.location.DetectedActivity; import com.jens.automation2.location.LocationProvider; import com.jens.automation2.location.WifiBroadcastReceiver; import com.jens.automation2.receivers.BatteryReceiver; @@ -347,6 +348,8 @@ public class Rule implements Comparable return true; case setWifiTethering: return true; + case setBluetoothTethering: + return true; default: break; } diff --git a/app/src/googlePlayFlavor/java/com/jens/automation2/Rule.java b/app/src/googlePlayFlavor/java/com/jens/automation2/Rule.java index d1664063..e541dc72 100644 --- a/app/src/googlePlayFlavor/java/com/jens/automation2/Rule.java +++ b/app/src/googlePlayFlavor/java/com/jens/automation2/Rule.java @@ -349,6 +349,8 @@ public class Rule implements Comparable return true; case setWifiTethering: return true; + case setBluetoothTethering: + return true; default: break; }