Loading src/java/com/android/internal/telephony/satellite/SatelliteController.java +8 −18 Original line number Diff line number Diff line Loading @@ -1743,20 +1743,17 @@ public class SatelliteController extends Handler { setSatellitePhone(subId); String iccId = mSubscriptionManagerService.getSubscriptionInfo(subId).getIccId(); argument.setIccId(iccId); boolean sendResponse = false; synchronized (mSatelliteTokenProvisionedLock) { if (!iccId.equals(mLastConfiguredIccId)) { logd("updateSatelliteSubscription subId=" + subId + ", iccId=" + iccId + " to modem"); mSatelliteModemInterface.updateSatelliteSubscription(iccId, onCompleted); } else { sendResponse = true; } } if (provisionChanged) { handleEventSatelliteSubscriptionProvisionStateChanged(); } if (sendResponse) { // The response is sent immediately because the ICCID has already been // delivered to the modem. Bundle bundle = new Bundle(); Loading @@ -1764,7 +1761,6 @@ public class SatelliteController extends Handler { argument.mProvisioned ? SatelliteManager.KEY_PROVISION_SATELLITE_TOKENS : SatelliteManager.KEY_DEPROVISION_SATELLITE_TOKENS, true); argument.mResult.send(SATELLITE_RESULT_SUCCESS, bundle); } break; } Loading @@ -1781,12 +1777,6 @@ public class SatelliteController extends Handler { } } logd("updateSatelliteSubscription result=" + error); Bundle bundle = new Bundle(); bundle.putBoolean( argument.mProvisioned ? SatelliteManager.KEY_PROVISION_SATELLITE_TOKENS : SatelliteManager.KEY_DEPROVISION_SATELLITE_TOKENS, error == SATELLITE_RESULT_SUCCESS); argument.mResult.send(error, bundle); break; } Loading Loading
src/java/com/android/internal/telephony/satellite/SatelliteController.java +8 −18 Original line number Diff line number Diff line Loading @@ -1743,20 +1743,17 @@ public class SatelliteController extends Handler { setSatellitePhone(subId); String iccId = mSubscriptionManagerService.getSubscriptionInfo(subId).getIccId(); argument.setIccId(iccId); boolean sendResponse = false; synchronized (mSatelliteTokenProvisionedLock) { if (!iccId.equals(mLastConfiguredIccId)) { logd("updateSatelliteSubscription subId=" + subId + ", iccId=" + iccId + " to modem"); mSatelliteModemInterface.updateSatelliteSubscription(iccId, onCompleted); } else { sendResponse = true; } } if (provisionChanged) { handleEventSatelliteSubscriptionProvisionStateChanged(); } if (sendResponse) { // The response is sent immediately because the ICCID has already been // delivered to the modem. Bundle bundle = new Bundle(); Loading @@ -1764,7 +1761,6 @@ public class SatelliteController extends Handler { argument.mProvisioned ? SatelliteManager.KEY_PROVISION_SATELLITE_TOKENS : SatelliteManager.KEY_DEPROVISION_SATELLITE_TOKENS, true); argument.mResult.send(SATELLITE_RESULT_SUCCESS, bundle); } break; } Loading @@ -1781,12 +1777,6 @@ public class SatelliteController extends Handler { } } logd("updateSatelliteSubscription result=" + error); Bundle bundle = new Bundle(); bundle.putBoolean( argument.mProvisioned ? SatelliteManager.KEY_PROVISION_SATELLITE_TOKENS : SatelliteManager.KEY_DEPROVISION_SATELLITE_TOKENS, error == SATELLITE_RESULT_SUCCESS); argument.mResult.send(error, bundle); break; } Loading