Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b8bf4ea authored by László Dávid's avatar László Dávid
Browse files

Call to equals() comparing different types



I have found this bug with the FindBugs tool

Change-Id: I7f157063b0a549cb4344c048ddb612a14a915a25
Signed-off-by: default avatarLászló Dávid <laszlo.david@gmail.com>
parent 78f5c4d5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1171,8 +1171,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;