This commit is contained in:
Thomas 2020-09-04 15:58:49 +02:00
parent 9eacccf504
commit 0fcad881bf
2 changed files with 10 additions and 10 deletions

View File

@ -65,8 +65,8 @@ import static app.fedilab.fedilabtube.asynctasks.RetrievePeertubeInformationAsyn
public class AllPlaylistsActivity extends AppCompatActivity implements OnPlaylistActionInterface, OnRetrievePeertubeInterface {
PlaylistAdapter playlistAdapter;
private AsyncTask<Void, Void, Void> asyncTask;
private RelativeLayout mainLoader;
private RelativeLayout textviewNoAction;
private HashMap<Integer, String> privacyToSend;
@ -74,7 +74,7 @@ public class AllPlaylistsActivity extends AppCompatActivity implements OnPlaylis
private Spinner set_upload_privacy;
private String idChannel;
private List<Playlist> playlists;
PlaylistAdapter playlistAdapter;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

View File

@ -66,6 +66,7 @@ import app.fedilab.fedilabtube.interfaces.OnDownloadInterface;
public class HttpsConnection {
private static final String LINE_FEED = "\r\n";
private HttpsURLConnection httpsURLConnection;
private String since_id, max_id;
private Context context;
@ -108,7 +109,6 @@ public class HttpsConnection {
}
}
/**
* Get calls
*
@ -193,7 +193,6 @@ public class HttpsConnection {
return response;
}
public String get(String urlConnection) throws IOException, NoSuchAlgorithmException, KeyManagementException, HttpsConnectionException {
@ -303,9 +302,10 @@ public class HttpsConnection {
httpsURLConnection.getInputStream().close();
return response;
}
private static final String LINE_FEED = "\r\n";
/**
* Adds a form field to the request
*
* @param writer StringBuilder
* @param name field name
* @param value field value