1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-21 21:32:58 +00:00

Add build.gradle, as requested by #82

This commit is contained in:
Loic Blot
2016-01-18 07:04:35 +01:00
parent b1d2093563
commit 7e87253d5f
9 changed files with 49 additions and 11 deletions
@@ -6,7 +6,6 @@ import android.app.ListActivity;
import android.os.Bundle;
import java.util.ArrayList;
import java.util.Collections;
import fr.nrz.androidlib.adapters.AndroidAccountAdapter;
import fr.unix_experience.owncloud_sms.R;
@@ -22,6 +21,7 @@ public class AccountListActivity extends ListActivity {
AccountManager _accountMgr = AccountManager.get(getBaseContext());
setContentView(R.layout.restore_activity_accountlist);
/*
adapter = new AndroidAccountAdapter(this,
android.R.layout.simple_list_item_1,
listItems,
@@ -34,6 +34,7 @@ public class AccountListActivity extends ListActivity {
Collections.addAll(listItems, accountList);
adapter.notifyDataSetChanged();
*/
}
}
@@ -274,9 +274,9 @@ public class SmsFetcher {
existingMessages = _existingSentMessages;
}
if (existingMessages == null) {
return "";
}
if (existingMessages == null) {
return "";
}
// Note: The default case isn't possible, we check the mailbox before
StringBuilder sb = new StringBuilder();
@@ -292,7 +292,7 @@ public class SmsFetcher {
}
}
return sb.toString();
return sb.toString();
}
public void setExistingInboxMessages(JSONArray inboxMessages) {