Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
cts
Commits
31306603
Commit
31306603
authored
15 years ago
by
Brett Chabot
Browse files
Options
Download
Email Patches
Plain Diff
Fix DialogTest:testContextMenu.
onPanelClosed is no longer called when context menu is closed. Bug 2219899
parent
aef11600
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/tests/app/src/android/app/cts/DialogTest.java
tests/tests/app/src/android/app/cts/DialogTest.java
+1
-1
No files found.
tests/tests/app/src/android/app/cts/DialogTest.java
View file @
31306603
...
...
@@ -968,7 +968,7 @@ public class DialogTest extends ActivityInstrumentationTestCase2<DialogStubActiv
assertFalse
(
d
.
isOnContextMenuClosedCalled
);
// Closed context menu
sendKeys
(
KeyEvent
.
KEYCODE_BACK
);
assert
Tru
e
(
d
.
isOnPanelClosedCalled
);
assert
Fals
e
(
d
.
isOnPanelClosedCalled
);
// Here isOnContextMenuClosedCalled should be true, see bug 1716918.
assertFalse
(
d
.
isOnContextMenuClosedCalled
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment