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

Commit 2813d924 authored by Marcus Hagerott's avatar Marcus Hagerott Committed by android-build-merger
Browse files

Fix NPE in CustomContactListFilterActivity

am: 3148fef4

Change-Id: I6313747e66ae8d1558287b061f55fe89094fc522
parents 870a89b7 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);
            }
        }

        /**