Skip to content

Not trying to connect when Bluetooth is disabled.#363

Open
sharppaul wants to merge 3 commits intodon:masterfrom
sharppaul:master
Open

Not trying to connect when Bluetooth is disabled.#363
sharppaul wants to merge 3 commits intodon:masterfrom
sharppaul:master

Conversation

@sharppaul
Copy link

Improved LogCat messages.
Caught NullPointerExceptions (occured when Bluetooth was disabled AND Android Location services was disabled)

Note: this change does require JAVA 7 or higher e.g. with this in build.gradle:

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }

The reason for this is catching multiple distinct Exceptions in one catch block.

sharppaul added 3 commits May 2, 2018 12:52
Improved LogCat messages.
Caught NullPointerExceptions (occured when Bluetooth was disabled AND Android Location services was disabled)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant