Merge "Do not disable the default shortcut at the end of setup."

This commit is contained in:
Thomas Leu
2023-02-22 06:44:25 +00:00
committed by Android (Google) Code Review

View File

@@ -650,6 +650,11 @@ public class AccessibilityShortcutController {
*
*/
private void setEmptyShortcutTargetIfNeeded() {
if (hasFeatureLeanback()) {
// Do not disable the default shortcut on TV.
return;
}
final ContentResolver contentResolver = mContext.getContentResolver();
final String shortcutTargets = Settings.Secure.getStringForUser(contentResolver,