Merge "Password settings: use EM DASH as the pwd count placeholder" into sc-dev am: 83e4f3c658 am: 5025ca7695

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15177778

Change-Id: I7031bd97057b77a6005e66806f85aa0767766632
This commit is contained in:
Ahaan Ugale
2021-07-03 00:18:03 +00:00
committed by Automerger Merge Worker
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(