Skip to content

Commit 87a435a

Browse files
author
Michael Kolb
committed
Monkey protection
Bug: 6191709 Change-Id: I0bc16f7970bda6b3f5ae3b5d59e3fbdee09a4956
1 parent 83cc2d9 commit 87a435a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9130,8 +9130,10 @@ public void onItemClick(AdapterView<?> parent, View v,
91309130
// after the page regains focus.
91319131
mListBoxMessage = Message.obtain(null,
91329132
EventHub.SINGLE_LISTBOX_CHOICE, (int) id, 0);
9133-
mListBoxDialog.dismiss();
9134-
mListBoxDialog = null;
9133+
if (mListBoxDialog != null) {
9134+
mListBoxDialog.dismiss();
9135+
mListBoxDialog = null;
9136+
}
91359137
}
91369138
});
91379139
if (mSelection != -1) {

0 commit comments

Comments
 (0)