We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa8cac8 + c0ebaea commit 7d77977Copy full SHA for 7d77977
telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
@@ -1240,7 +1240,7 @@ public void handleMessage (Message msg) {
1240
// If the radio shuts off or resets while one of these
1241
// is pending, we need to clean up.
1242
1243
- for (int i = 0, s = mPendingMMIs.size() ; i < s; i++) {
+ for (int i = mPendingMMIs.size() - 1; i >= 0; i--) {
1244
if (mPendingMMIs.get(i).isPendingUSSD()) {
1245
mPendingMMIs.get(i).onUssdFinishedError();
1246
}
0 commit comments