Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f15e00e authored by Darrell Shi's avatar Darrell Shi Committed by Automerger Merge Worker
Browse files

Merge "Prevent the screen reader box from unexpected scrolling in dream...

Merge "Prevent the screen reader box from unexpected scrolling in dream setting page." into tm-qpr-dev am: 34db15a0 am: 2119a2dc

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



Change-Id: I38545423c8784f826265ece8aef6a75662cb7549
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents bb2c12b9 2119a2dc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -224,6 +224,10 @@ public class DreamSettings extends DashboardFragment implements OnMainSwitchChan
        mPreviewButton.setOnClickListener(v -> dreamBackend.preview(dreamBackend.getActiveDream()));

        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();
        return mRecyclerView;
    }