Compare commits

..

No commits in common. "56806f0349d9947e843664cc1175f003d67af026" and "054ab6d84b9a1f7b28742afa1c01ab2ee2200469" have entirely different histories.

5 changed files with 22 additions and 31 deletions

View File

@ -11,8 +11,8 @@ android {
compileSdkVersion 29
buildToolsVersion '29.0.2'
useLibrary 'org.apache.http.legacy'
versionCode 101
versionName "1.6.25"
versionCode 100
versionName "1.6.24"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View File

@ -10,8 +10,8 @@
{
"type": "SINGLE",
"filters": [],
"versionCode": 101,
"versionName": "1.6.25-googlePlay",
"versionCode": 100,
"versionName": "1.6.24-googlePlay",
"outputFile": "app-googlePlayFlavor-release.apk"
}
]

View File

@ -273,10 +273,7 @@ public class ReceiverCoordinator
if(Rule.isAnyRuleUsing(Trigger.Trigger_Enum.activityDetection))
{
Object runResult = Miscellaneous.runMethodReflective("ActivityDetectionReceiver", "isActivityDetectionReceiverRunning", null);;
if(runResult instanceof Boolean)
{
boolean isRunning = (Boolean) runResult;
boolean isRunning = (Boolean)Miscellaneous.runMethodReflective("ActivityDetectionReceiver", "isActivityDetectionReceiverRunning", null);
if(isRunning)
{
Miscellaneous.logEvent("i", "LocationProvider", "Restarting ActivityDetectionReceiver because used in a new/changed rule.", 4);
@ -294,13 +291,9 @@ public class ReceiverCoordinator
// ActivityDetectionReceiver.startActivityDetectionReceiver();
}
}
}
else
{
Object runResult = Miscellaneous.runMethodReflective(activityDetectionClassPath, "isActivityDetectionReceiverRunning", null);
if(runResult instanceof Boolean)
{
boolean isRunning = (Boolean) runResult;
boolean isRunning = (Boolean)Miscellaneous.runMethodReflective("ActivityDetectionReceiver", "isActivityDetectionReceiverRunning", null);
if(isRunning)
{
Miscellaneous.logEvent("i", "LocationProvider", "Shutting down ActivityDetectionReceiver because not used in any rule.", 4);
@ -308,7 +301,6 @@ public class ReceiverCoordinator
// ActivityDetectionReceiver.stopActivityDetectionReceiver();
}
}
}
if(Rule.isAnyRuleUsing(Trigger.Trigger_Enum.bluetoothConnection))
{

View File

@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "com.android.tools.build:gradle:4.1.2"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

View File

@ -1 +0,0 @@
Fixed bug that crashed the app when saving rules while the service was running.