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

Commit 6c45ef53 authored by Raff Tsai's avatar Raff Tsai Committed by Android (Google) Code Review
Browse files

Merge "Fix navigation to wrong page"

parents a9ba39fb be39426d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,12 +29,12 @@ public class ProfileSelectManageApplications extends ProfileSelectFragment {

    @Override
    public Fragment[] getFragments() {
        final Bundle workOnly = new Bundle();
        final Bundle workOnly = getArguments() != null ? getArguments().deepCopy() : new Bundle();
        workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.WORK);
        final Fragment workFragment = new ManageApplications();
        workFragment.setArguments(workOnly);

        final Bundle personalOnly = new Bundle();
        final Bundle personalOnly = getArguments() != null ? getArguments() : new Bundle();
        personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.PERSONAL);
        final Fragment personalFragment = new ManageApplications();
        personalFragment.setArguments(personalOnly);