From 745a1c94c125de5ae9735910ae421cf2a111f923 Mon Sep 17 00:00:00 2001 From: Equip de Desenvolupadors de PBE Date: Wed, 9 Jan 2013 11:02:53 +0000 Subject: [PATCH] build fix --- VitamioBundle/.project | 2 +- project.properties | 2 +- src/com/upc/pbe/upcnews/BandwidthMeasurer.java | 3 +-- src/com/upc/pbe/upcnews/UpcApp.java | 9 --------- 4 files changed, 3 insertions(+), 13 deletions(-) diff --git a/VitamioBundle/.project b/VitamioBundle/.project index 4c9c262..d1950ac 100644 --- a/VitamioBundle/.project +++ b/VitamioBundle/.project @@ -1,6 +1,6 @@ - io.vov.vitamio.activity.InitActivity + VitamioBundle diff --git a/project.properties b/project.properties index 82174f3..89dee5e 100644 --- a/project.properties +++ b/project.properties @@ -12,4 +12,4 @@ # Project target. target=android-10 -android.library.reference.1=../../UPC NEWS/VitamioBundle +android.library.reference.1=VitamioBundle diff --git a/src/com/upc/pbe/upcnews/BandwidthMeasurer.java b/src/com/upc/pbe/upcnews/BandwidthMeasurer.java index b50b0c1..ee1c5ba 100644 --- a/src/com/upc/pbe/upcnews/BandwidthMeasurer.java +++ b/src/com/upc/pbe/upcnews/BandwidthMeasurer.java @@ -16,8 +16,7 @@ public class BandwidthMeasurer { Log.d(TAG, "Diferencia de temps = " + TimeDifference / 1000); Log.d(TAG, "Diferencia de bytes = " + rxDiff); if (rxDiff != 0) { - bps = ((rxDiff * 8) / (TimeDifference / 1000)); // total de rx en - // bits per segon. + bps = ((rxDiff * 8) / (TimeDifference / 1000)); // total de rx en bits per segon. Log.d(TAG, "Velocitat actual (KB/s): " + (bps / 8e3)); } else { bps = -1; // No s'han trasmès dades diff --git a/src/com/upc/pbe/upcnews/UpcApp.java b/src/com/upc/pbe/upcnews/UpcApp.java index c7a6d9a..383f0b2 100644 --- a/src/com/upc/pbe/upcnews/UpcApp.java +++ b/src/com/upc/pbe/upcnews/UpcApp.java @@ -14,7 +14,6 @@ public class UpcApp extends Application implements final static String TAG = "Aplicacio"; private SharedPreferences prefs; // Conjunt de preferencies de l'aplicacio private String url = null; - private String desc; private final static String localPath = Environment.getExternalStorageDirectory().getPath() + "/UPC NEWS/"; private HLS h; private int quality; @@ -58,12 +57,4 @@ public class UpcApp extends Application implements public void onSharedPreferenceChanged(SharedPreferences arg0, String key) { Log.d(TAG, "onSharedPreferenceChanged for key: " + key); } - - public void setDesc(String s) { - desc = s; - } - - public String getDesc() { - return desc; - } } \ No newline at end of file -- libgit2 0.22.2