Skip to content
Snippets Groups Projects
  1. Sep 11, 2019
    • lumark's avatar
      Create display context when switching IME to new display for AOSP IME · 87f14f1e
      lumark authored
      To address IME service context's Resources / DisplayMetrics update
      when switching IME window to another display after onConfigurationChange.
      
      We use Context#createDisplayContext to create display specific context when
      display changed, to ensure soft keyboard can re-layout with correct resources.
      
      Bug: 126930163
      Test: manual with AOSP IME as below steps:
           1) Settings > Developer options > enable "Simulated Display" & "Force desktop mode".
           2) Reboot device
           3) Launch app (i.e. Contacts) with bluetooth or usb mouse in Simulated display.
           4) Tap EditText on app to see see if IME window layout correctly on simulated display.
           5) Launch app (i.e Files) on primary display.
           6) Tap EditText on app to see if IME window layout correctly on primary display.
      
      Change-Id: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed
      Merged-In: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed
      87f14f1e
  2. Sep 05, 2019
  3. Sep 04, 2019
  4. Aug 14, 2019
  5. Jul 11, 2019
  6. Jul 09, 2019
  7. Jul 08, 2019
  8. Jul 05, 2019
  9. Jul 01, 2019
  10. Jun 26, 2019
  11. Jun 25, 2019
  12. Jun 18, 2019
  13. Jun 05, 2019
  14. Jun 04, 2019
  15. May 25, 2019
  16. May 17, 2019
  17. May 16, 2019
Loading