Skip to content

Commit

Permalink
* Disable vibration by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kconger committed Jan 17, 2015
1 parent 5a92745 commit 80d37ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/org/thecongers/mtpms/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ private void Notify(String notificationMessage)
}
Notification notification = builder.build();
// Check for vibration enabled
if (sharedPrefs.getBoolean("prefNotificationVibrate", true)) {
if (sharedPrefs.getBoolean("prefNotificationVibrate", false)) {
notification.defaults|= Notification.DEFAULT_VIBRATE;
}
// Make alert repeat until read
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/user_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
android:title="@string/pref_notificationSound_name" >
</CheckBoxPreference>
<CheckBoxPreference
android:defaultValue="true"
android:defaultValue="false"
android:key="prefNotificationVibrate"
android:summary="@string/pref_notificationVibrate_summary"
android:title="@string/pref_notificationVibrate_name" >
Expand Down

0 comments on commit 80d37ae

Please sign in to comment.