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

Commit 9dba3680 authored by Antoan Angelov's avatar Antoan Angelov Committed by Android (Google) Code Review
Browse files

Merge "Call rebuildList() from sharesheet's handlePackagesChanged()."

parents 4dc9b1fa 42ab116a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1388,7 +1388,9 @@ public class ResolverActivity extends Activity implements

    @Override // ResolverListCommunicator
    public void onHandlePackagesChanged() {
        if (mMultiProfilePagerAdapter.getActiveListAdapter().getCount() == 0) {
        ResolverListAdapter activeListAdapter = mMultiProfilePagerAdapter.getActiveListAdapter();
        activeListAdapter.rebuildList();
        if (activeListAdapter.getCount() == 0) {
            // We no longer have any items...  just finish the activity.
            finish();
        }
+0 −1
Original line number Diff line number Diff line
@@ -113,7 +113,6 @@ public class ResolverListAdapter extends BaseAdapter {
    }

    public void handlePackagesChanged() {
        rebuildList();
        mResolverListCommunicator.onHandlePackagesChanged();
    }