diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java b/src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java index 30d01d2f8..fb9b1d1aa 100644 --- a/src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java +++ b/src/com/android/dialer/interactions/UndemoteOutgoingCallReceiver.java @@ -41,16 +41,16 @@ 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 Thread thread = new Thread() { + @Override + public void run() { + final long id = getContactIdFromPhoneNumber(context, number); + if (id != NO_CONTACT_FOUND) { undemoteContactWithId(context, id); } - }; - thread.start(); - } + } + }; + thread.start(); } } |