private fun matchesMobile4g(ident: NetworkIdentity): Boolean { ensureSubtypeAvailable() if (ident.mType === TYPE_WIMAX) { return true } else if (matchesMobile(ident)) { when (getNetworkClass(ident.mSubType)) { NETWORK_CLASS_4_G -> return true } } return false }
Check if mobile network classified 4G with matching IMSI .