Skip to content
Commit 00e8737b authored by George Zacharia's avatar George Zacharia
Browse files

Jelly: Fix find in page functionality

The KeyEvent parameter maybe null, state it in function declaration. Else leads to a crash when the feature is used.

Test:
- Open app, load a webpage.
- Use the "Find in page" from options menu.
- Enter a keyword into the search box, press search option on keyboard, app crashes

With this change, no crash is observed, and the searched terms are highlighted on the page.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/2165
Change-Id: Iad453173fa1417deb01de0b85cad8876ed68ccb1
parent 3ef88722
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment