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

Commit 0416784c authored by Alison Cichowlas's avatar Alison Cichowlas Committed by Android (Google) Code Review
Browse files

Merge "Do not restart activity when pinned set changes - just re-sort." into qt-qpr1-dev

parents 5eb70e07 2d344246
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -815,12 +815,19 @@ public class ChooserActivity extends ResolverActivity {
        return new PackageMonitor() {
            @Override
            public void onSomePackagesChanged() {
                mAdapter.handlePackagesChanged();
                bindProfileView();
                handlePackagesChanged();
            }
        };
    }

    /**
     * Update UI to reflect changes in data.
     */
    public void handlePackagesChanged() {
        mAdapter.handlePackagesChanged();
        bindProfileView();
    }

    private void onCopyButtonClicked(View v) {
        Intent targetIntent = getTargetIntent();
        if (targetIntent == null) {
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ public class ResolverTargetActionsDialogFragment extends DialogFragment
                }

                // Force the chooser to requery and resort things
                getActivity().recreate();
                ((ChooserActivity) getActivity()).handlePackagesChanged();
                break;
            case APP_INFO_INDEX:
                Intent in = new Intent().setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS)