2013-11-26 Sergio Martin <sergio.martin@artica.es>
* pandroid_event_viewer/src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java pandroid_event_viewer/src/pandroid_event_viewer/pandorafms/Main.java: Clean old debug messages and fix version detection for use new API functions on SP1 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7be262505b
commit
d0f2020b47
|
@ -1,3 +1,9 @@
|
|||
2013-11-26 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* pandroid_event_viewer/src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java
|
||||
pandroid_event_viewer/src/pandroid_event_viewer/pandorafms/Main.java: Clean old debug messages
|
||||
and fix version detection for use new API functions on SP1
|
||||
|
||||
2013-11-06 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* build_vars.sh: Added console dirs to auto-create OUM packages.
|
||||
|
|
|
@ -337,9 +337,7 @@ public class Main extends Activity {
|
|||
|
||||
buttonSaveAsFilterWatcher.setEnabled(true);
|
||||
buttonSearch.setEnabled(true);
|
||||
|
||||
Log.e("CACA", "CACA " + buttonSearch.isEnabled());
|
||||
|
||||
|
||||
buttonDeleteProfile.setEnabled(true);
|
||||
buttonSaveProfile.setEnabled(true);
|
||||
}
|
||||
|
|
|
@ -565,7 +565,10 @@ public class PandroidEventviewerActivity extends TabActivity implements
|
|||
Activity.MODE_PRIVATE);
|
||||
String api_version = preferences.getString("api_version", "");
|
||||
|
||||
if (api_version.equals("v5.0")) {
|
||||
// Get the short form of the version. I.E. "v5" for "v5.0SP1"
|
||||
String[] api_version_short = api_version.split("\\.");
|
||||
|
||||
if (api_version_short[0].equals("v5")) {
|
||||
this.getEvents_v50(lines);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue