Battery receiver toasts removed

This commit is contained in:
Jens 2023-05-07 22:59:45 +02:00
parent 26e4851c0d
commit c464a9d71f
2 changed files with 4 additions and 3 deletions

View File

@ -225,7 +225,7 @@ public class BatteryReceiver extends BroadcastReceiver implements AutomationList
{
usbHostConnected = true;
Miscellaneous.logEvent("i", "BatteryReceiver", "Connected to computer.", 3);
Toast.makeText(context, "Connected to computer.", Toast.LENGTH_LONG).show();
// Toast.makeText(context, "Connected to computer.", Toast.LENGTH_LONG).show();
ArrayList<Rule> ruleCandidates = Rule.findRuleCandidates(Trigger_Enum.usb_host_connection);
// ArrayList<Rule> ruleCandidates = Rule.findRuleCandidatesByUsbHost(true);
@ -247,7 +247,7 @@ public class BatteryReceiver extends BroadcastReceiver implements AutomationList
{
usbHostConnected = false;
Miscellaneous.logEvent("i", "BatteryReceiver", "Disconnected from computer.", 3);
Toast.makeText(context, "Disconnected from computer.", Toast.LENGTH_LONG).show();
// Toast.makeText(context, "Disconnected from computer.", Toast.LENGTH_LONG).show();
ArrayList<Rule> ruleCandidates = Rule.findRuleCandidates(Trigger_Enum.usb_host_connection);
// ArrayList<Rule> ruleCandidates = Rule.findRuleCandidatesByUsbHost(false);

View File

@ -1,2 +1,3 @@
* Fixed: Run executable action - when editing values were not loaded in editor
* Added: Variables usable in intent parameters
* Added: Variables usable in intent parameters
* Removed: Removed toasts for computer connection/disconnection