diff options
author | calderwoodra <calderwoodra@google.com> | 2017-08-30 23:23:55 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-09-06 16:41:17 -0700 |
commit | 6627396c33440abd1bd32daa617aa4848be167e1 (patch) | |
tree | bfd02ff4dda8d977cd2a1e5fd02effd7803eb9a7 /java/com/android/incallui/calllocation/impl/HttpFetcher.java | |
parent | f63d4faaa2d037e0778a3cd82569f54d1901287d (diff) |
Added presubmit check to remove static imports from third_party java/
Test: http://screen/9eBrOUZj90T
PiperOrigin-RevId: 167099613
Change-Id: I3ae96b376ced290ff9d1f328cfaf29b8f8fce979
Diffstat (limited to 'java/com/android/incallui/calllocation/impl/HttpFetcher.java')
-rw-r--r-- | java/com/android/incallui/calllocation/impl/HttpFetcher.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/com/android/incallui/calllocation/impl/HttpFetcher.java b/java/com/android/incallui/calllocation/impl/HttpFetcher.java index 7bfbaa6ef..a63cbc6e1 100644 --- a/java/com/android/incallui/calllocation/impl/HttpFetcher.java +++ b/java/com/android/incallui/calllocation/impl/HttpFetcher.java @@ -16,14 +16,13 @@ package com.android.incallui.calllocation.impl; -import static com.android.dialer.util.DialerUtils.closeQuietly; - import android.content.Context; import android.net.Uri; import android.net.Uri.Builder; import android.os.SystemClock; import android.util.Pair; import com.android.dialer.common.LogUtil; +import com.android.dialer.util.DialerUtils; import com.android.dialer.util.MoreStrings; import com.google.android.common.http.UrlRules; import java.io.ByteArrayOutputStream; @@ -103,7 +102,7 @@ public class HttpFetcher { LogUtil.i("HttpFetcher.sendRequestAsByteArray", "fetch took " + (end - start) + " ms"); return response; } finally { - closeQuietly(is); + DialerUtils.closeQuietly(is); if (conn != null) { conn.disconnect(); } |