We don't need to set up JIT profiles and register usage etc when
the package context we're trying to construct doesn't request code.
This will correct accounting for packages which are only used for
resources.
bug: 28519185
Change-Id: I849675efa76c8100ae937de478b52254babe384c
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
2977eb7b6ce82309a1bb1ba4ab698f503cb0388a
[2]: I5723f627ce323b0d12bd7b93f5b35fc4d342b50c
792faa2c16d319e874a1d633f964a78266d5f3f2
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
am: fb52c63d81
* commit 'fb52c63d81c966e4ba83314d86b2897391c14151':
bring back the android command line tool page. as per: https://critique.corp.google.com/#review/122312732
Change-Id: Ib0102cb3e64d9e5829465724812e229ccc3b376c
am: 648b0ee2ec
* commit '648b0ee2ec58ed298a7746797285d3d0f0f9f74e':
bring back the android command line tool page. as per: https://critique.corp.google.com/#review/122312732
Change-Id: I605ed40346fef422806828c6d18ce42e21afc038
am: 7d1717b0a9
* commit '7d1717b0a90d4ee5f7abcd89f5345a5a613d72e1':
bring back the android command line tool page. as per: https://critique.corp.google.com/#review/122312732
Change-Id: I72151cd87714898faec80bb8f299c06b02ed6605
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