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

Commit 465f3a4f authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Android (Google) Code Review
Browse files

Merge "Read pointer choreographer flag at boot" into main

parents 9623a2c8 453e1631
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -41,6 +41,8 @@ namespace android {

namespace {

static const bool ENABLE_POINTER_CHOREOGRAPHER = input_flags::enable_pointer_choreographer();

const ui::Transform kIdentityTransform;

} // namespace
@@ -224,7 +226,7 @@ void PointerController::setPresentation(Presentation presentation) {

    mLocked.presentation = presentation;

    if (input_flags::enable_pointer_choreographer()) {
    if (ENABLE_POINTER_CHOREOGRAPHER) {
        // When pointer choreographer is enabled, the presentation mode is only set once when the
        // PointerController is constructed, before the display viewport is provided.
        // TODO(b/293587049): Clean up the PointerController interface after pointer choreographer