futokb/java
lumark 4d464ec07d Create display context when switching IME to new display for AOSP IME
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
2019-07-09 21:08:19 +08:00
..
res Merge "Import translations. DO NOT MERGE" 2019-07-01 00:27:32 +00:00
src/com/android Create display context when switching IME to new display for AOSP IME 2019-07-09 21:08:19 +08:00
Android.bp Merge "Move LatinIME and its lib to /product" am: 149b9d4f6e am: 84d156b1e6 2019-01-14 02:11:11 -08:00
AndroidManifest.xml Bump targetSdkVersion to "28" and minSdkVersion to "21" 2018-11-13 13:51:59 -08:00
NOTICE
proguard.flags
shared.keystore Let Android Studio use 'shared' cert to build APK 2018-07-25 18:08:35 -07:00