Password settings: use EM DASH as the pwd count placeholder
The current blank space in the UI looks like a bug if the password manager doesn't return a result. (though this should rarely happen) Fix: 192531856 Test: manual Change-Id: Ia1765e51f1d4e5080c9a8419c8e81c2771caba7b
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user