Loading src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java +8 −8 Original line number Diff line number Diff line Loading @@ -41,18 +41,18 @@ public class UndemoteOutgoingCallReceiver extends BroadcastReceiver { if (TextUtils.isEmpty(number)) { return; } final long id = getContactIdFromPhoneNumber(context, number); if (id != NO_CONTACT_FOUND) { final Thread thread = new Thread() { @Override public void run() { final long id = getContactIdFromPhoneNumber(context, number); if (id != NO_CONTACT_FOUND) { undemoteContactWithId(context, id); } } }; thread.start(); } } } private void undemoteContactWithId(Context context, long id) { final ContentValues cv = new ContentValues(1); Loading Loading
src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java +8 −8 Original line number Diff line number Diff line Loading @@ -41,18 +41,18 @@ public class UndemoteOutgoingCallReceiver extends BroadcastReceiver { if (TextUtils.isEmpty(number)) { return; } final long id = getContactIdFromPhoneNumber(context, number); if (id != NO_CONTACT_FOUND) { final Thread thread = new Thread() { @Override public void run() { final long id = getContactIdFromPhoneNumber(context, number); if (id != NO_CONTACT_FOUND) { undemoteContactWithId(context, id); } } }; thread.start(); } } } private void undemoteContactWithId(Context context, long id) { final ContentValues cv = new ContentValues(1); Loading