Merge "Add getCdmaSubscriptionSource to CommandsInterface." into honeycomb-LTE
This commit is contained in:
@ -1440,6 +1440,12 @@ public interface CommandsInterface {
|
|||||||
*/
|
*/
|
||||||
void setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response);
|
void setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Requests to get the CDMA subscription srouce
|
||||||
|
* @param response is callback message
|
||||||
|
*/
|
||||||
|
void getCdmaSubscriptionSource(Message response);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the TTY mode
|
* Set the TTY mode
|
||||||
*
|
*
|
||||||
|
@ -3634,12 +3634,12 @@ public final class RIL extends BaseCommands implements CommandsInterface {
|
|||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
public void getCdmaSubscriptionSource(int cdmaSubscription , Message response) {
|
@Override
|
||||||
|
public void getCdmaSubscriptionSource(Message response) {
|
||||||
RILRequest rr = RILRequest.obtain(
|
RILRequest rr = RILRequest.obtain(
|
||||||
RILConstants.RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE, response);
|
RILConstants.RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE, response);
|
||||||
|
|
||||||
if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)
|
if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest));
|
||||||
+ " : " + cdmaSubscription);
|
|
||||||
|
|
||||||
send(rr);
|
send(rr);
|
||||||
}
|
}
|
||||||
|
@ -326,6 +326,10 @@ class SipCommandInterface extends BaseCommands implements CommandsInterface {
|
|||||||
public void reportStkServiceIsRunning(Message result) {
|
public void reportStkServiceIsRunning(Message result) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void getCdmaSubscriptionSource(Message response) {
|
||||||
|
}
|
||||||
|
|
||||||
public void getGsmBroadcastConfig(Message response) {
|
public void getGsmBroadcastConfig(Message response) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1001,6 +1001,11 @@ public final class SimulatedCommands extends BaseCommands
|
|||||||
resultSuccess(result, null);
|
resultSuccess(result, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void getCdmaSubscriptionSource(Message result) {
|
||||||
|
unimplemented(result);
|
||||||
|
}
|
||||||
|
|
||||||
private boolean isSimLocked() {
|
private boolean isSimLocked() {
|
||||||
if (mSimLockedState != SimLockState.NONE) {
|
if (mSimLockedState != SimLockState.NONE) {
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user