mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-12 08:47:50 +01:00
fix path name string causing JNI crash on emulator
And catch NPE that also seems to be emulator-only
This commit is contained in:
parent
9eec5c37ef
commit
ff2192f659
1 changed files with 2 additions and 0 deletions
|
@ -214,6 +214,8 @@ public class WiDirService extends XWService {
|
|||
sHavePermission = false;
|
||||
} catch ( SecurityException se ) { // perm not in manifest
|
||||
sHavePermission = false;
|
||||
} catch ( NullPointerException npe ) { // Seeing this on Oreo emulator
|
||||
sHavePermission = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue