summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/DataUsageSummary.java
diff options
context:
space:
mode:
authorLászló Dávid <laszlo.david@gmail.com>2012-12-18 20:29:05 +0100
committerLászló Dávid <laszlo.david@gmail.com>2012-12-18 20:29:05 +0100
commit95f1762a01b8dd5131a1f374984a08c10123f274 (patch)
tree9145fb6cce238466ef5906f4bc567e8bb57aebfd /src/com/android/settings/DataUsageSummary.java
parentccb7ab0fa5c024f8505cf922b00601bbdc33a81a (diff)
downloadpackages_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.java4
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;