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

Commit f76dca75 authored by yuichiro fujiwara's avatar yuichiro fujiwara Committed by Takahiro Manabe
Browse files

Fixed the deleted label exists on phone contact view list

Change the labels display condition of Customize view.
Display only labels that are groups.deleted=0.

Affected area:
 Customize view in Contacts to display.

Bug: 68031832
Change-Id: Ic1a3427c46962c0947a33847e00ecb125e14fa89
parent 344beb30
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -171,7 +171,8 @@ public class CustomContactListFilterActivity extends Activity implements
                if (account.dataSet != null) {
                if (account.dataSet != null) {
                    groupsUri.appendQueryParameter(Groups.DATA_SET, account.dataSet).build();
                    groupsUri.appendQueryParameter(Groups.DATA_SET, account.dataSet).build();
                }
                }
                final Cursor cursor = resolver.query(groupsUri.build(), null, null, null, null);
                final Cursor cursor = resolver.query(groupsUri.build(), null,
                        Groups.DELETED + "=0", null, null);
                if (cursor == null) {
                if (cursor == null) {
                    continue;
                    continue;
                }
                }