This is a partial cherry-pick of
Iceb038aa86872d23e9faf582ae91b1fdcaf5c64c from the internal gerrit.
Cherry-picking to AOSP is needed to have other changes (art) in the
public repo.
The entire change will be merged along with the S release.
Bug: 142191088
Test: m
Change-Id: I13ccbe88be77258bcf1a71e33ab5560796fb605f
Merged-In: Iceb038aa86872d23e9faf582ae91b1fdcaf5c64c
This is a follow up CL to our previous CL [1], which aimed to adjust
the timing to change navbar icons that depend on the IME window
visibility.
One thing we overlooked is that only InputMethodService#IME_VISIBLE
needed to be cleared to keep the back button icon to behave as if the
IME window was invisible. For the IME switcher icon to work as
intended, the current protocol requires InputMethodService.IME_ACTIVE
to remain to be set even when an IME window is invisible as long as
there is an active session between the app and the IME.
[1]: I4dc9d6513d0559156f7da39244f3fc5ebc952ed4
c22eec9d35
Fix: 160283619
Test: Manually done as follows:
1. Build aosp_coral-userdebug and flash it
2. make -j SoftKeyboard
3. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
4. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
5. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
6. Open any app that has an EditText
7. Focus in to the EditText. Make sure the IME shows up and the IME
switcher icon is visible on the navbar.
8. Attach a hardware keyboard. Make sure that the IME becomes hidden
while the IME switcher icon remains to be visible on the navbar.
9. Detach the hardware keyboard. Make sure that the IME switcher
icon remains to be visible on the navbar.
Change-Id: I4a9ddf514a32a221c2372be0ca166fbdac555932
Merged-In: I4a9ddf514a32a221c2372be0ca166fbdac555932
(cherry picked from commit 5749b51f8c)
This change modifies the flow of uri permission grants to ensure that
even when we're not granting URI permissions, we still take the
opportunity to grant app visibility.
This change also re-grants visibility based on any persisted URI grants
at boot time.
Bug: 161912313
Bug: 161721834
Change-Id: I077b263fc3dc01f3505c39fc0e36d3419bab3c5f
(cherry picked from commit 9406f1dea8)
This reorders methods, omits a redundant "implements" spec, and adds
<x>ValueExact() methods, which are in OpenJDK 8, but hadn't been
implemented on Android.
Also update the boot image profile to compile BigInteger-required
methods that used to be native. Some of these must be compiled to
avoid ART test timeouts.
Bug: 136887041
Bug: 119491938
Bug: 28214673
Bug: 28251030
Bug: 2950143
Test: AOSP Boots. Ran some manual Calculator tests on Cuttlefish.
Change-Id: Idd72ec6a6fd54ed4ad96a82b26840b41a3882678
Set supported flags from AudioAttributes into VibrationAttributes on the
builder constructor.
Fix: b/161761418
Test: manual
Change-Id: I4a8e1db278843b2f9f19aba43b0b8f264cb696bd
Revert submission 11830696-b/158492287-stage-aosp-rvc-ts-dev
Reason for revert: It's too late to merge this CL to rvc-dev. Let's revert it and merge it to rvc-qpr-dev.
Reverted Changes:
Ib5c1854d1:Update FocusFinder
Change-Id: I5f50166322b662b457e1b79b2ce62c622ddd1013
This is a follow up CL to our previous CL [1], which aimed to adjust
the timing to change navbar icons that depend on the IME window
visibility.
One thing we overlooked is that only InputMethodService#IME_VISIBLE
needed to be cleared to keep the back button icon to behave as if the
IME window was invisible. For the IME switcher icon to work as
intended, the current protocol requires InputMethodService.IME_ACTIVE
to remain to be set even when an IME window is invisible as long as
there is an active session between the app and the IME.
[1]: I4dc9d6513d0559156f7da39244f3fc5ebc952ed4
c22eec9d35
Fix: 160283619
Test: Manually done as follows:
1. Build aosp_coral-userdebug and flash it
2. make -j SoftKeyboard
3. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
4. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
5. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
6. Open any app that has an EditText
7. Focus in to the EditText. Make sure the IME shows up and the IME
switcher icon is visible on the navbar.
8. Attach a hardware keyboard. Make sure that the IME becomes hidden
while the IME switcher icon remains to be visible on the navbar.
9. Detach the hardware keyboard. Make sure that the IME switcher
icon remains to be visible on the navbar.
Change-Id: I4a9ddf514a32a221c2372be0ca166fbdac555932
Merged-In: I4a9ddf514a32a221c2372be0ca166fbdac555932
There are many bursts of 'onSubscriptionsChangedListener callback
received.' log messages that contribute greatly to log spam. If this
message is not actively helping, then it should be removed.
Bug: 161949307
Test: this log doesn't appear
Change-Id: I9f9f2f8fa49bf50bbc9a33193d3b58813627329d