fix path name string causing JNI crash on emulator

And catch NPE that also seems to be emulator-only
This commit is contained in:
Eric House 2018-11-29 09:30:14 -08:00
parent 9eec5c37ef
commit ff2192f659

View file

@ -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;
}
}