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/dialer/commandline/impl/BlockingCommand.java | |
parent | 3bc04ceaa5cfec4f64a348c6b93fb5a6f031cb77 (diff) | |
parent | 9e73256fa20b95dd05bf9b46fe43ad96c3823178 (diff) |
Merge "Improved support for short codes in Coalescer."
Diffstat (limited to 'java/com/android/dialer/commandline/impl/BlockingCommand.java')
-rw-r--r-- | java/com/android/dialer/commandline/impl/BlockingCommand.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/com/android/dialer/commandline/impl/BlockingCommand.java b/java/com/android/dialer/commandline/impl/BlockingCommand.java index c8f893422..f06e240ae 100644 --- a/java/com/android/dialer/commandline/impl/BlockingCommand.java +++ b/java/com/android/dialer/commandline/impl/BlockingCommand.java @@ -32,7 +32,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; import javax.inject.Inject; /** Block or unblock a number. */ @@ -88,8 +87,7 @@ public class BlockingCommand implements Command { if ("isblocked".equals(command)) { String number = args.getPositionals().get(1); ListenableFuture<DialerPhoneNumber> dialerPhoneNumberFuture = - executorService.submit( - () -> new DialerPhoneNumberUtil(PhoneNumberUtil.getInstance()).parse(number, null)); + executorService.submit(() -> new DialerPhoneNumberUtil().parse(number, null)); ListenableFuture<PhoneLookupInfo> lookupFuture = Futures.transformAsync( |