Snap for 9769489 from 34db15a008 to tm-qpr3-release

Change-Id: I98ff47ee9d4dcad951ecccd47769728b96813b29
This commit is contained in:
Android Build Coastguard Worker
2023-03-18 01:26:16 +00:00
2 changed files with 831 additions and 539 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -224,6 +224,10 @@ public class DreamSettings extends DashboardFragment implements OnMainSwitchChan
mPreviewButton.setOnClickListener(v -> dreamBackend.preview(dreamBackend.getActiveDream())); mPreviewButton.setOnClickListener(v -> dreamBackend.preview(dreamBackend.getActiveDream()));
mRecyclerView = super.onCreateRecyclerView(inflater, parent, bundle); mRecyclerView = super.onCreateRecyclerView(inflater, parent, bundle);
// The enable/disable status change of the nested RecyclerView(Dream Picker) causes the
// focus moving. Make the RecyclerView unfocusable to prevent the unexpected scrolling when
// the focus changes in the TalkBack mode.
mRecyclerView.setFocusable(false);
updatePaddingForPreviewButton(); updatePaddingForPreviewButton();
return mRecyclerView; return mRecyclerView;
} }