forked from smartdevicelink/sdl_core
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDL 0205] Avoid custom button subscription by default (smartdeviceli…
…nk#3744) * Add SubscribeButtonRequest and SubscribeButtonResponse classes * unsubscribe buttons implementation (#197) * Resume button subscriptions * Remove OnButtonSubscription notification * Unify approach to result codes processing * Add shared base class for mobile button notifications * Revert expired button requests if response was received after timeout * Fix CUSTOM_BUTTON subscription logic Was removed subscription to custom button by default. Also, added check if app is actually subscribed to CUSTOM_BUTTON like for all other buttons. * Separate subscription processing for mobile requests and resumption * Fix affected unit tests * Return on_event() back to HMI subscription request * Add unit tests for subscribe and unsubscribe button * Avoid subscribe to custom button by default * Address Livio comments * Address Livio comments * fixup! Address Livio comments * Update CUSTOM_BUTTON logic * Fix tests after merge conflicts Co-authored-by: Yana Chernysheva <ychernysheva@luxoft.com> Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com> Co-authored-by: Olha Vorobiova <olha.vorobiova@dxc.com>
- Loading branch information
1 parent
04c02ec
commit 6cbe18f
Showing
6 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters