diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-04-18 02:42:35 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-04-18 02:42:35 +0000 |
commit | d92873ffb4f8563294924c7dcf2d8bf840b4ebb5 (patch) | |
tree | b3c906e6253b82c88de50ad57825019649ed3e7c /java/com/android/incallui | |
parent | 3bc04ceaa5cfec4f64a348c6b93fb5a6f031cb77 (diff) | |
parent | 9e73256fa20b95dd05bf9b46fe43ad96c3823178 (diff) |
Merge "Improved support for short codes in Coalescer."
Diffstat (limited to 'java/com/android/incallui')
-rw-r--r-- | java/com/android/incallui/PhoneLookupHistoryRecorder.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/com/android/incallui/PhoneLookupHistoryRecorder.java b/java/com/android/incallui/PhoneLookupHistoryRecorder.java index 2b8075878..4f4137049 100644 --- a/java/com/android/incallui/PhoneLookupHistoryRecorder.java +++ b/java/com/android/incallui/PhoneLookupHistoryRecorder.java @@ -36,7 +36,6 @@ import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.ListeningExecutorService; import com.google.common.util.concurrent.MoreExecutors; -import com.google.i18n.phonenumbers.PhoneNumberUtil; /** * Fetches the current {@link PhoneLookupInfo} for the provided call and writes it to the @@ -59,8 +58,7 @@ final class PhoneLookupHistoryRecorder { ListenableFuture<DialerPhoneNumber> numberFuture = backgroundExecutor.submit( () -> { - DialerPhoneNumberUtil dialerPhoneNumberUtil = - new DialerPhoneNumberUtil(PhoneNumberUtil.getInstance()); + DialerPhoneNumberUtil dialerPhoneNumberUtil = new DialerPhoneNumberUtil(); return dialerPhoneNumberUtil.parse( TelecomCallUtil.getNumber(call), GeoUtil.getCurrentCountryIso(appContext)); }); |