Compare commits
No commits in common. "1a60c88f35d4855ec4b90254e120628477aa27a3" and "ea0180691598825d29d6c82ec180755639b9981e" have entirely different histories.
1a60c88f35
...
ea01806915
@ -70,7 +70,7 @@
|
|||||||
<application
|
<application
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:allowClearUserData="true"
|
android:allowClearUserData="true"
|
||||||
android:icon="@drawable/crane"
|
android:icon="@drawable/gears"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@style/AppTheme"
|
android:theme="@style/AppTheme"
|
||||||
android:networkSecurityConfig="@xml/network_security_config">
|
android:networkSecurityConfig="@xml/network_security_config">
|
||||||
|
@ -706,7 +706,7 @@ public class ActivityPermissions extends Activity
|
|||||||
case startPhoneCall:
|
case startPhoneCall:
|
||||||
addToArrayListUnique(Manifest.permission.CALL_PHONE, requiredPermissions);
|
addToArrayListUnique(Manifest.permission.CALL_PHONE, requiredPermissions);
|
||||||
// addToArrayListUnique(Manifest.permission.SYSTEM_ALERT_WINDOW, requiredPermissions);
|
// addToArrayListUnique(Manifest.permission.SYSTEM_ALERT_WINDOW, requiredPermissions);
|
||||||
addToArrayListUnique(Manifest.permission.SYSTEM_ALERT_WINDOW, requiredPermissions);
|
addToArrayListUnique(Manifest.permission.BIND_DEVICE_ADMIN, requiredPermissions);
|
||||||
break;
|
break;
|
||||||
case stopPhoneCall:
|
case stopPhoneCall:
|
||||||
addToArrayListUnique(Manifest.permission.ANSWER_PHONE_CALLS, requiredPermissions);
|
addToArrayListUnique(Manifest.permission.ANSWER_PHONE_CALLS, requiredPermissions);
|
||||||
@ -910,8 +910,6 @@ public class ActivityPermissions extends Activity
|
|||||||
case Manifest.permission.SYSTEM_ALERT_WINDOW:
|
case Manifest.permission.SYSTEM_ALERT_WINDOW:
|
||||||
for(String ruleName : getRulesUsing(Action.Action_Enum.startOtherActivity))
|
for(String ruleName : getRulesUsing(Action.Action_Enum.startOtherActivity))
|
||||||
usingElements.add(String.format(getResources().getString(R.string.ruleXrequiresThis), ruleName));
|
usingElements.add(String.format(getResources().getString(R.string.ruleXrequiresThis), ruleName));
|
||||||
for(String ruleName : getRulesUsing(Action.Action_Enum.startPhoneCall))
|
|
||||||
usingElements.add(String.format(getResources().getString(R.string.ruleXrequiresThis), ruleName));
|
|
||||||
break;
|
break;
|
||||||
case Manifest.permission.ANSWER_PHONE_CALLS:
|
case Manifest.permission.ANSWER_PHONE_CALLS:
|
||||||
for(String ruleName : getRulesUsing(Action.Action_Enum.stopPhoneCall))
|
for(String ruleName : getRulesUsing(Action.Action_Enum.stopPhoneCall))
|
||||||
@ -953,6 +951,8 @@ public class ActivityPermissions extends Activity
|
|||||||
case Manifest.permission.BIND_DEVICE_ADMIN:
|
case Manifest.permission.BIND_DEVICE_ADMIN:
|
||||||
for(String ruleName : getRulesUsing(Action.Action_Enum.turnScreenOnOrOff))
|
for(String ruleName : getRulesUsing(Action.Action_Enum.turnScreenOnOrOff))
|
||||||
usingElements.add(String.format(getResources().getString(R.string.ruleXrequiresThis), ruleName));
|
usingElements.add(String.format(getResources().getString(R.string.ruleXrequiresThis), ruleName));
|
||||||
|
for(String ruleName : getRulesUsing(Action.Action_Enum.startPhoneCall))
|
||||||
|
usingElements.add(String.format(getResources().getString(R.string.ruleXrequiresThis), ruleName));
|
||||||
break;
|
break;
|
||||||
case Manifest.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS:
|
case Manifest.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS:
|
||||||
usingElements.add(getResources().getString(R.string.recommendedForBetterReliability));
|
usingElements.add(getResources().getString(R.string.recommendedForBetterReliability));
|
||||||
|
@ -518,7 +518,7 @@ public class AutomationService extends Service implements OnInitListener
|
|||||||
builder.setContentTitle("Automation");
|
builder.setContentTitle("Automation");
|
||||||
|
|
||||||
if(Settings.showIconWhenServiceIsRunning)
|
if(Settings.showIconWhenServiceIsRunning)
|
||||||
builder.setSmallIcon(R.drawable.crane);
|
builder.setSmallIcon(R.drawable.ic_launcher);
|
||||||
|
|
||||||
builder.setCategory(Notification.CATEGORY_SERVICE);
|
builder.setCategory(Notification.CATEGORY_SERVICE);
|
||||||
builder.setWhen(System.currentTimeMillis());
|
builder.setWhen(System.currentTimeMillis());
|
||||||
@ -526,7 +526,7 @@ public class AutomationService extends Service implements OnInitListener
|
|||||||
|
|
||||||
Notification defaultNotification = builder.build();
|
Notification defaultNotification = builder.build();
|
||||||
|
|
||||||
defaultNotification.icon = R.drawable.crane;
|
defaultNotification.icon = R.drawable.ic_launcher;
|
||||||
defaultNotification.when = System.currentTimeMillis();
|
defaultNotification.when = System.currentTimeMillis();
|
||||||
|
|
||||||
// defaultNotification.defaults |= Notification.DEFAULT_VIBRATE;
|
// defaultNotification.defaults |= Notification.DEFAULT_VIBRATE;
|
||||||
@ -573,7 +573,7 @@ public class AutomationService extends Service implements OnInitListener
|
|||||||
builder.setOnlyAlertOnce(true);
|
builder.setOnlyAlertOnce(true);
|
||||||
|
|
||||||
if(Settings.showIconWhenServiceIsRunning)
|
if(Settings.showIconWhenServiceIsRunning)
|
||||||
builder.setSmallIcon(R.drawable.crane);
|
builder.setSmallIcon(R.drawable.ic_launcher);
|
||||||
|
|
||||||
// builder.setContentText(textToDisplay);
|
// builder.setContentText(textToDisplay);
|
||||||
// builder.setSmallIcon(icon);
|
// builder.setSmallIcon(icon);
|
||||||
|
@ -1164,7 +1164,7 @@ public class Miscellaneous extends Service
|
|||||||
builder.setOnlyAlertOnce(true);
|
builder.setOnlyAlertOnce(true);
|
||||||
|
|
||||||
if(Settings.showIconWhenServiceIsRunning && notificationChannelId.equals(AutomationService.NOTIFICATION_CHANNEL_ID_SERVICE))
|
if(Settings.showIconWhenServiceIsRunning && notificationChannelId.equals(AutomationService.NOTIFICATION_CHANNEL_ID_SERVICE))
|
||||||
builder.setSmallIcon(R.drawable.crane);
|
builder.setSmallIcon(R.drawable.ic_launcher);
|
||||||
else if(!notificationChannelId.equals(AutomationService.NOTIFICATION_CHANNEL_ID_SERVICE))
|
else if(!notificationChannelId.equals(AutomationService.NOTIFICATION_CHANNEL_ID_SERVICE))
|
||||||
builder.setSmallIcon(R.drawable.info);
|
builder.setSmallIcon(R.drawable.info);
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 13 KiB |
BIN
app/src/main/res/drawable-ldpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 13 KiB |
BIN
app/src/main/res/drawable-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 13 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
@ -882,8 +882,8 @@
|
|||||||
<string name="wifiMonitoringAlsoRequiresThis">This permission is also required if the trigger is using the current wifi connection.</string>
|
<string name="wifiMonitoringAlsoRequiresThis">This permission is also required if the trigger is using the current wifi connection.</string>
|
||||||
<string name="copyTextToClipboard">Copy text to clipboard</string>
|
<string name="copyTextToClipboard">Copy text to clipboard</string>
|
||||||
<string name="textToCopy">Text to copy</string>
|
<string name="textToCopy">Text to copy</string>
|
||||||
<string name="android.permission.SYSTEM_ALERT_WINDOW">Display over other apps</string>
|
<string name="android.permission.SYSTEM_ALERT_WINDOW">Draw over other apps</string>
|
||||||
<string name="overlayPermissionHint">After clicking OK you\'ll be sent to a system dialog. Please select Automation there and allow "Display over other apps".</string>
|
<string name="overlayPermissionHint">After clicking OK you\'ll be sent to a system dialog. Please select Automation there and allow "draw over other apps".</string>
|
||||||
<string name="variablesOnlyForTypes">Variables are only available for parameter types String and URI</string>
|
<string name="variablesOnlyForTypes">Variables are only available for parameter types String and URI</string>
|
||||||
<string name="intentParametersHint">If you want to specify a parameter you also have to click \"Add intent pair\". Otherwise your changes will not be saved.</string>
|
<string name="intentParametersHint">If you want to specify a parameter you also have to click \"Add intent pair\". Otherwise your changes will not be saved.</string>
|
||||||
</resources>
|
</resources>
|
@ -1,4 +1,3 @@
|
|||||||
* Fixed: Added overlay permission for start-phone-call action
|
* Fixed: Added device admin permission for start-phone-call action
|
||||||
* Change: Icon changed in Play store version
|
|
||||||
* Fixed: Trigger "battery is charging" would only fire once and not after disconnecting and connecting charger
|
* 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.
|
* 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.
|