diff options
author | László Dávid <laszlo.david@gmail.com> | 2012-12-18 20:29:05 +0100 |
---|---|---|
committer | László Dávid <laszlo.david@gmail.com> | 2012-12-18 20:29:05 +0100 |
commit | 95f1762a01b8dd5131a1f374984a08c10123f274 (patch) | |
tree | 9145fb6cce238466ef5906f4bc567e8bb57aebfd /src/com/android/settings/DataUsageSummary.java | |
parent | ccb7ab0fa5c024f8505cf922b00601bbdc33a81a (diff) | |
download | packages_apps_settings-95f1762a01b8dd5131a1f374984a08c10123f274.zip packages_apps_settings-95f1762a01b8dd5131a1f374984a08c10123f274.tar.gz packages_apps_settings-95f1762a01b8dd5131a1f374984a08c10123f274.tar.bz2 |
FindBugs: Call to equals() comparing different types
Change-Id: If4185f9eec0adfa47a6741eb21111b6cdafac008
Diffstat (limited to 'src/com/android/settings/DataUsageSummary.java')
-rw-r--r-- | src/com/android/settings/DataUsageSummary.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/DataUsageSummary.java b/src/com/android/settings/DataUsageSummary.java index 8dc3d53..0a03a31 100644 --- a/src/com/android/settings/DataUsageSummary.java +++ b/src/com/android/settings/DataUsageSummary.java @@ -1187,8 +1187,8 @@ public class DataUsageSummary extends Fragment { final String rangePhrase = formatDateRange(context, start, end); final int summaryRes; - if (TAB_MOBILE.equals(mCurrentTab) || TAB_3G.equals(mCurrentApp) - || TAB_4G.equals(mCurrentApp)) { + if (TAB_MOBILE.equals(mCurrentTab) || TAB_3G.equals(mCurrentTab) + || TAB_4G.equals(mCurrentTab)) { summaryRes = R.string.data_usage_total_during_range_mobile; } else { summaryRes = R.string.data_usage_total_during_range; |