From bc771fffd21649923fe63d712d49efaf36112e56 Mon Sep 17 00:00:00 2001 From: Brian Nicholson Date: Mon, 29 Jul 2013 16:32:01 -0400 Subject: [PATCH] Bug 895702 - Remove unnecessary bytes length check. r=rnewman --- mobile/android/base/home/HomeFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/android/base/home/HomeFragment.java b/mobile/android/base/home/HomeFragment.java index ad564de7ab1..a1046864577 100644 --- a/mobile/android/base/home/HomeFragment.java +++ b/mobile/android/base/home/HomeFragment.java @@ -120,7 +120,7 @@ abstract class HomeFragment extends Fragment { // FIXME: bug 897772 Bitmap bitmap = null; - if (info.favicon != null && info.favicon.length > 0) { + if (info.favicon != null) { bitmap = BitmapUtils.decodeByteArray(info.favicon); }