Fix settings crash
Fix settings crash when dialog is shown becuase the wrong fragment manager is used. Bug: 264939770 Test: unit test and test on device Change-Id: I5f4c04740058baaa1c96a7108dc4b08b3e467fb8
This commit is contained in:
@@ -69,7 +69,7 @@ public class AccountWorkProfileDashboardFragment extends DashboardFragment {
|
||||
if (CredentialManager.isServiceEnabled(context)) {
|
||||
CredentialManagerPreferenceController cmpp =
|
||||
use(CredentialManagerPreferenceController.class);
|
||||
cmpp.setParentFragment(this);
|
||||
cmpp.init(this, getFragmentManager());
|
||||
}
|
||||
|
||||
getSettingsLifecycle().addObserver(use(PasswordsPreferenceController.class));
|
||||
|
Reference in New Issue
Block a user