Merge "Play vibration preview when turning on vibration" into qt-dev am: 1a82d653f7
am: aa580944a6
am: 3f6dd2c01d
Change-Id: I969d24144d2ba9f07a4e47c96f2c220e91bf0a98
This commit is contained in:
@@ -128,6 +128,8 @@ public abstract class VibrationPreferenceFragment extends RadioButtonPickerFragm
|
|||||||
// Update vibration intensity setting
|
// Update vibration intensity setting
|
||||||
Settings.System.putInt(getContext().getContentResolver(),
|
Settings.System.putInt(getContext().getContentResolver(),
|
||||||
getVibrationIntensitySetting(), candidate.getIntensity());
|
getVibrationIntensitySetting(), candidate.getIntensity());
|
||||||
|
} else {
|
||||||
|
playVibrationPreview();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user