On GSM devices able to force on data network if wifi is on ,But on CDMA devcies it fails.
public boolean isMobileHighPriorityUP() {
ConnectivityManager connMgr = (ConnectivityManager) mCxt.getSystemService(Context.CONNECTIVITY_SERVICE);
State mobileHigh = connMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_HIPRI).getState();
Log.d(TAG, "--------- Network HIPRI State --------" + mobileHigh);
if(mobileHigh == State.CONNECTED){
return true;
}
return false;
}
Above always return false on CDMA but on GSM true..
Found enableHIPRI here on Phone Interface firmware code.
Assuming Phonebase is used for GSM, and CDMAPhonebase is used for CDMA which extends PhoneBase.
Could not find much info on the firmware codes above and code1 code2.
Is CDMA firmware has some other design applied?Can you guys throw some light here.?
Thanks
NitZ