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

Commit acb180fb authored by Pawit Pornkitprasan's avatar Pawit Pornkitprasan Committed by Ethan Chen
Browse files

Revert "SystemUI: Fix mobile data connection type hiding"

This reverts commit b2aac59c.

This is intentional and is only displayed when 2 connections
are connected at the same time.

E.g.  If you're connected to Wi-Fi with a captive portal, then
3G will remain connected and normal data connectivity will go
through 3G until you have logged in via Wi-Fi.

In that case, the correct display is Wi-Fi with "!" and mobile
with "3G".

Change-Id: I985c361a656d15b145e467542508dcef41f92df5
parent 6976b913
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -402,8 +402,7 @@ public class SignalClusterView

        if (mStyle == STATUS_BAR_STYLE_ANDROID_DEFAULT) {
            mMobileType.setVisibility(
                    ((mRoaming || mMobileTypeId != 0) && !mWifiVisible) ?
                    View.VISIBLE : View.GONE);
                    (mRoaming || mMobileTypeId != 0) ? View.VISIBLE : View.GONE);
        } else {
            mMobileType.setVisibility(View.GONE);
        }