This is a follow-up to my previous CL [1] for Bug 15922840 so that we
can clear the following variables in a more reliable way.
- PhoneWindowManager#mLastInputMethodWindow
- PhoneWindowManager#mLastInputMethodTargetWindow
The idea behind CL [2] is that when InputMethodManagerService (IMMS) is
switching from an IME to another IME, IMMS can send a signal to
WindowManagerService (WMS) to remember the current IME's inset so that
the system can continue using it to reduce jank until the new inset is
specified by the next IME. As summarized in Bug 28781358, however, if
the next IME does not show the window after the IME switch, WMS (or
PhoneWindowManager to be precise) keeps using the previous IME's inset
unexpectedly until the new IME shows its window. All we have seen in
Bug 15922840 and Bug 26663589 fall into this category.
The idea of this CL is just adding a hidden API to InputMethodManager so
that InputMethodService#clearInsetOfPreviousIme() can surely terminate
the IME transition state managed in PhoneWindowManager, rather than
relying on a hack of calling SoftInputWindow#show() and
SoftInputWindow#hide(), which actually does not work for Bug 26663589.
[1]: Ib04967f39b2529251e4835c42e9f99dba2cf43f2
2977eb7b6c
[2]: I5723f627ce323b0d12bd7b93f5b35fc4d342b50c
792faa2c16
Note that addressing all the corner cases in [2] still requires lots of
non-trivial change. Hence this CL focuses only on Bug 26663589 (and
the case we handled in Bug 15922840).
Bug: 26663589
Change-Id: Ib567daa009c1139858dccadcfc6a04465ebecf36
am: 21f1a6d8e1
* commit '21f1a6d8e106d6a0fc5ccda15f93f4319b3142e1':
fix typo in book path for devsite builds.
Change-Id: I659cb1e894b0d8156817de3264a922c5f81579d3
am: 2394b301fc
* commit '2394b301fc792bd5911cbfab585061b32a8cd7f3':
fix typo in book path for devsite builds.
Change-Id: I83499e76960f7d507345f2374ba4adab94c4fa02
am: 44b31fa0c4
* commit '44b31fa0c42e0d52f0cecbc1f75a0e62279ff5c1':
fix typo in book path for devsite builds.
Change-Id: I30c2abc4be350c6c78c0372a54459b21fb1fd132
am: 6c568e6322
* commit '6c568e632242e99eb255f721edcbec0223f9934d':
Update links for all files under sdk/ that moved to studio/
Change-Id: I2acd1acd6fef98c527ef4dfc0d016bb5cfa296cc
am: d10e0132a1
* commit 'd10e0132a124f5a24bec436600e04b8f97720e7e':
Update links for all files under sdk/ that moved to studio/
Change-Id: If4a364fecbbb012f5b6beb739d879b003f90e6d9
am: 89d11705a1
* commit '89d11705a19f73d32a7e604477dd4358dc04d051':
Update links for all files under sdk/ that moved to studio/
Change-Id: Id47c082a96ffffdfb439aaab80ccb0a645557dec
Adding an exception for "com.android.omadm.service.CONFIGURATION_UPDATE"
as it is sent by both system and OEM apps.
Bug: 28757729
Change-Id: Ic89d38bbd78e436ca3c259f1aa61be450033a232
We need to make IIntentSender oneway... but when the system is
calling that for itself, it needs to be able to return a result code.
Solution: instead of directly calling the interface, we have a new
IPC through the activity manager. If the thing being used is the
activity manager impl, it can do the synchronous send and return
the result directly in place. If not, you only get asynchronous
sending and thus never a failure result back (too bad for you!).
Change-Id: I4096e5b00063e8dba66230585a2dfe67e35e8092
am: 9e11298335
* commit '9e11298335c84f29f8fb8213c8d61721d1cec18c':
remove tools-moved.html redirect, go to studio home instead
Change-Id: I666b10252b966a5b803b7aab888919186e78f4cb
am: b8fe6e8b20
* commit 'b8fe6e8b209b0fe39f661c10979557376dae23ec':
remove tools-moved.html redirect, go to studio home instead
Change-Id: I5092050fcbec6c55487e441b3e7113d411fcbeb8
am: 6e8711c89c
* commit '6e8711c89c5aef027f0f2d7d9fb3d1a0a31c042c':
Revisions to develop landing page for studio 2.1
Change-Id: I310b93a7621de4745d069fe22ba7acb81aedb48e
am: 7848eef2e6
* commit '7848eef2e62df56e73f992c174ca2c6195664ea4':
remove tools-moved.html redirect, go to studio home instead
Change-Id: If5d9f19cdf0058047a6336edbed83e45323ffa79
am: 3a8d2c8fd2
* commit '3a8d2c8fd20b65ec6700f662d815299943661f48':
Revisions to develop landing page for studio 2.1
Change-Id: Ib9689bc1b71e79c447425bceb0cf944ad5630362
am: 3eff38fdba
* commit '3eff38fdba7dc1e0f02aa80997ee2e3895524ee1':
Revisions to develop landing page for studio 2.1
Change-Id: Ied3d0ed51ce5bca165c91acc788683fb39ac5d53
am: a87dfa0de6
* commit 'a87dfa0de6cdad7e42b8d21fd1112df2f04b36df':
Added Support and Release Notes Nav link and IMF Nav link.
Change-Id: I3a5965b18d7a6771593a4d8a4c863d1f38e445c0
am: f4bf6f7675
* commit 'f4bf6f7675bc04f3f9e4cb05408b5c63ae8d3c49':
Added Support and Release Notes Nav link and IMF Nav link.
Change-Id: I58ed03df80f0db496cbb45b5a7a630b9ba878454
Removed the second "continue" to allow isFirstValidTask to be set to
false.
This is a follow-up fix from commit 91c5066c00.
Bug: 28754669
Change-Id: Ic852afaa78fc79bcd85b04e888975cd3bfc72094