Merge "Fix that holding volume buttons to activate Extra dim feature doesn't do anything." into tm-dev

This commit is contained in:
PETER LIANG
2022-03-25 14:06:00 +00:00
committed by Android (Google) Code Review
5 changed files with 46 additions and 0 deletions

View File

@@ -367,6 +367,10 @@ public class ToggleScreenMagnificationPreferenceFragment extends
mShortcutPreference.setChecked(value != UserShortcutType.EMPTY);
mShortcutPreference.setSummary(
getShortcutTypeSummary(getPrefContext()));
if (mHardwareTypeCheckBox.isChecked()) {
AccessibilityUtil.skipVolumeShortcutDialogTimeoutRestriction(getPrefContext());
}
}
@Override