diff options
23 files changed, 59 insertions, 56 deletions
diff --git a/payload_consumer/delta_performer.cc b/payload_consumer/delta_performer.cc index c38c0b13..133c7e66 100644 --- a/payload_consumer/delta_performer.cc +++ b/payload_consumer/delta_performer.cc @@ -376,11 +376,11 @@ bool DeltaPerformer::OpenCurrentPartition() { int err; int flags = O_RDWR; - if (!is_interactive_) + if (!interactive_) flags |= O_DSYNC; LOG(INFO) << "Opening " << target_path_ << " partition with" - << (is_interactive_ ? "out" : "") << " O_DSYNC"; + << (interactive_ ? "out" : "") << " O_DSYNC"; target_fd_ = OpenFile(target_path_.c_str(), flags, true, &err); if (!target_fd_) { diff --git a/payload_consumer/delta_performer.h b/payload_consumer/delta_performer.h index d5ca7991..7076b4f7 100644 --- a/payload_consumer/delta_performer.h +++ b/payload_consumer/delta_performer.h @@ -81,14 +81,14 @@ class DeltaPerformer : public FileWriter { DownloadActionDelegate* download_delegate, InstallPlan* install_plan, InstallPlan::Payload* payload, - bool is_interactive) + bool interactive) : prefs_(prefs), boot_control_(boot_control), hardware_(hardware), download_delegate_(download_delegate), install_plan_(install_plan), payload_(payload), - is_interactive_(is_interactive) {} + interactive_(interactive) {} // FileWriter's Write implementation where caller doesn't care about // error codes. @@ -396,7 +396,7 @@ class DeltaPerformer : public FileWriter { unsigned last_progress_chunk_{0}; // If |true|, the update is user initiated (vs. periodic update checks). - bool is_interactive_{false}; + bool interactive_{false}; // The timeout after which we should force emitting a progress log (constant), // and the actual point in time for the next forced log to be emitted. diff --git a/payload_consumer/delta_performer_integration_test.cc b/payload_consumer/delta_performer_integration_test.cc index e970a569..f415f1d9 100644 --- a/payload_consumer/delta_performer_integration_test.cc +++ b/payload_consumer/delta_performer_integration_test.cc @@ -748,7 +748,7 @@ static void ApplyDeltaFile(bool full_kernel, bool full_rootfs, bool noop, &state->mock_delegate_, install_plan, &install_plan->payloads[0], - false /* is_interactive */); + false /* interactive */); string public_key_path = GetBuildArtifactsPath(kUnittestPublicKeyPath); EXPECT_TRUE(utils::FileExists(public_key_path.c_str())); (*performer)->set_public_key_path(public_key_path); diff --git a/payload_consumer/delta_performer_unittest.cc b/payload_consumer/delta_performer_unittest.cc index bad7bf0b..5835fe8c 100644 --- a/payload_consumer/delta_performer_unittest.cc +++ b/payload_consumer/delta_performer_unittest.cc @@ -391,7 +391,7 @@ class DeltaPerformerTest : public ::testing::Test { &mock_delegate_, &install_plan_, &payload_, - false /* is_interactive*/}; + false /* interactive*/}; }; TEST_F(DeltaPerformerTest, FullPayloadWriteTest) { diff --git a/payload_consumer/download_action.cc b/payload_consumer/download_action.cc index 4d46d4fd..1654c2a3 100644 --- a/payload_consumer/download_action.cc +++ b/payload_consumer/download_action.cc @@ -44,13 +44,13 @@ DownloadAction::DownloadAction(PrefsInterface* prefs, HardwareInterface* hardware, SystemState* system_state, HttpFetcher* http_fetcher, - bool is_interactive) + bool interactive) : prefs_(prefs), boot_control_(boot_control), hardware_(hardware), system_state_(system_state), http_fetcher_(new MultiRangeHttpFetcher(http_fetcher)), - is_interactive_(is_interactive), + interactive_(interactive), writer_(nullptr), code_(ErrorCode::kSuccess), delegate_(nullptr), @@ -251,7 +251,7 @@ void DownloadAction::StartDownloading() { delegate_, &install_plan_, payload_, - is_interactive_)); + interactive_)); writer_ = delta_performer_.get(); } if (system_state_ != nullptr) { diff --git a/payload_consumer/download_action.h b/payload_consumer/download_action.h index 81d7333c..6e6f057b 100644 --- a/payload_consumer/download_action.h +++ b/payload_consumer/download_action.h @@ -79,7 +79,7 @@ class DownloadAction : public InstallPlanAction, HardwareInterface* hardware, SystemState* system_state, HttpFetcher* http_fetcher, - bool is_interactive); + bool interactive); ~DownloadAction() override; // InstallPlanAction overrides. @@ -158,7 +158,7 @@ class DownloadAction : public InstallPlanAction, // If |true|, the update is user initiated (vs. periodic update checks). Hence // the |delta_performer_| can decide not to use O_DSYNC flag for faster // update. - bool is_interactive_; + bool interactive_; // The FileWriter that downloaded data should be written to. It will // either point to *decompressing_file_writer_ or *delta_performer_. diff --git a/payload_consumer/download_action_unittest.cc b/payload_consumer/download_action_unittest.cc index daab9241..5dac5507 100644 --- a/payload_consumer/download_action_unittest.cc +++ b/payload_consumer/download_action_unittest.cc @@ -166,7 +166,7 @@ void TestWithData(const brillo::Blob& data, fake_system_state.hardware(), &fake_system_state, http_fetcher, - false /* is_interactive */); + false /* interactive */); download_action.SetTestFileWriter(&writer); BondActions(&feeder_action, &download_action); MockDownloadActionDelegate download_delegate; @@ -282,7 +282,7 @@ TEST(DownloadActionTest, MultiPayloadProgressTest) { fake_system_state.hardware(), &fake_system_state, http_fetcher, - false /* is_interactive */); + false /* interactive */); download_action.SetTestFileWriter(&mock_file_writer); BondActions(&feeder_action, &download_action); MockDownloadActionDelegate download_delegate; @@ -372,7 +372,7 @@ void TestTerminateEarly(bool use_download_delegate) { fake_system_state_.hardware(), &fake_system_state_, new MockHttpFetcher(data.data(), data.size(), nullptr), - false /* is_interactive */); + false /* interactive */); download_action.SetTestFileWriter(&writer); MockDownloadActionDelegate download_delegate; if (use_download_delegate) { @@ -474,7 +474,7 @@ TEST(DownloadActionTest, PassObjectOutTest) { fake_system_state_.hardware(), &fake_system_state_, new MockHttpFetcher("x", 1, nullptr), - false /* is_interactive */); + false /* interactive */); download_action.SetTestFileWriter(&writer); DownloadActionTestAction test_action; @@ -564,7 +564,7 @@ class P2PDownloadActionTest : public testing::Test { fake_system_state_.hardware(), &fake_system_state_, http_fetcher_, - false /* is_interactive */)); + false /* interactive */)); download_action_->SetTestFileWriter(&writer); BondActions(&feeder_action, download_action_.get()); DownloadActionTestProcessorDelegate delegate(ErrorCode::kSuccess); diff --git a/payload_generator/generate_delta_main.cc b/payload_generator/generate_delta_main.cc index a20a567b..f6409a20 100644 --- a/payload_generator/generate_delta_main.cc +++ b/payload_generator/generate_delta_main.cc @@ -226,7 +226,7 @@ bool ApplyPayload(const string& payload_file, nullptr, &install_plan, &payload, - true); // is_interactive + true); // interactive brillo::Blob buf(1024 * 1024); int fd = open(payload_file.c_str(), O_RDONLY, 0); diff --git a/payload_state_unittest.cc b/payload_state_unittest.cc index f1c3835e..f71a8c10 100644 --- a/payload_state_unittest.cc +++ b/payload_state_unittest.cc @@ -639,7 +639,7 @@ TEST(PayloadStateTest, NoBackoffInteractiveChecks) { PayloadState payload_state; FakeSystemState fake_system_state; OmahaRequestParams params(&fake_system_state); - params.Init("", "", true); // is_interactive = True. + params.Init("", "", true); // interactive = True. fake_system_state.set_request_params(¶ms); EXPECT_TRUE(payload_state.Initialize(&fake_system_state)); @@ -662,7 +662,7 @@ TEST(PayloadStateTest, NoBackoffForP2PUpdates) { PayloadState payload_state; FakeSystemState fake_system_state; OmahaRequestParams params(&fake_system_state); - params.Init("", "", false); // is_interactive = False. + params.Init("", "", false); // interactive = False. fake_system_state.set_request_params(¶ms); EXPECT_TRUE(payload_state.Initialize(&fake_system_state)); diff --git a/update_attempter.cc b/update_attempter.cc index a1cec07f..fa172dff 100644 --- a/update_attempter.cc +++ b/update_attempter.cc @@ -863,11 +863,10 @@ void UpdateAttempter::OnUpdateScheduled(EvalStatus status, return; } - LOG(INFO) << "Running " - << (params.is_interactive ? "interactive" : "periodic") + LOG(INFO) << "Running " << (params.interactive ? "interactive" : "periodic") << " update."; - if (!params.is_interactive) { + if (!params.interactive) { // Cache the update attempt flags that will be used by this update attempt // so that they can't be changed mid-way through. current_update_attempt_flags_ = update_attempt_flags_; @@ -876,8 +875,12 @@ void UpdateAttempter::OnUpdateScheduled(EvalStatus status, LOG(INFO) << "Update attempt flags in use = 0x" << std::hex << current_update_attempt_flags_; - Update(forced_app_version_, forced_omaha_url_, params.target_channel, - params.target_version_prefix, false, params.is_interactive); + Update(forced_app_version_, + forced_omaha_url_, + params.target_channel, + params.target_version_prefix, + false, + params.interactive); // Always clear the forced app_version and omaha_url after an update attempt // so the next update uses the defaults. forced_app_version_.clear(); diff --git a/update_attempter.h b/update_attempter.h index 2ec6174a..82fe4c0a 100644 --- a/update_attempter.h +++ b/update_attempter.h @@ -344,7 +344,7 @@ class UpdateAttempter : public ActionProcessorDelegate, // which type of scattering is enabled, etc.) and also updates/deletes // the corresponding prefs file used in scattering. Should be called // only after the device policy has been loaded and set in the system_state_. - void CalculateScatteringParams(bool is_interactive); + void CalculateScatteringParams(bool interactive); // Sets a random value for the waiting period to wait for before downloading // an update, if one available. This value will be upperbounded by the diff --git a/update_attempter_android.cc b/update_attempter_android.cc index 5ee0584d..4ec58d07 100644 --- a/update_attempter_android.cc +++ b/update_attempter_android.cc @@ -535,7 +535,7 @@ void UpdateAttempterAndroid::BuildUpdateActions(const string& url) { hardware_, nullptr, // system_state, not used. download_fetcher, // passes ownership - true /* is_interactive */)); + true /* interactive */)); shared_ptr<FilesystemVerifierAction> filesystem_verifier_action( new FilesystemVerifierAction()); diff --git a/update_attempter_unittest.cc b/update_attempter_unittest.cc index 240e4ec0..4677d317 100644 --- a/update_attempter_unittest.cc +++ b/update_attempter_unittest.cc @@ -204,7 +204,7 @@ TEST_F(UpdateAttempterTest, ActionCompletedDownloadTest) { nullptr, nullptr, fetcher.release(), - false /* is_interactive */); + false /* interactive */); EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)).Times(0); attempter_.ActionCompleted(nullptr, &action, ErrorCode::kSuccess); EXPECT_EQ(UpdateStatus::FINALIZING, attempter_.status()); diff --git a/update_manager/android_things_policy.cc b/update_manager/android_things_policy.cc index d4b9442b..20d10d8c 100644 --- a/update_manager/android_things_policy.cc +++ b/update_manager/android_things_policy.cc @@ -53,7 +53,7 @@ EvalStatus AndroidThingsPolicy::UpdateCheckAllowed( result->updates_enabled = true; result->target_channel.clear(); result->target_version_prefix.clear(); - result->is_interactive = false; + result->interactive = false; // Build a list of policies to consult. Note that each policy may modify the // result structure, even if it signals kContinue. diff --git a/update_manager/android_things_policy_unittest.cc b/update_manager/android_things_policy_unittest.cc index 8a50bc21..6961efcb 100644 --- a/update_manager/android_things_policy_unittest.cc +++ b/update_manager/android_things_policy_unittest.cc @@ -97,7 +97,7 @@ TEST_F(UmAndroidThingsPolicyTest, UpdateCheckAllowedWaitsForTheTimeout) { ExpectPolicyStatus( EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); EXPECT_TRUE(result.updates_enabled); - EXPECT_FALSE(result.is_interactive); + EXPECT_FALSE(result.interactive); } TEST_F(UmAndroidThingsPolicyTest, @@ -140,7 +140,7 @@ TEST_F(UmAndroidThingsPolicyTest, ExpectPolicyStatus( EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); EXPECT_TRUE(result.updates_enabled); - EXPECT_TRUE(result.is_interactive); + EXPECT_TRUE(result.interactive); } TEST_F(UmAndroidThingsPolicyTest, @@ -156,7 +156,7 @@ TEST_F(UmAndroidThingsPolicyTest, ExpectPolicyStatus( EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); EXPECT_TRUE(result.updates_enabled); - EXPECT_FALSE(result.is_interactive); + EXPECT_FALSE(result.interactive); } TEST_F(UmAndroidThingsPolicyTest, UpdateCanBeAppliedOk) { diff --git a/update_manager/chromeos_policy.cc b/update_manager/chromeos_policy.cc index a56758fd..ae2ec9d6 100644 --- a/update_manager/chromeos_policy.cc +++ b/update_manager/chromeos_policy.cc @@ -199,7 +199,7 @@ EvalStatus ChromeOSPolicy::UpdateCheckAllowed( result->updates_enabled = true; result->target_channel.clear(); result->target_version_prefix.clear(); - result->is_interactive = false; + result->interactive = false; EnoughSlotsAbUpdatesPolicyImpl enough_slots_ab_updates_policy; EnterpriseDevicePolicyImpl enterprise_device_policy; @@ -324,7 +324,7 @@ EvalStatus ChromeOSPolicy::UpdateCanStart( bool is_scattering_applicable = false; result->scatter_wait_period = kZeroInterval; result->scatter_check_threshold = 0; - if (!update_state.is_interactive) { + if (!update_state.interactive) { const bool* is_oobe_enabled_p = ec->GetValue( state->config_provider()->var_is_oobe_enabled()); if (is_oobe_enabled_p && !(*is_oobe_enabled_p)) { @@ -372,7 +372,7 @@ EvalStatus ChromeOSPolicy::UpdateCanStart( // interactive, and other limits haven't been reached. if (update_state.p2p_downloading_disabled) { LOG(INFO) << "Blocked P2P downloading because it is disabled by Omaha."; - } else if (update_state.is_interactive) { + } else if (update_state.interactive) { LOG(INFO) << "Blocked P2P downloading because update is interactive."; } else if (update_state.p2p_num_attempts >= kMaxP2PAttempts) { LOG(INFO) << "Blocked P2P downloading as it was attempted too many " @@ -572,7 +572,7 @@ EvalStatus ChromeOSPolicy::UpdateBackoffAndDownloadUrl( bool may_backoff = false; if (update_state.is_backoff_disabled) { LOG(INFO) << "Backoff disabled by Omaha."; - } else if (update_state.is_interactive) { + } else if (update_state.interactive) { LOG(INFO) << "No backoff for interactive updates."; } else if (update_state.is_delta_payload) { LOG(INFO) << "No backoff for delta payloads."; diff --git a/update_manager/chromeos_policy_unittest.cc b/update_manager/chromeos_policy_unittest.cc index df29e8c1..095f516b 100644 --- a/update_manager/chromeos_policy_unittest.cc +++ b/update_manager/chromeos_policy_unittest.cc @@ -140,7 +140,7 @@ TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedWaitsForTheTimeout) { ExpectPolicyStatus(EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); EXPECT_TRUE(result.updates_enabled); - EXPECT_FALSE(result.is_interactive); + EXPECT_FALSE(result.interactive); } TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedWaitsForOOBE) { @@ -178,7 +178,7 @@ TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedWaitsForOOBE) { ExpectPolicyStatus(EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); EXPECT_TRUE(result.updates_enabled); - EXPECT_FALSE(result.is_interactive); + EXPECT_FALSE(result.interactive); } TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedWithAttributes) { @@ -200,7 +200,7 @@ TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedWithAttributes) { EXPECT_TRUE(result.updates_enabled); EXPECT_EQ("1.2", result.target_version_prefix); EXPECT_EQ("foo-channel", result.target_channel); - EXPECT_FALSE(result.is_interactive); + EXPECT_FALSE(result.interactive); } TEST_F(UmChromeOSPolicyTest, @@ -256,7 +256,7 @@ TEST_F(UmChromeOSPolicyTest, ExpectPolicyStatus(EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); EXPECT_TRUE(result.updates_enabled); - EXPECT_TRUE(result.is_interactive); + EXPECT_TRUE(result.interactive); } TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedForcedUpdateRequestedPeriodic) { @@ -271,7 +271,7 @@ TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedForcedUpdateRequestedPeriodic) { ExpectPolicyStatus(EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); EXPECT_TRUE(result.updates_enabled); - EXPECT_FALSE(result.is_interactive); + EXPECT_FALSE(result.interactive); } TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedKioskPin) { @@ -293,7 +293,7 @@ TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedKioskPin) { &Policy::UpdateCheckAllowed, &result); EXPECT_TRUE(result.updates_enabled); EXPECT_EQ("1234.0.0", result.target_version_prefix); - EXPECT_FALSE(result.is_interactive); + EXPECT_FALSE(result.interactive); } TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedDisabledWhenNoKioskPin) { @@ -333,7 +333,7 @@ TEST_F(UmChromeOSPolicyTest, UpdateCheckAllowedKioskPinWithNoRequiredVersion) { &Policy::UpdateCheckAllowed, &result); EXPECT_TRUE(result.updates_enabled); EXPECT_TRUE(result.target_version_prefix.empty()); - EXPECT_FALSE(result.is_interactive); + EXPECT_FALSE(result.interactive); } TEST_F(UmChromeOSPolicyTest, @@ -561,7 +561,7 @@ TEST_F(UmChromeOSPolicyTest, UpdateCanStartAllowedNoBackoffInteractive) { update_state.download_errors.emplace_back( 0, ErrorCode::kDownloadTransferError, curr_time - TimeDelta::FromSeconds(2)); - update_state.is_interactive = true; + update_state.interactive = true; // Check that UpdateCanStart returns false and a new backoff expiry is // generated. @@ -798,7 +798,7 @@ TEST_F(UmChromeOSPolicyTest, new TimeDelta(TimeDelta::FromSeconds(1))); UpdateState update_state = GetDefaultUpdateState(TimeDelta::FromSeconds(1)); - update_state.is_interactive = true; + update_state.interactive = true; update_state.scatter_check_threshold = 0; update_state.scatter_check_threshold_min = 2; update_state.scatter_check_threshold_max = 5; @@ -828,7 +828,7 @@ TEST_F(UmChromeOSPolicyTest, fake_state_.system_provider()->var_is_oobe_complete()->reset(new bool(false)); UpdateState update_state = GetDefaultUpdateState(TimeDelta::FromSeconds(1)); - update_state.is_interactive = true; + update_state.interactive = true; update_state.scatter_check_threshold = 0; update_state.scatter_check_threshold_min = 2; update_state.scatter_check_threshold_max = 5; diff --git a/update_manager/default_policy.cc b/update_manager/default_policy.cc index 5da1520a..bc4f98e1 100644 --- a/update_manager/default_policy.cc +++ b/update_manager/default_policy.cc @@ -40,7 +40,7 @@ EvalStatus DefaultPolicy::UpdateCheckAllowed( result->updates_enabled = true; result->target_channel.clear(); result->target_version_prefix.clear(); - result->is_interactive = false; + result->interactive = false; // Ensure that the minimum interval is set. If there's no clock, this defaults // to always allowing the update. diff --git a/update_manager/interactive_update_policy_impl.cc b/update_manager/interactive_update_policy_impl.cc index df7f17bb..03af4351 100644 --- a/update_manager/interactive_update_policy_impl.cc +++ b/update_manager/interactive_update_policy_impl.cc @@ -31,10 +31,10 @@ EvalStatus InteractiveUpdatePolicyImpl::UpdateCheckAllowed( ec->GetValue(updater_provider->var_forced_update_requested()); if (forced_update_requested_p != nullptr && *forced_update_requested_p != UpdateRequestStatus::kNone) { - result->is_interactive = + result->interactive = (*forced_update_requested_p == UpdateRequestStatus::kInteractive); LOG(INFO) << "Forced update signaled (" - << (result->is_interactive ? "interactive" : "periodic") + << (result->interactive ? "interactive" : "periodic") << "), allowing update check."; return EvalStatus::kSucceeded; } diff --git a/update_manager/policy.h b/update_manager/policy.h index 05bb2ad0..f7a72d8e 100644 --- a/update_manager/policy.h +++ b/update_manager/policy.h @@ -51,7 +51,7 @@ struct UpdateCheckParams { std::string target_channel; // Whether the allowed update is interactive (user-initiated) or periodic. - bool is_interactive; + bool interactive; }; // Input arguments to UpdateCanStart. @@ -64,7 +64,7 @@ struct UpdateState { // // Whether the current update check is an interactive one. The caller should // feed the value returned by the preceding call to UpdateCheckAllowed(). - bool is_interactive; + bool interactive; // Whether it is a delta payload. bool is_delta_payload; // Wallclock time when payload was first (consecutively) offered by Omaha. diff --git a/update_manager/policy_test_utils.cc b/update_manager/policy_test_utils.cc index fbfcb820..d9a9857c 100644 --- a/update_manager/policy_test_utils.cc +++ b/update_manager/policy_test_utils.cc @@ -73,7 +73,7 @@ UpdateState UmPolicyTestBase::GetDefaultUpdateState( // This is a non-interactive check returning a delta payload, seen for the // first time (|first_seen_period| ago). Clearly, there were no failed // attempts so far. - update_state.is_interactive = false; + update_state.interactive = false; update_state.is_delta_payload = false; update_state.first_seen = first_seen_time; update_state.num_checks = 1; diff --git a/update_manager/real_updater_provider.cc b/update_manager/real_updater_provider.cc index 050bd422..094e79c0 100644 --- a/update_manager/real_updater_provider.cc +++ b/update_manager/real_updater_provider.cc @@ -401,11 +401,11 @@ class ForcedUpdateRequestedVariable return new UpdateRequestStatus(update_request_status_); } - void Reset(bool forced_update_requested, bool is_interactive) { + void Reset(bool forced_update_requested, bool interactive) { UpdateRequestStatus new_value = UpdateRequestStatus::kNone; if (forced_update_requested) - new_value = (is_interactive ? UpdateRequestStatus::kInteractive : - UpdateRequestStatus::kPeriodic); + new_value = (interactive ? UpdateRequestStatus::kInteractive + : UpdateRequestStatus::kPeriodic); if (update_request_status_ != new_value) { update_request_status_ = new_value; NotifyValueChanged(); diff --git a/update_manager/update_manager_unittest.cc b/update_manager/update_manager_unittest.cc index c2766ea3..125a60cf 100644 --- a/update_manager/update_manager_unittest.cc +++ b/update_manager/update_manager_unittest.cc @@ -189,7 +189,7 @@ TEST_F(UmUpdateManagerTest, PolicyRequestCallUpdateCheckAllowed) { TEST_F(UmUpdateManagerTest, PolicyRequestCallUpdateCanStart) { UpdateState update_state = UpdateState(); - update_state.is_interactive = true; + update_state.interactive = true; update_state.is_delta_payload = false; update_state.first_seen = FixedTime(); update_state.num_checks = 1; |