Re-parent IME back to display when magnifying

IME is now re-parent its SurfaceControl onto the app when app is
fullscreen. WindowManager would magnfiy the screen via surface so
the IME and app are both magnified. Re-parent IME back to display
when WindowManager tries to applyMagnificationSpec.

Bug: 127827134
Test: A11y CTS & unit tests
Test: atest WmTests
Test: manual
      1. Settings > Accessibility > Magnification > Magnify with Button > On
      2. Open any app with an EditText, tap it to bring up the IME
      3. Tap the accessibility button, then the magnification region
      4. The app with an EditText should be magnified, but not IME
      and
      1. Settings > Accessibility > Magnification > Magnify with Button > On
      2. Open any app with an EditText
      3. Tap the accessibility button, then the magnification region
      4. Tap the EditText to bring up the IME when magnifying
      5. The app with an EditText should be magnified, but not IME
Change-Id: I06330362de026aa8f0f92d4004e22958900a36cc
1 file changed