Merge "Password settings: use EM DASH as the pwd count placeholder" into sc-dev

This commit is contained in:
Ahaan Ugale
2021-07-02 23:56:20 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 2 deletions

View File

@@ -137,8 +137,8 @@ public class PasswordsPreferenceController extends BasePreferenceController
prefContext.startActivityAsUser(intent, UserHandle.of(user));
return true;
});
// Set an empty summary to avoid a UI flicker when the value loads.
pref.setSummary(R.string.summary_placeholder);
// Set a placeholder summary to avoid a UI flicker when the value loads.
pref.setSummary(R.string.autofill_passwords_count_placeholder);
final MutableLiveData<Integer> passwordCount = new MutableLiveData<>();
passwordCount.observe(