Add missing settings strings.
Also re-enable and fix tests. Test: manual Fixes: 226183482 Fixes: 218799125 Fixes: 219375624 Change-Id: I9605f1f4e2e834baf63e015e96639567c5481b5f
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
package com.android.settings.applications.autofill;
|
||||
|
||||
import static android.app.admin.DevicePolicyResources.Strings.Settings.AUTO_SYNC_PERSONAL_DATA;
|
||||
import static android.app.admin.DevicePolicyResources.Strings.Settings.AUTO_SYNC_WORK_DATA;
|
||||
import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
|
||||
import static android.service.autofill.AutofillService.EXTRA_RESULT;
|
||||
|
||||
@@ -114,6 +116,11 @@ public class PasswordsPreferenceController extends BasePreferenceController
|
||||
super.displayPreference(screen);
|
||||
final PreferenceGroup group = screen.findPreference(getPreferenceKey());
|
||||
addPasswordPreferences(screen.getContext(), getUser(), group);
|
||||
|
||||
replaceEnterpriseStringTitle(screen, "auto_sync_personal_account_data",
|
||||
AUTO_SYNC_PERSONAL_DATA, R.string.account_settings_menu_auto_sync_personal);
|
||||
replaceEnterpriseStringTitle(screen, "auto_sync_work_account_data",
|
||||
AUTO_SYNC_WORK_DATA, R.string.account_settings_menu_auto_sync_work);
|
||||
}
|
||||
|
||||
private void addPasswordPreferences(
|
||||
|
Reference in New Issue
Block a user