Permalink
Browse files

Fix a nasty bug that would cause a crash on Honeycomb tablets and a m…

…ysterious hidden error dialog on pre-honeycomb phones prior to the first Sync
  • Loading branch information...
1 parent 111ff44 commit b92eccb20774b3f633ffbc730e2f855e161c8a5e @matburt committed May 3, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/com/matburt/mobileorg/MobileOrgActivity.java
@@ -263,6 +263,9 @@ public void onDestroy() {
public void runParser() {
MobileOrgApplication appInst = (MobileOrgApplication)this.getApplication();
HashMap<String, String> allOrgList = this.appdb.getOrgFiles();
+ if (allOrgList.isEmpty()) {
+ return;
+ }
String storageMode = this.getStorageLocation();
String userSynchro = this.appSettings.getString("syncSource","");
String orgBasePath = "";

0 comments on commit b92eccb

Please sign in to comment.