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

Commit 3afba97a authored by Wenyu Zhang's avatar Wenyu Zhang
Browse files

a11y: Fix panel button styling issue when re-enable the autoclick

Change-Id: I6c85e5440dd62d002da979000f1182bbf85c7358
Bug: b/395949525
Test: AutoclickTypePanelTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
parent dfd02c67
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -168,6 +168,10 @@ public class AutoclickTypePanel {
    }
    }


    public void hide() {
    public void hide() {
        // Sets the button background to unselected styling, this is necessary to make sure the
        // button background styling is correct when the panel shows up next time.
        toggleSelectedButtonStyle(mSelectedButton, /* isSelected= */ false);

        mWindowManager.removeView(mContentView);
        mWindowManager.removeView(mContentView);
    }
    }