diff options
author | Joe LaPenna <jlapenna@google.com> | 2017-02-07 11:42:28 -0800 |
---|---|---|
committer | Joe LaPenna <jlapenna@google.com> | 2017-02-07 15:17:30 -0800 |
commit | eded5c0e71efd941fbf8e21265eb59f853702100 (patch) | |
tree | 5e2738568921f21b92f8ed29fe13fb87038113e9 /src/com/android/networkrecommendation/notify | |
parent | 3ae41f6a9cd5e508baf751d0f8a8507a88cf16aa (diff) | |
download | NetworkRecommendation-eded5c0e71efd941fbf8e21265eb59f853702100.tar.gz |
Update deps structure, add new Blog class for easier logging
Bug: 34944625
Test: adb shell am instrument -w com.android.networkrecommendation.tests/android.support.test.runner.AndroidJUnitRunner
Change-Id: Id3dee19be4daf03d50ceb00445a0769f8dbe4aa7
Diffstat (limited to 'src/com/android/networkrecommendation/notify')
-rw-r--r-- | src/com/android/networkrecommendation/notify/WifiNotificationHelper.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/networkrecommendation/notify/WifiNotificationHelper.java b/src/com/android/networkrecommendation/notify/WifiNotificationHelper.java index f37d0c1..719e6b4 100644 --- a/src/com/android/networkrecommendation/notify/WifiNotificationHelper.java +++ b/src/com/android/networkrecommendation/notify/WifiNotificationHelper.java @@ -42,7 +42,7 @@ import android.text.style.ForegroundColorSpan; import com.android.networkrecommendation.R; import com.android.networkrecommendation.SynchronousNetworkRecommendationProvider; -import com.android.networkrecommendation.util.ImageUtils; +import com.android.networkrecommendation.util.ImageUtil; import com.android.networkrecommendation.util.WifiConfigurationUtil; import java.util.List; @@ -130,7 +130,7 @@ public class WifiNotificationHelper { Resources resources = mContext.getResources(); Drawable iconDrawable = mContext.getDrawable(R.drawable.ic_signal_wifi_no_network); iconDrawable.setTint(mContext.getColor(R.color.color_tint)); - Bitmap icon = ImageUtils.buildScaledBitmap( + Bitmap icon = ImageUtil.buildScaledBitmap( iconDrawable, resources.getDimensionPixelSize(android.R.dimen.notification_large_icon_width), resources.getDimensionPixelSize(android.R.dimen.notification_large_icon_height)); @@ -221,7 +221,7 @@ public class WifiNotificationHelper { mContext.getDrawable(getWifiBadgeResourceForEnum(badgeEnum))}); layerDrawable.setTint(mContext.getColor(R.color.color_tint)); Resources resources = mContext.getResources(); - return ImageUtils.buildScaledBitmap(layerDrawable, + return ImageUtil.buildScaledBitmap(layerDrawable, resources.getDimensionPixelSize(android.R.dimen.notification_large_icon_width), resources.getDimensionPixelSize(android.R.dimen.notification_large_icon_height)); } |