Skip to content
Commit ae2002a2 authored by Jackal Guo's avatar Jackal Guo
Browse files

Reset SurfaceControl when reapplying magnification spec

If there is a container becomes to non-magnifiable, we need to clear
magnification spec (reset the state) and re-traverse all children again.

Bug: 144810344
Test: A11y CTS & unit tests
Test: atest WmTests
Test: manual
      1. Enable Magnification in Settings > Accessibility.
      2. Open any app with an EditText, tap it to bring up the IME.
      3. Trigger Magnification.
      4. Check only the app should be magnified, but not IME.
      5. Switch to another IME, and check 4, again.

Change-Id: Ia04cb6c49b67dab98cee5bb0cacef12a8bdaffd8
Merged-In: Ia04cb6c49b67dab98cee5bb0cacef12a8bdaffd8
parent 32eef6b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment