From 4457bb8e0427f05f8c747ef7d106b169f338e4e2 Mon Sep 17 00:00:00 2001 From: Antony Sargent Date: Mon, 12 Mar 2018 16:10:56 -0700 Subject: [PATCH] Update comment for HAPTIC_FEEDBACK_ENABLED setting The current comment is a little confusing, and this ends up in the public documentation here: https://developer.android.com/reference/android/provider/Settings.System.html#HAPTIC_FEEDBACK_ENABLED See b/22390263 entry for a link to at least one instance where an actual developer was confused by this. This CL changes the comment to match what we call the setting in the UI of the Settings app. Note that it's possible this could become stale someday (e.g. we used to label this "Vibrate on touch" and switched to "Vibrate on tap" at some point), but this description will probably still be ok and remain an improvement over what we have now. Bug: 22390263 Test: N/A (comment only change) Change-Id: I717a7c5a2f9ecc38cfe6f0c1c0379a868f810782 --- core/java/android/provider/Settings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 29b7931bf7c7b..ef1dce3aabe63 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -3727,7 +3727,7 @@ public final class Settings { public static final Validator SOUND_EFFECTS_ENABLED_VALIDATOR = BOOLEAN_VALIDATOR; /** - * Whether the haptic feedback (long presses, ...) are enabled. The value is + * Whether haptic feedback (Vibrate on tap) is enabled. The value is * boolean (1 or 0). */ public static final String HAPTIC_FEEDBACK_ENABLED = "haptic_feedback_enabled";