Skip to content

Commit

Permalink
Make sure isOtaCallCommitted flag is updated
Browse files Browse the repository at this point in the history
Always update isOtaCallCommitted flag on receiving CDMA_OTA_PROVISION_STATUS_COMMITTED.
Tablet devices don't use onscreen OTASP UI, so not updating the flag when
mApplication.cdmaOtaScreenState.otaScreenState is OTA_STATUS_UNDEFINED causes some issue.

Change-Id: I975d079f080521d8f1d3fd7812fd4ffb2c985a67
  • Loading branch information
Meng Hu authored and John Huang committed Nov 25, 2011
1 parent 998c071 commit d0c1beb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/com/android/phone/OtaUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -654,13 +654,13 @@ public void onOtaProvisionStatusChanged(AsyncResult r) {
break;

case Phone.CDMA_OTA_PROVISION_STATUS_COMMITTED:
if (DBG) {
log("onOtaProvisionStatusChanged(): DONE, isOtaCallCommitted set to true");
}
mApplication.cdmaOtaProvisionData.isOtaCallCommitted = true;
if (mApplication.cdmaOtaScreenState.otaScreenState !=
CdmaOtaScreenState.OtaScreenState.OTA_STATUS_UNDEFINED) {
if (DBG) {
log("onOtaProvisionStatusChanged(): DONE, isOtaCallCommitted set to true");
}
CdmaOtaScreenState.OtaScreenState.OTA_STATUS_UNDEFINED) {
updateOtaspProgress();
mApplication.cdmaOtaProvisionData.isOtaCallCommitted = true;
}

break;
Expand Down

0 comments on commit d0c1beb

Please sign in to comment.