Fix wording to comply with respectful-code
https://source.android.com/setup/contribute/respectful-code
Test: Run unit tests
Change-Id: Ia6647c9cf3224b962286151932118093b9ad979a
diff --git a/payload_state.h b/payload_state.h
index d13c642..90c3b13 100644
--- a/payload_state.h
+++ b/payload_state.h
@@ -366,14 +366,14 @@
// check where policy was available. This info is preserved over powerwash.
void LoadRollbackHappened();
- // Loads the blacklisted version from our prefs file.
+ // Loads the blocklisted version from our prefs file.
void LoadRollbackVersion();
// Blacklists this version from getting AU'd to until we receive a new update
// response.
void SetRollbackVersion(const std::string& rollback_version);
- // Clears any blacklisted version.
+ // Clears any blocklisted version.
void ResetRollbackVersion();
inline uint32_t GetUrlIndex() {
@@ -565,7 +565,7 @@
// forced updates to avoid update-rollback loops.
bool rollback_happened_;
- // This stores a blacklisted version set as part of rollback. When we rollback
+ // This stores a blocklisted version set as part of rollback. When we rollback
// we store the version of the os from which we are rolling back from in order
// to guarantee that we do not re-update to it on the next au attempt after
// reboot.