am 3ee47ae7: Merge "Fix 6804479: "Emergency calls only" in notification shade" into jb-dev
* commit '3ee47ae7ee0d0afc0a2bbe71636c31483b5502cd': Fix 6804479: "Emergency calls only" in notification shade
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user