Commit a9642a9
committed
fix: guard file chooser launch against missing picker
The ActivityNotFoundException can also happen at launch() time,
not just createIntent(). Wrap the launcher call so devices without
a file picker return null to WebView cleanly.1 parent 00f924d commit a9642a9
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
344 | 349 | | |
345 | 350 | | |
346 | 351 | | |
| |||
0 commit comments