aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/tzur
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2015-11-20 22:41:30 +0100
committersteckbrief <steckbrief@chefmail.de>2015-11-20 22:41:30 +0100
commit2531c88f2c8a992aa0c40c9f96e88099dc94139e (patch)
treee3815b7f1ef0bbd227df8c4452d4aa52b54830e4 /src/main/java/de/tzur
parent8838a5094812e0540ccfef3334e49e1a5c1a564b (diff)
Implements FS#67: Introduce central logging class to use log prefix, new activity to show logcat output and button to copy contents
Diffstat (limited to 'src/main/java/de/tzur')
-rw-r--r--src/main/java/de/tzur/conversations/Settings.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/tzur/conversations/Settings.java b/src/main/java/de/tzur/conversations/Settings.java
index ffdce86d..b8922f0a 100644
--- a/src/main/java/de/tzur/conversations/Settings.java
+++ b/src/main/java/de/tzur/conversations/Settings.java
@@ -1,7 +1,7 @@
package de.tzur.conversations;
import android.content.SharedPreferences;
-import android.util.Log;
+import de.thedevstack.conversationsplus.utils.Logging;
import de.thedevstack.conversationsplus.ConversationsPlusApplication;
@@ -16,7 +16,7 @@ public abstract class Settings {
* @param preferences the shared preferences of the app.
*/
public static void initSettingsClassWithPreferences(SharedPreferences preferences) {
- Log.d("SETTING", "Initializing settings");
+ Logging.d("SETTING", "Initializing settings");
String[] preferenceNames = { "parse_emoticons", "send_button_status", "led_notification_color", "auto_download_file_wlan", "auto_download_file_link", "confirm_messages_list" };
for (String name : preferenceNames) {
Settings.synchronizeSettingsClassWithPreferences(preferences, name);
@@ -29,7 +29,7 @@ public abstract class Settings {
* @param name the name of the setting to synchronize.
*/
public static void synchronizeSettingsClassWithPreferences(SharedPreferences preferences, String name) {
- Log.d("SETTING", "Synchronizing settings");
+ Logging.d("SETTING", "Synchronizing settings");
switch (name) {
case "parse_emoticons":
Settings.PARSE_EMOTICONS = preferences.getBoolean(name, Settings.PARSE_EMOTICONS);