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

Commit 9014345d authored by Daniel Sandler's avatar Daniel Sandler Committed by Android Git Automerger
Browse files

am 7d1ef0ce: am 3ee47ae7: Merge "Fix 6804479: "Emergency calls only" in...

am 7d1ef0ce: am 3ee47ae7: Merge "Fix 6804479: "Emergency calls only" in notification shade" into jb-dev

* commit '7d1ef0ce':
  Fix 6804479: "Emergency calls only" in notification shade
parents c864b54b 7d1ef0ce
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -935,10 +935,12 @@ public class NetworkController extends BroadcastReceiver {

            if (mDataConnected) {
                mobileLabel = mNetworkName;
            } else if (mConnected) {
                if (hasService()) {
            } else if (mConnected || mServiceState.isEmergencyOnly()) {
                if (hasService() || mServiceState.isEmergencyOnly()) {
                    // The isEmergencyOnly test covers the case of a phone with no SIM
                    mobileLabel = mNetworkName;
                } else {
                    // Tablets, basically
                    mobileLabel = "";
                }
            } else {