Skip to content

Commit ff707a2

Browse files
committed
Consume KEYCODE_VOLUME_UP event when debug print is called
1 parent 4a82c7a commit ff707a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/editor/WordPressEditor/src/main/java/org/wordpress/android/editor/EditorWebViewAbstract.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ public boolean onKeyPreIme(int keyCode, KeyEvent event) {
225225
// Log the raw html
226226
execJavaScriptFromString("console.log(document.body.innerHTML);");
227227
ToastUtils.showToast(getContext(), "Debug: Raw HTML has been logged");
228+
return true;
228229
}
229230
return super.onKeyPreIme(keyCode, event);
230231
}

0 commit comments

Comments
 (0)