Fork autofill default app selection
We are merging the default app selection for autofill with credman so this forks the existing UI (so we can flag it off). Test: ondevice Bug: 278919696 Change-Id: I96bcf1ff86b169a182b9974f7384c45b474c3d5d
This commit is contained in:
@@ -70,7 +70,14 @@ public class AccountWorkProfileDashboardFragment extends DashboardFragment {
|
||||
CredentialManagerPreferenceController cmpp =
|
||||
use(CredentialManagerPreferenceController.class);
|
||||
CredentialManagerPreferenceController.Delegate delegate =
|
||||
result -> getActivity().setResult(result);
|
||||
new CredentialManagerPreferenceController.Delegate() {
|
||||
public void setActivityResult(int resultCode) {
|
||||
getActivity().setResult(resultCode);
|
||||
}
|
||||
public void forceDelegateRefresh() {
|
||||
forceUpdatePreferences();
|
||||
}
|
||||
};
|
||||
cmpp.init(this, getFragmentManager(), getIntent(), delegate);
|
||||
} else {
|
||||
getSettingsLifecycle().addObserver(use(PasswordsPreferenceController.class));
|
||||
|
Reference in New Issue
Block a user