diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index bf1c2d808..ea5142908 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -1,10 +1,10 @@ name: treehouses remote release on: + workflow_dispatch: push: branches: - 'master' - workflow_dispatch: jobs: apk: diff --git a/app/src/main/kotlin/io/treehouses/remote/fragments/dialogfragments/RPIDialogFragment.kt b/app/src/main/kotlin/io/treehouses/remote/fragments/dialogfragments/RPIDialogFragment.kt index 6242c5ffc..e166746c6 100644 --- a/app/src/main/kotlin/io/treehouses/remote/fragments/dialogfragments/RPIDialogFragment.kt +++ b/app/src/main/kotlin/io/treehouses/remote/fragments/dialogfragments/RPIDialogFragment.kt @@ -236,12 +236,12 @@ class RPIDialogFragment : BaseDialogFragment(), DeviceDeleteListener { } fun checkPiAddress(deviceHardwareAddress: String): Boolean { - val piAddress: Set = HashSet(listOf("B8:27:EB", "DC:A6:32", "E4:5F:01", "28:CD:C1", - "B8-27-EB", "DC-A6-32", "E4-5F-01", "28-CD-C1", - "B827.EB", "DCA6.32", "E45F.01", "28CD.C1", - "b8:27:eb", "dc:a6:32", "e4:5f:01", "28:cd:c1", - "b8-27-eb", "dc-a6-32", "e4-5f-01", "28-cd-c1", - "b827.eb", "dca6.32", "e45f.01", "28cd.c1")) + val piAddress: Set = HashSet(listOf("B8:27:EB", "DC:A6:32", "E4:5F:01", "28:CD:C1", "E4:F5:01", + "B8-27-EB", "DC-A6-32", "E4-5F-01", "28-CD-C1", "E4-F5-01", + "B827.EB", "DCA6.32", "E45F.01", "28CD.C1", "E4F5.01", + "b8:27:eb", "dc:a6:32", "e4:5f:01", "28:cd:c1", "e4:f5:01", + "b8-27-eb", "dc-a6-32", "e4-5f-01", "28-cd-c1", "e4-f5-01", + "b827.eb", "dca6.32", "e45f.01", "28cd.c1", "e4f5.01")) for (item in piAddress) { if (deviceHardwareAddress.contains(item)) return true }