am 7d77977f: Merge "Fix Force Close when enable airplane mode"
* commit '7d77977ffab9b5d7d154894afda2c70def1222f5': Fix Force Close when enable airplane mode
This commit is contained in:
committed by
Android Git Automerger
commit
6c50da75f6
@@ -1240,7 +1240,7 @@ public class GSMPhone extends PhoneBase {
|
||||
// If the radio shuts off or resets while one of these
|
||||
// is pending, we need to clean up.
|
||||
|
||||
for (int i = 0, s = mPendingMMIs.size() ; i < s; i++) {
|
||||
for (int i = mPendingMMIs.size() - 1; i >= 0; i--) {
|
||||
if (mPendingMMIs.get(i).isPendingUSSD()) {
|
||||
mPendingMMIs.get(i).onUssdFinishedError();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user