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

Commit 803db6cf authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix mouse pointer not getting enlarged"

parents 14b09a37 350896b5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -759,11 +759,11 @@ void PointerController::fadeOutAndReleaseAllSpotsLocked() {

void PointerController::loadResourcesLocked() REQUIRES(mLock) {
    mPolicy->loadPointerResources(&mResources, mLocked.viewport.displayId);
    mPolicy->loadPointerIcon(&mLocked.pointerIcon, mLocked.viewport.displayId);

    if (mLocked.presentation == PRESENTATION_POINTER) {
    mLocked.additionalMouseResources.clear();
    mLocked.animationResources.clear();
        mPolicy->loadPointerIcon(&mLocked.pointerIcon, mLocked.viewport.displayId);
    if (mLocked.presentation == PRESENTATION_POINTER) {
        mPolicy->loadAdditionalMouseResources(&mLocked.additionalMouseResources,
                &mLocked.animationResources, mLocked.viewport.displayId);
    }