Skip to content

Commit

Permalink
Added IVD to resumption without data check
Browse files Browse the repository at this point in the history
  • Loading branch information
mked-luxoft committed Nov 14, 2018
1 parent 6f80059 commit b787f38
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,12 @@ bool ResumptionDataProcessor::HasSubscriptionsToRestore(
const bool has_waypoints_subscriptions =
subscriptions[strings::subscribed_for_way_points].asBool();

const bool has_subscriptions_to_restore = has_ivi_subscriptions ||
has_button_subscriptions ||
has_waypoints_subscriptions;
const bool has_interior_vehicle_data_to_restore =
!subscriptions[kModuleData].empty();

const bool has_subscriptions_to_restore =
has_ivi_subscriptions || has_button_subscriptions ||
has_waypoints_subscriptions || has_interior_vehicle_data_to_restore;

LOG4CXX_DEBUG(logger_,
std::boolalpha << "Application has subscriptions to restore: "
Expand Down

0 comments on commit b787f38

Please sign in to comment.