Skip to content
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

Fix/Delay OnHMIStatus until RAI response is sent #3506

Merged
merged 6 commits into from
Sep 21, 2020

Conversation

ShobhitAd
Copy link
Contributor

@ShobhitAd ShobhitAd commented Sep 17, 2020

Fixes #3499

This PR is not ready for review.

Risk

This PR makes no API changes.

Testing Plan

Manual testing with Test Suite App

Tasks Remaining:

  • [Run ATF regression]

CLA

"Application "
<< app->app_id()
<< " not ready to receive OnHMIStatus. Delaying notification");
pending_hmistatus_notification_apps_.insert(app->app_id());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should probably be a lock used around pending_hmistatus_notification_apps_ usage

@@ -430,6 +431,7 @@ class StateControllerImpl : public event_engine::EventObserver,
typedef std::list<WindowStatePair> WindowStatePairs;
std::map<uint32_t, WindowStatePairs> postponed_app_widgets_;

std::unordered_set<uint32_t> pending_hmistatus_notification_apps_;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe rename to apps_with_pending_hmistatus_notification_

@ShobhitAd ShobhitAd merged commit 93202c3 into develop Sep 21, 2020
@ShobhitAd ShobhitAd deleted the fix/delay_onhmistatus_until_rai_response_is_sent branch September 21, 2020 17:56
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.

2 participants