Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da288939 authored by Jason Chiu's avatar Jason Chiu Committed by Android (Google) Code Review
Browse files

Merge "Fix the injection disappearance in the Account detail page" into tm-qpr-dev

parents bbcdc919 0e2147c5
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -64,8 +64,7 @@ public class AccountDetailDashboardFragment extends DashboardFragment {

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        getPreferenceManager().setPreferenceComparisonCallback(null);
        // Initialize the parameters since displayTile() will be called in super.onCreate().
        Bundle args = getArguments();
        final Activity activity = getActivity();
        mUserHandle = Utils.getSecureTargetUser(activity.getActivityToken(),
@@ -82,6 +81,9 @@ public class AccountDetailDashboardFragment extends DashboardFragment {
                mAccountType = args.getString(KEY_ACCOUNT_TYPE);
            }
        }

        super.onCreate(icicle);
        getPreferenceManager().setPreferenceComparisonCallback(null);
        mAccountSynController.init(mAccount, mUserHandle);
        mRemoveAccountController.init(mAccount, mUserHandle);
    }