Merge pull request #5526 from ByteHamster/mini-fixes

Mini fixes
This commit is contained in:
ByteHamster 2021-11-06 19:20:00 +01:00 committed by GitHub
commit 8490fa6f9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-path name="external_storage" path="."/>
<root-path name="external_files" path="/storage/" />
<files-path name="name" path="." />
</paths>

View File

@ -73,7 +73,12 @@ public class TypeGetter {
throw new UnsupportedFeedtypeException(Type.INVALID, tag);
}
} else {
eventType = xpp.next();
try {
eventType = xpp.next();
} catch (RuntimeException e) {
// Apparently this happens on some devices...
throw new UnsupportedFeedtypeException("Unable to get type");
}
}
}
} catch (XmlPullParserException e) {