Use new option for applications list

Fix #78
This commit is contained in:
Schoumi 2020-06-29 15:01:47 +02:00
parent 92f5816cb4
commit b531926e96
1 changed files with 1 additions and 6 deletions

View File

@ -220,7 +220,7 @@ public class NetworkManager {
mes.listener.onProgress(R.string.get_reports_connection,0,0);
URL url;
try {
url = new URL(apiUrl+"applications");
url = new URL(apiUrl+"applications?option=short");
} catch (Exception e){
e.printStackTrace();
return;
@ -244,11 +244,6 @@ public class NetworkManager {
JSONObject app = applications.getJSONObject(i);
String handle = app.getString("handle");
String auid = app.getString("app_uid");
app.remove("id");
app.remove("name");
app.remove("creator");
app.remove("icon_phash");
app.remove("downloads");
if (packages.contains(handle))
handles.put(handle,auid);
app.remove("app_uid");