Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Zabka
Companion App Android
Commits
bc9ac754
Commit
bc9ac754
authored
Aug 21, 2019
by
Anon
Browse files
Remove incorrect device check.
parent
7ec79dfe
Changes
1
Show whitespace changes
Inline
Side-by-side
app/src/main/java/de/ccc/events/badge/card10/common/ConnectionService.kt
View file @
bc9ac754
...
...
@@ -63,10 +63,6 @@ object ConnectionService {
}
fun
connect
(
context
:
Context
)
{
if
(
device
==
null
)
{
throw
IllegalStateException
()
}
// Use first BLE devices that is bonded
val
bondedDevices
=
BluetoothAdapter
.
getDefaultAdapter
().
bondedDevices
.
filter
{
it
.
address
.
startsWith
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment