Summary: | MuPDF Library throwing sporadic exception on Android | ||
---|---|---|---|
Product: | MuPDF | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | mupdf | Assignee: | Paul Gardiner <paul.gardiner> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | CC: | cs, matt, tor.andersson |
Priority: | P2 | ||
Version: | 1.3 | ||
Hardware: | Android Phone | ||
OS: | Android | ||
Customer: | 832 | Word Size: | --- |
Description
Marcos H. Woehrmann
2014-04-02 13:07:32 UTC
Bug fixed: just comment this line and return null @Override public View getSelectedView() { //throw new UnsupportedOperationException(getContext().getString(R.string.not_supported)); return null; } newscope GmbH This is easy to reproduce if you enable 'Talkback' in the accessiblity settings. The fix should be pretty straightforward. Actually, cs@newscope.com has supplied the fix, thanks! commit 38402bcf8dfea7b08cb5b3e6948af078d0b3874b Author: Matt Holgate <matt@emobix.co.uk> Date: Wed Jun 18 12:21:05 2014 +0100 Fix bug #695132: MuPDF Library throwing sporadic exception on Android Android sometimes calls the 'getSelectedView()' method of an AdapterView. This can be made to happen more predicatably by enabling the Talkback accessibility feature. Remove the UnsupportedOperationException and just return null, as we the ReaderView does not have the concept of a selected page. |