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

Commit 32876909 authored by Marcus Hagerott's avatar Marcus Hagerott Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in CustomContactListFilterActivity" into ub-contactsdialer-g-dev

parents 5ab17a20 3148fef4
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -366,13 +366,14 @@ public class CustomContactListFilterActivity extends Activity implements
                }
            } else {
                final Integer titleRes = getAsInteger(Groups.TITLE_RES);
                if (titleRes != null) {
                if (titleRes != null && titleRes != 0) {
                    final String packageName = getAsString(Groups.RES_PACKAGE);
                    if (packageName != null) {
                        return context.getPackageManager().getText(packageName, titleRes, null);
                } else {
                    return getAsString(Groups.TITLE);
                    }
                }
                return getAsString(Groups.TITLE);
            }
        }

        /**