Merge commit '9274988e444da3b8652912f1a3c0cf0847f19fe3' * commit '9274988e444da3b8652912f1a3c0cf0847f19fe3': Fix the reporting of ActiveApnTypes on CDMA
This commit is contained in:
@@ -246,7 +246,7 @@ public final class CdmaDataConnectionTracker extends DataConnectionTracker {
|
||||
@Override
|
||||
protected boolean isApnTypeActive(String type) {
|
||||
return (isApnTypeAvailable(type) &&
|
||||
(state == State.CONNECTED || state == State.INITING));
|
||||
(state != State.IDLE));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -260,7 +260,7 @@ public final class CdmaDataConnectionTracker extends DataConnectionTracker {
|
||||
}
|
||||
|
||||
protected String[] getActiveApnTypes() {
|
||||
if (state == State.CONNECTED || state == State.INITING) {
|
||||
if (state != State.IDLE) {
|
||||
return mSupportedApnTypes.clone();
|
||||
}
|
||||
return new String[0];
|
||||
|
||||
Reference in New Issue
Block a user