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:
+2
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user