Enable Autofill Field Classification by default.

Bug: 76028992
Test: locally changed FieldsClassificationTest to not set it

Change-Id: I842124852f76f599a8ac1cb06271ebc3324c36c9
This commit is contained in:
Felipe Leme
2018-03-22 09:08:31 -07:00
parent 2f81559d29
commit 1c6b60581f

View File

@@ -1189,7 +1189,7 @@ final class AutofillManagerServiceImpl {
boolean isFieldClassificationEnabledLocked() {
return Settings.Secure.getIntForUser(
mContext.getContentResolver(),
Settings.Secure.AUTOFILL_FEATURE_FIELD_CLASSIFICATION, 0,
Settings.Secure.AUTOFILL_FEATURE_FIELD_CLASSIFICATION, 1,
mUserId) == 1;
}