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

Commit 585b7acb authored by Wink Saville's avatar Wink Saville Committed by Android (Google) Code Review
Browse files

Merge "handle missing constants when creating a Phone instance" into honeycomb-LTE

parents a5c9c724 96a5f00a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -178,7 +178,10 @@ public class PhoneFactory {
        case RILConstants.NETWORK_MODE_GSM_UMTS:
            return Phone.PHONE_TYPE_GSM;

        // Use CDMA Phone for the global mode including CDMA
        case RILConstants.NETWORK_MODE_GLOBAL:
        case RILConstants.NETWORK_MODE_LTE_CDMA_EVDO:
        case RILConstants.NETWORK_MODE_LTE_CMDA_EVDO_GSM_WCDMA:
            return Phone.PHONE_TYPE_CDMA;

        case RILConstants.NETWORK_MODE_LTE_ONLY: