Set new ringers are enabled by default

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-11-03 15:12:05 -04:00
parent ae0eef3e23
commit ae609a0e5e
3 changed files with 4 additions and 2 deletions

View File

@@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.TwentyCodes.android.LocationRinger"
android:installLocation="internalOnly"
android:versionCode="198"
android:versionName="2840b64" >
android:versionCode="199"
android:versionName="ae0eef3" >
<uses-sdk android:minSdkVersion="7"/>

View File

@@ -8,6 +8,7 @@
android:id="@+id/ringer_enabled"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:textOff="@string/disable"
android:textOn="@string/enable" />

View File

@@ -186,6 +186,7 @@ public class AboutRingerFragment extends Fragment implements OnCheckedChangeList
if (mRinger.containsKey(RingerDatabase.KEY_IS_ENABLED))
mRingerEnabled.setChecked(mRinger.getAsBoolean(RingerDatabase.KEY_IS_ENABLED));
mRingerEnabled.setOnCheckedChangeListener(this);
onCheckedChanged(mRingerEnabled, mRingerEnabled.isChecked());
return view;
}