Merge "Fix Force Close when enable airplane mode"
This commit is contained in:
@@ -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