mirror of
https://framagit.org/tom79/fedilab-tube
synced 2025-04-24 23:18:43 +02:00
clean
This commit is contained in:
parent
9eacccf504
commit
0fcad881bf
@ -65,8 +65,8 @@ import static app.fedilab.fedilabtube.asynctasks.RetrievePeertubeInformationAsyn
|
|||||||
public class AllPlaylistsActivity extends AppCompatActivity implements OnPlaylistActionInterface, OnRetrievePeertubeInterface {
|
public class AllPlaylistsActivity extends AppCompatActivity implements OnPlaylistActionInterface, OnRetrievePeertubeInterface {
|
||||||
|
|
||||||
|
|
||||||
|
PlaylistAdapter playlistAdapter;
|
||||||
private AsyncTask<Void, Void, Void> asyncTask;
|
private AsyncTask<Void, Void, Void> asyncTask;
|
||||||
|
|
||||||
private RelativeLayout mainLoader;
|
private RelativeLayout mainLoader;
|
||||||
private RelativeLayout textviewNoAction;
|
private RelativeLayout textviewNoAction;
|
||||||
private HashMap<Integer, String> privacyToSend;
|
private HashMap<Integer, String> privacyToSend;
|
||||||
@ -74,7 +74,7 @@ public class AllPlaylistsActivity extends AppCompatActivity implements OnPlaylis
|
|||||||
private Spinner set_upload_privacy;
|
private Spinner set_upload_privacy;
|
||||||
private String idChannel;
|
private String idChannel;
|
||||||
private List<Playlist> playlists;
|
private List<Playlist> playlists;
|
||||||
PlaylistAdapter playlistAdapter;
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
@ -66,6 +66,7 @@ import app.fedilab.fedilabtube.interfaces.OnDownloadInterface;
|
|||||||
public class HttpsConnection {
|
public class HttpsConnection {
|
||||||
|
|
||||||
|
|
||||||
|
private static final String LINE_FEED = "\r\n";
|
||||||
private HttpsURLConnection httpsURLConnection;
|
private HttpsURLConnection httpsURLConnection;
|
||||||
private String since_id, max_id;
|
private String since_id, max_id;
|
||||||
private Context context;
|
private Context context;
|
||||||
@ -108,7 +109,6 @@ public class HttpsConnection {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get calls
|
* Get calls
|
||||||
*
|
*
|
||||||
@ -193,7 +193,6 @@ public class HttpsConnection {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public String get(String urlConnection) throws IOException, NoSuchAlgorithmException, KeyManagementException, HttpsConnectionException {
|
public String get(String urlConnection) throws IOException, NoSuchAlgorithmException, KeyManagementException, HttpsConnectionException {
|
||||||
|
|
||||||
|
|
||||||
@ -303,9 +302,10 @@ public class HttpsConnection {
|
|||||||
httpsURLConnection.getInputStream().close();
|
httpsURLConnection.getInputStream().close();
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
private static final String LINE_FEED = "\r\n";
|
|
||||||
/**
|
/**
|
||||||
* Adds a form field to the request
|
* Adds a form field to the request
|
||||||
|
*
|
||||||
* @param writer StringBuilder
|
* @param writer StringBuilder
|
||||||
* @param name field name
|
* @param name field name
|
||||||
* @param value field value
|
* @param value field value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user