Merge "Enable touch feedback settings when the phone is in silent mode" into tm-dev am: f73af73a1a

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16980963

Change-Id: I8c36a15f8e525af25eb36fd2585371048ea89228
This commit is contained in:
TreeHugger Robot
2022-02-28 22:54:26 +00:00
committed by Automerger Merge Worker
7 changed files with 110 additions and 29 deletions

View File

@@ -37,12 +37,6 @@ public class HapticFeedbackIntensityPreferenceController
VibrationAttributes.USAGE_TOUCH);
}
@Override
public boolean isRestrictedByRingerModeSilent() {
// Touch feedback is disabled when the phone is in silent mode.
return true;
}
@Override
public int readIntensity() {
final int hapticFeedbackEnabled = Settings.System.getInt(mContentResolver,