mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 13:17:43 +00:00
Fixed crash
This commit is contained in:
parent
b0a96ace32
commit
803464a7ce
@ -108,6 +108,7 @@ public class NetworkPackage {
|
||||
|
||||
public ArrayList<String> getStringList(String key) {
|
||||
JSONArray jsonArray = mBody.optJSONArray(key);
|
||||
if (jsonArray == null) return null;
|
||||
ArrayList<String> list = new ArrayList<>();
|
||||
int length = jsonArray.length();
|
||||
for (int i = 0; i < length; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user