Update language to comply with Android's inclusive language guidance

See https://source.android.com/setup/contribute/respectful-code for reference

Change-Id: I25b5f8a2d87d8754e6536d24f986ab90a2bc69fe
Test: Presubmit
Bug: 161896447
This commit is contained in:
Curtis Belmonte
2020-07-28 20:08:12 +00:00
parent ed7662f6f6
commit 1aa03da058

View File

@@ -761,7 +761,7 @@ public class ChooseLockGeneric extends SettingsActivity {
* {@link DevicePolicyManager#PASSWORD_QUALITY_UNSPECIFIED} * {@link DevicePolicyManager#PASSWORD_QUALITY_UNSPECIFIED}
*/ */
void updateUnlockMethodAndFinish(int quality, boolean disabled, boolean chooseLockSkipped) { void updateUnlockMethodAndFinish(int quality, boolean disabled, boolean chooseLockSkipped) {
// Sanity check. We should never get here without confirming user's existing password. // We should never get here without confirming user's existing password.
if (!mPasswordConfirmed) { if (!mPasswordConfirmed) {
throw new IllegalStateException("Tried to update password without confirming it"); throw new IllegalStateException("Tried to update password without confirming it");
} }