From c464a9d71ff0cc1330e7350db864dbcfd2323d26 Mon Sep 17 00:00:00 2001 From: Jens Date: Sun, 7 May 2023 22:59:45 +0200 Subject: [PATCH] Battery receiver toasts removed --- .../java/com/jens/automation2/receivers/BatteryReceiver.java | 4 ++-- fastlane/metadata/android/en-US/changelogs/132.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/jens/automation2/receivers/BatteryReceiver.java b/app/src/main/java/com/jens/automation2/receivers/BatteryReceiver.java index e365ade8..0bced6c2 100644 --- a/app/src/main/java/com/jens/automation2/receivers/BatteryReceiver.java +++ b/app/src/main/java/com/jens/automation2/receivers/BatteryReceiver.java @@ -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 ruleCandidates = Rule.findRuleCandidates(Trigger_Enum.usb_host_connection); // ArrayList 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 ruleCandidates = Rule.findRuleCandidates(Trigger_Enum.usb_host_connection); // ArrayList ruleCandidates = Rule.findRuleCandidatesByUsbHost(false); diff --git a/fastlane/metadata/android/en-US/changelogs/132.txt b/fastlane/metadata/android/en-US/changelogs/132.txt index 0251351e..40c910b7 100644 --- a/fastlane/metadata/android/en-US/changelogs/132.txt +++ b/fastlane/metadata/android/en-US/changelogs/132.txt @@ -1,2 +1,3 @@ * Fixed: Run executable action - when editing values were not loaded in editor -* Added: Variables usable in intent parameters \ No newline at end of file +* Added: Variables usable in intent parameters +* Removed: Removed toasts for computer connection/disconnection \ No newline at end of file