Commit 745a1c94c125de5ae9735910ae421cf2a111f923
1 parent
c3be8f46
build fix
Showing
4 changed files
with
3 additions
and
13 deletions
VitamioBundle/.project
project.properties
src/com/upc/pbe/upcnews/BandwidthMeasurer.java
... | ... | @@ -16,8 +16,7 @@ public class BandwidthMeasurer { |
16 | 16 | Log.d(TAG, "Diferencia de temps = " + TimeDifference / 1000); |
17 | 17 | Log.d(TAG, "Diferencia de bytes = " + rxDiff); |
18 | 18 | if (rxDiff != 0) { |
19 | - bps = ((rxDiff * 8) / (TimeDifference / 1000)); // total de rx en | |
20 | - // bits per segon. | |
19 | + bps = ((rxDiff * 8) / (TimeDifference / 1000)); // total de rx en bits per segon. | |
21 | 20 | Log.d(TAG, "Velocitat actual (KB/s): " + (bps / 8e3)); |
22 | 21 | } else { |
23 | 22 | bps = -1; // No s'han trasmès dades | ... | ... |
src/com/upc/pbe/upcnews/UpcApp.java
... | ... | @@ -14,7 +14,6 @@ public class UpcApp extends Application implements |
14 | 14 | final static String TAG = "Aplicacio"; |
15 | 15 | private SharedPreferences prefs; // Conjunt de preferencies de l'aplicacio |
16 | 16 | private String url = null; |
17 | - private String desc; | |
18 | 17 | private final static String localPath = Environment.getExternalStorageDirectory().getPath() + "/UPC NEWS/"; |
19 | 18 | private HLS h; |
20 | 19 | private int quality; |
... | ... | @@ -58,12 +57,4 @@ public class UpcApp extends Application implements |
58 | 57 | public void onSharedPreferenceChanged(SharedPreferences arg0, String key) { |
59 | 58 | Log.d(TAG, "onSharedPreferenceChanged for key: " + key); |
60 | 59 | } |
61 | - | |
62 | - public void setDesc(String s) { | |
63 | - desc = s; | |
64 | - } | |
65 | - | |
66 | - public String getDesc() { | |
67 | - return desc; | |
68 | - } | |
69 | 60 | } |
70 | 61 | \ No newline at end of file | ... | ... |