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

Commit 0dfb5908 authored by Alison Cichowlas's avatar Alison Cichowlas Committed by Automerger Merge Worker
Browse files

Merge "Refresh both lists and pinning preferences on change." into rvc-dev am:...

Merge "Refresh both lists and pinning preferences on change." into rvc-dev am: 582aeba5 am: 45b4885a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11947583

Change-Id: I5c7175f1130a9f0d09c985cbc3b47d4b27912794
parents ae5393e7 45b4885a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1007,8 +1007,11 @@ public class ChooserActivity extends ResolverActivity implements
     * <p>If {@code listAdapter} is {@code null}, both profile list adapters are updated.
     */
    private void handlePackagesChanged(@Nullable ResolverListAdapter listAdapter) {
        // Refresh pinned items
        mPinnedSharedPrefs = getPinnedSharedPrefs(this);
        if (listAdapter == null) {
            mChooserMultiProfilePagerAdapter.getActiveListAdapter().handlePackagesChanged();
            mChooserMultiProfilePagerAdapter.getInactiveListAdapter().handlePackagesChanged();
        } else {
            listAdapter.handlePackagesChanged();
        }