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

Commit ce8b329e authored by Hyundo Moon's avatar Hyundo Moon Committed by Gerrit Code Review
Browse files

Merge "PbapVcardManager: Do not use error log when moveToNext() returns false" into main

parents caadae2e f3bc5243
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -376,7 +376,7 @@ public class BluetoothPbapVcardManager {
                    String vcard = composer.buildVCard(RawContactsEntity.queryRawContactEntity(
                                mResolver, contactCursor.getLong(idColumn)));
                    if (!contactCursor.moveToNext()) {
                        Log.e(TAG, "Cursor#moveToNext() returned false");
                        Log.i(TAG, "Cursor#moveToNext() returned false");
                    }
                    if (vcard == null) {
                        Log.e(TAG, "Failed to read a contact.");
@@ -767,7 +767,7 @@ public class BluetoothPbapVcardManager {
                String vcard = composer.buildVCard(RawContactsEntity.queryRawContactEntity(
                            mResolver, contactIdCursor.getLong(idColumn)));
                if (!contactIdCursor.moveToNext()) {
                    Log.e(TAG, "Cursor#moveToNext() returned false");
                    Log.i(TAG, "Cursor#moveToNext() returned false");
                }
                if (vcard == null) {
                    Log.e(TAG, "Failed to read a contact.");
@@ -872,7 +872,7 @@ public class BluetoothPbapVcardManager {
                String vcard = composer.buildVCard(RawContactsEntity.queryRawContactEntity(
                            mResolver, contactIdCursor.getLong(idColumn)));
                if (!contactIdCursor.moveToNext()) {
                    Log.e(TAG, "Cursor#moveToNext() returned false");
                    Log.i(TAG, "Cursor#moveToNext() returned false");
                }
                if (vcard == null) {
                    Log.e(TAG, "Failed to read a contact.");