mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2026-08-23 22:32:59 +00:00
set logging to info not debug
This commit is contained in:
@@ -232,7 +232,7 @@ public class LoginActivity extends AppCompatActivity {
|
||||
public class UserLoginTask extends AsyncTask<Void, Void, Boolean> {
|
||||
|
||||
UserLoginTask(String serverURI, String login, String password) {
|
||||
Log.d(TAG, "_serverURI = " + serverURI);
|
||||
Log.i(TAG, "_serverURI = " + serverURI);
|
||||
_serverURI = Uri.parse(serverURI);
|
||||
_login = login;
|
||||
_password = password;
|
||||
|
||||
@@ -70,7 +70,7 @@ public class OCSMSSettingsActivity extends VirtualSettingsActivity {
|
||||
"sync_3g".equals(key) || "sync_gprs".equals(key) ||
|
||||
"sync_4g".equals(key) || "sync_others".equals(key)) {
|
||||
OCSMSSharedPrefs prefs = new OCSMSSharedPrefs(VirtualSettingsActivity._context);
|
||||
Log.d(OCSMSSettingsActivity.TAG,"OCSMSSettingsActivity.handleCheckboxPreference: set " + key + " to "
|
||||
Log.i(OCSMSSettingsActivity.TAG,"OCSMSSettingsActivity.handleCheckboxPreference: set " + key + " to "
|
||||
+ value.toString());
|
||||
prefs.putBoolean(key, value);
|
||||
}
|
||||
@@ -87,7 +87,7 @@ public class OCSMSSettingsActivity extends VirtualSettingsActivity {
|
||||
.setSummary((index >= 0) ? preference.getEntries()[index]
|
||||
: null);
|
||||
|
||||
Log.d(OCSMSSettingsActivity.TAG, "Modifying listPreference " + key);
|
||||
Log.i(OCSMSSettingsActivity.TAG, "Modifying listPreference " + key);
|
||||
|
||||
OCSMSSharedPrefs prefs = new OCSMSSharedPrefs(VirtualSettingsActivity._context);
|
||||
|
||||
|
||||
+1
-1
@@ -193,7 +193,7 @@ public class ContactListActivity extends AppCompatActivity implements ASyncConta
|
||||
switch (requestCodeID) {
|
||||
case REQUEST_CONTACTS:
|
||||
for (int grantResult : grantResults) {
|
||||
Log.d("OcSMS", Integer.toString(grantResult));
|
||||
Log.i("OcSMS", Integer.toString(grantResult));
|
||||
}
|
||||
if (grantResults[0] == PackageManager.PERMISSION_GRANTED) {
|
||||
fetchContact(mFetchedContact);
|
||||
|
||||
+2
-2
@@ -192,11 +192,11 @@ public class VirtualSettingsActivity extends PreferenceActivity {
|
||||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object value) {
|
||||
if (preference instanceof ListPreference) {
|
||||
Log.d(TAG, "Changed list preference " + preference.toString() + " value " + value.toString());
|
||||
Log.i(TAG, "Changed list preference " + preference.toString() + " value " + value.toString());
|
||||
handleListPreference(preference.getKey(), value.toString(), (ListPreference) preference);
|
||||
|
||||
} else if (preference instanceof CheckBoxPreference) {
|
||||
Log.d(TAG, "Changed checkbox preference " + preference.toString() + " value " + value.toString());
|
||||
Log.i(TAG, "Changed checkbox preference " + preference.toString() + " value " + value.toString());
|
||||
handleCheckboxPreference(preference.getKey(), (Boolean) value);
|
||||
} else {
|
||||
// For all other preferences, set the summary to the value's
|
||||
|
||||
Reference in New Issue
Block a user