Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
Release 4.4.0
Browse files Browse the repository at this point in the history
* Fixed issue when changing between servers in the Pro version
* Fixed number exception issue for Free and Pro version
* Removed debug messages
  • Loading branch information
lgallard authored and lgallard committed Aug 1, 2016
1 parent 9f750c5 commit feac23a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
12 changes: 6 additions & 6 deletions app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
<sourceFolder url="file://$MODULE_DIR$/src/proDebug/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/proDebug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/proDebug/shaders" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/androidTest/pro/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/androidTest/pro/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/pro/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/androidTest/pro/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/pro/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/androidTest/pro/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testProDebug/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testProDebug/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/testProDebug/assets" type="java-test-resource" />
Expand All @@ -50,12 +56,6 @@
<sourceFolder url="file://$MODULE_DIR$/src/testProDebug/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testProDebug/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/testProDebug/shaders" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/androidTest/pro/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/androidTest/pro/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/pro/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/androidTest/pro/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/pro/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/androidTest/pro/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/pro/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/pro/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/pro/assets" type="java-resource" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
*/
package com.lgallardo.qbittorrentclient;

import android.util.Log;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.TimeUnit;
Expand Down Expand Up @@ -130,7 +128,7 @@ public static String timestampToDate(String timestamp){

Long unixtimestamp = Long.parseLong(timestamp);

Log.d("Debug", "TimeStamp: " + unixtimestamp);
// Log.d("Debug", "TimeStamp: " + unixtimestamp);

if("4294967295".equals(unixtimestamp)){
return "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ private void handleUrlTorrent() {

// If It is a valid torrent or magnet link
if (urlTorrent.contains(".torrent") || urlTorrent.contains("magnet:")) {
Log.d("Debug", "URL: " + urlTorrent);
// Log.d("Debug", "URL: " + urlTorrent);
addTorrent(urlTorrent);
} else {
// Open not valid torrent or magnet link in browser
Expand Down Expand Up @@ -1780,7 +1780,7 @@ public void onClick(DialogInterface dialog, int id) {
swipeRefresh();
return true;
case R.id.action_add_tracker:
Log.d("Debug", "Adding tracker");
// Log.d("Debug", "Adding tracker");

if (com.lgallardo.qbittorrentclient.TorrentDetailsFragment.hashToUpdate != null) {

Expand Down Expand Up @@ -3119,7 +3119,7 @@ protected String[] doInBackground(Intent... intents) {
qb_api = apiVersion;
qbittorrentServer = apiVersion;

Log.d("Debug", "API: " + apiVersion);
// Log.d("Debug", "API: " + apiVersion);

} catch (JSONParserStatusCodeException e) {

Expand Down Expand Up @@ -3239,7 +3239,7 @@ protected String[] doInBackground(String... params) {
try {
if(Integer.parseInt(MainActivity.qb_api) >= 10 && "setLabel".equals(params[0])) {
params[0] = "setCategory";
Log.d("Debug", params[0]);
// Log.d("Debug", params[0]);
}
} catch (NumberFormatException e) {
Log.e("Debug", e.toString());
Expand Down Expand Up @@ -3751,7 +3751,7 @@ protected void onPostExecute(Torrent[] result) {

// Add Label
labels.add(label);
Log.d("Debug", "Label: " + label);
// Log.d("Debug", "Label: " + label);

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;

public class TorrentDetailsFragment extends Fragment {

Expand Down Expand Up @@ -446,7 +445,7 @@ public void onRefresh() {

public void updateDetails(Torrent torrent) {

Log.d("Debug", "Updating details");
// Log.d("Debug", "Updating details");

try {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
Expand Down Expand Up @@ -202,7 +201,7 @@ public void refreshTrackers(ArrayList<TorrentDetailsItem> trackerItems) {
TrackersRecyclerViewAdapter.items = new ArrayList<TorrentDetailsItem>();

// Add items
Log.d("Debug","Tracker size: " + trackerItems.size());
// Log.d("Debug","Tracker size: " + trackerItems.size());
// TrackersRecyclerViewAdapter.items.addAll(TrackersRecyclerViewAdapter.fileItems);
TrackersRecyclerViewAdapter.items.addAll(trackerItems);

Expand Down

0 comments on commit feac23a

Please sign in to comment.