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

Commit 97b8626c authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Update call shortcuts even if contacts permission denied" into mnc-dev

parents 95beaae9 49666139
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -348,6 +348,11 @@ public class SearchFragment extends PhoneNumberPickerFragment {
            final DialerPhoneNumberListAdapter adapter =
                    (DialerPhoneNumberListAdapter) getAdapter();
            adapter.disableAllShortcuts();
        } else {
            // The contact list is not going to change (we have no results since permissions are
            // denied), but the shortcuts might because of the different query, so update the
            // list.
            getAdapter().notifyDataSetChanged();
        }
    }