Commit 31306603 authored by Brett Chabot's avatar Brett Chabot
Browse files

Fix DialogTest:testContextMenu.

onPanelClosed is no longer called when context menu is closed.

Bug 2219899
parent aef11600
......@@ -968,7 +968,7 @@ public class DialogTest extends ActivityInstrumentationTestCase2<DialogStubActiv
assertFalse(d.isOnContextMenuClosedCalled);
// Closed context menu
sendKeys(KeyEvent.KEYCODE_BACK);
assertTrue(d.isOnPanelClosedCalled);
assertFalse(d.isOnPanelClosedCalled);
// Here isOnContextMenuClosedCalled should be true, see bug 1716918.
assertFalse(d.isOnContextMenuClosedCalled);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment