-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[androiddebugbridge] Reconnect on max timeouts and improve volume channel #15788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[androiddebugbridge] Reconnect on max timeouts and improve volume channel #15788
Conversation
…nnel Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
dac7986 to
44d8dac
Compare
lsiepel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Could you also update update the readme.md with these changes?
|
Sure, I totally forgot, and thank you for the review! |
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
...in/java/org/openhab/binding/androiddebugbridge/internal/AndroidDebugBridgeConfiguration.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
|
I think the pipeline has failed due a small GitHub downtime. |
lolodomo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you
…nnel (openhab#15788) * [androiddebugbridge] Reconnect on max timeouts and improve volume channel --------- Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
…nnel (openhab#15788) * [androiddebugbridge] Reconnect on max timeouts and improve volume channel --------- Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Hello,
This PR introduces an option to reset the adb connection after a configurable number of consecutive timeouts. It seems to solve an issue I was occasionally having after letting the device (Chomecast with Google TV) sleeping for a while.
Also adds support for the INCREASE and DECREASE command to the volume channel which were incorrectly handled before.
I have also moved the load of the adb keys from the static context to the activate method of the thing handler.
Hope everything is in place, best regards.