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

Commit cf235922 authored by Hyunyoung Song's avatar Hyunyoung Song Committed by Android Git Automerger
Browse files

am a9095e07: Remove NPE inside WidgetsListAdapter during monkey actor test b/22518383

* commit 'a9095e07':
  Remove NPE inside WidgetsListAdapter during monkey actor test b/22518383
parents a3e89631 a9095e07
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -87,6 +87,9 @@ public class WidgetsListAdapter extends Adapter<WidgetsRowViewHolder> {

    @Override
    public int getItemCount() {
        if (mWidgetsModel == null) {
            return 0;
        }
        return mWidgetsModel.getPackageSize();
    }