@ -82,11 +82,11 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@@ -82,11 +82,11 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
privatestaticfinalintFILEMENU_REMOTESTART_ID=5;
privatestaticfinalintFILEMENU_FTPDOWNLOAD_ID=6;
privatestaticfinalintMENU_FORCESTART_ID=0;
privatestaticfinalintMENU_SETLOCATION_ID=1;
privatestaticfinalintMENU_EDITTRACKERS_ID=2;
privatestaticfinalintMENU_INVERTSELECTION_ID=3;
privatestaticfinalintMENU_REFRESH_ID=4;
privatestaticfinalintMENU_FORCESTART_ID=50;
privatestaticfinalintMENU_SETLOCATION_ID=51;
privatestaticfinalintMENU_EDITTRACKERS_ID=52;
privatestaticfinalintMENU_INVERTSELECTION_ID=53;
privatestaticfinalintMENU_REFRESH_ID=54;
staticfinalintDIALOG_ASKREMOVE=11;
privatestaticfinalintDIALOG_INSTALLVLC=12;
@ -98,6 +98,7 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@@ -98,6 +98,7 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@ -108,7 +109,8 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@@ -108,7 +109,8 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@ -537,6 +539,10 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@@ -537,6 +539,10 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@ -596,6 +602,10 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@@ -596,6 +602,10 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
// Also call back to the main torrents list to update its view
if(torrentsFragment!=null){
torrentsFragment.updateTorrentList();
}
break;
caseResume:
@ -603,11 +613,19 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@@ -603,11 +613,19 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
// Also call back to the main torrents list to update its view
if(torrentsFragment!=null){
torrentsFragment.updateTorrentList();
}
break;
caseStart:
@ -615,6 +633,10 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@@ -615,6 +633,10 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
// Also call back to the main torrents list to update its view
if(torrentsFragment!=null){
torrentsFragment.updateTorrentList();
}
break;
caseRemove:
@ -624,11 +646,18 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@@ -624,11 +646,18 @@ public class DetailsFragment extends Fragment implements IDaemonCallback, OnSele
@ -979,7 +979,8 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
@@ -979,7 +979,8 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
// Show the details in the right of the screen (tablet interface) or separately
@ -1377,7 +1378,7 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
@@ -1377,7 +1378,7 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
}
}
privatevoidupdateTorrentList(){
publicvoidupdateTorrentList(){
if(daemon!=null){
queue.enqueue(RetrieveTask.create(daemon));
}
@ -1750,13 +1751,9 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
@@ -1750,13 +1751,9 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
@ -1767,7 +1764,7 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
@@ -1767,7 +1764,7 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
@ -1777,8 +1774,8 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
@@ -1777,8 +1774,8 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou