Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

Commit

Permalink
Fix #191 - broken (android internal) parser
Browse files Browse the repository at this point in the history
  • Loading branch information
gsantner committed Apr 15, 2018
1 parent 9f0069c commit 246635a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,12 @@ static boolean parseToXml(ApplicationList applications, OutputStream out) {
private static void writeTag(XmlSerializer serializer, String tag, String content)
throws IOException {
serializer.startTag(ns, tag);
serializer.text(content);
try {
serializer.text(content);
} catch (IllegalArgumentException exception){
// XML Parser internal broken on pre LL
serializer.text("");
}
serializer.endTag(ns, tag);
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<string name="import_file_failed">Konnte das ausgewählte Element nicht importieren</string>
<string name="import_file_success">Import erfolgreich</string>
<string name="update_applications">Applikationen updaten</string>
<string name="apps_repo_not_downloaded">Das Anwendungs-Repo wurde noch nicht heruntergeladen. Tippen auf die Menüschaltfläche \"%s\", um den Repo-Index herunterzuladen und verfügbaren Anwendungen zu erkunden.</string>
<string name="apps_repo_not_downloaded">Anwendungs-Informationen aus der F-Droid Repo wurden noch nicht heruntergeladen. Drücke den Button \"%s\", um den Repo-Index herunterzuladen und Anwendungen zu finden.</string>
<string name="sync_failed">Synchronisation von %s fehlgeschlagen.</string>
<string name="done">Fertig!</string>
<string name="search">Suche</string>
Expand Down

0 comments on commit 246635a

Please sign in to comment.