]> Pileus Git - ~andy/spades/commitdiff
Update preferences
authorAndy Spencer <andy753421@gmail.com>
Sat, 13 Apr 2013 10:07:46 +0000 (10:07 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 13 Apr 2013 10:07:46 +0000 (10:07 +0000)
res/xml/prefs.xml
src/org/pileus/spades/Task.java

index d4fb1d125e379df7d4d85f29c6786314a29a2617..e371c0ac2975dcc7fbce9a9808106796d58ef997 100644 (file)
@@ -26,7 +26,7 @@
                        android:key="pref_channel"
                        android:summary="IRC Channel to Join"
                        android:title="Channel"
-                       android:defaultValue="#rhnoise" />
+                       android:defaultValue="#rhtest" />
        </PreferenceCategory>
        <PreferenceCategory
                android:title="Authentication settings"
index 59b6be9983703a9bf835888dcc03b7461c49ee17..adb8df49a2572b058886641cdd20e63905d607e2 100644 (file)
@@ -140,6 +140,7 @@ public class Task extends Service implements Runnable
 
                this.client = new Client();
                this.prefs  = PreferenceManager.getDefaultSharedPreferences(this);
+               PreferenceManager.setDefaultValues(this, R.xml.prefs, false);
        }
 
        @Override