Merge "Call to equals() comparing different types"

This commit is contained in:
Amith Yamasani
2013-09-12 16:08:20 +00:00
committed by Gerrit Code Review

View File

@@ -1183,8 +1183,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;