diff options
Diffstat (limited to 'java/com/android/incallui/calllocation')
-rw-r--r-- | java/com/android/incallui/calllocation/impl/DownloadMapImageTask.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/incallui/calllocation/impl/DownloadMapImageTask.java b/java/com/android/incallui/calllocation/impl/DownloadMapImageTask.java index b093a1b15..035f5cdac 100644 --- a/java/com/android/incallui/calllocation/impl/DownloadMapImageTask.java +++ b/java/com/android/incallui/calllocation/impl/DownloadMapImageTask.java @@ -50,9 +50,9 @@ class DownloadMapImageTask extends AsyncTask<Location, Void, Drawable> { try { URL mapUrl = new URL(LocationUrlBuilder.getStaticMapUrl(ui.getContext(), locations[0])); + TrafficStats.setThreadStatsTag(TrafficStatsTags.DOWNLOAD_LOCATION_MAP_TAG); InputStream content = (InputStream) mapUrl.getContent(); - TrafficStats.setThreadStatsTag(TrafficStatsTags.DOWNLOAD_LOCATION_MAP_TAG); return Drawable.createFromStream(content, STATIC_MAP_SRC_NAME); } catch (Exception ex) { LogUtil.e("DownloadMapImageTask.doInBackground", "Exception!!!", ex); |