Loading src/com/android/contacts/ContactSaveService.java +7 −3 Original line number Diff line number Diff line Loading @@ -819,10 +819,14 @@ public class ContactSaveService extends IntentService { try { if (c.moveToFirst()) { final long id = c.getLong(0); // Don't bother undemoting if this contact is the user's profile. if (id < Profile.MIN_ID) { values.clear(); values.put(String.valueOf(id), PinnedPositions.UNDEMOTE); getContentResolver().update(PinnedPositions.UPDATE_URI, values, null, null); } } } finally { c.close(); } Loading Loading
src/com/android/contacts/ContactSaveService.java +7 −3 Original line number Diff line number Diff line Loading @@ -819,10 +819,14 @@ public class ContactSaveService extends IntentService { try { if (c.moveToFirst()) { final long id = c.getLong(0); // Don't bother undemoting if this contact is the user's profile. if (id < Profile.MIN_ID) { values.clear(); values.put(String.valueOf(id), PinnedPositions.UNDEMOTE); getContentResolver().update(PinnedPositions.UPDATE_URI, values, null, null); } } } finally { c.close(); } Loading