Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: chrome/android/java/res/xml/website_preferences.xml

Issue 2039953002: Add a preference for disabling vibration in notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Address Dan's comments. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/xml/website_preferences.xml
diff --git a/chrome/android/java/res/xml/website_preferences.xml b/chrome/android/java/res/xml/website_preferences.xml
index 29d3584266d5a8cf9fb0086c8df1207cb6af0715..6f3eb258b4bdade624dacecd3e1c37ee7a4e6dd2 100644
--- a/chrome/android/java/res/xml/website_preferences.xml
+++ b/chrome/android/java/res/xml/website_preferences.xml
@@ -19,6 +19,12 @@
android:title="@string/allow_third_party_cookies_title"
android:summary="@string/allow_third_party_cookies_summary"
android:defaultValue="true" />
+ <!-- A toggle for enabling vibration in notifications. -->
+ <org.chromium.chrome.browser.preferences.ChromeBaseCheckBoxPreference
+ android:key="notifications_vibrate"
+ android:title="@string/enable_notifications_vibrate_title"
+ android:summary="@string/enable_notifications_vibrate_summary"
+ android:defaultValue="true" />
<!-- An hyperlink to explain more about Protected Media content settings. -->
<org.chromium.chrome.browser.preferences.LearnMorePreference
android:key="protected_content_learn_more"
@@ -29,4 +35,4 @@
android:key="blocked_group" />
<org.chromium.chrome.browser.preferences.ExpandablePreferenceGroup
android:key="allowed_group" />
-</PreferenceScreen>
+</PreferenceScreen>
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698