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
am: 3882169d7f
* commit '3882169d7f43e011ad77adb05aca2e5d6175c7f0':
docs: Updates to multi-window and related docs.
Change-Id: Ief8906a4c0e57229b433c4e89c23990d957a4014
am: f975b74c0c
* commit 'f975b74c0c60160092262fbc05f42f7e2584f0bd':
docs: Updates to multi-window and related docs.
Change-Id: Ia7b8adbe3140a59d2e2433b3795e58a16763527c
am: d29c26073e
* commit 'd29c26073e97e4c6e7825641cf6e76720df395e3':
docs: Updates to multi-window and related docs.
Change-Id: Ic4be60debb41d074d717bfb0989125299428831a
am: c88130c572
* commit 'c88130c5724227b3ba7ef0b5ef4476fedabca650':
docs: Updates to multi-window and related docs.
Change-Id: I308c988e3a93737a478f9f2445b512e86f218643
Framework edition
Add a matching onAttachFragment method to Fragment to match the
fragment host version.
Bug 28760393
Change-Id: I5f50b3446449cae7110da6b4e468ee80f413e1e5
Clarified behavior when activity is resized or put in fullscreen
mode, per b/28580007 . Also (per email from o-o) removed misleading
statement about when onStop() might or might not be called.
Both changes can go live now (multiwindow update applies to DP1 & 2,
and onStop() clarification applies to all versions of API), so I'll
submit as soon as this is approved.
See first comment for doc stage location.
bug: 28580007
Change-Id: Ib008f24e5796ec7810b67c91e512e679680d4afd
am: 49f7135fef
* commit '49f7135fef3a982edd04a292a8c46afff4d6ef86':
Close leaked windows when trying to preserve main one
Change-Id: Ic83f1f4a07bed89bf77e96ae16a273c859624948
am: 4ef107bb7a
* commit '4ef107bb7ad0c1f28db710374bb118e6658d3238':
Close leaked windows when trying to preserve main one
Change-Id: I20b5d6ab8adbb97cffca52e1daf66ed939d508b8
am: d5bd2b647c
* commit 'd5bd2b647c8f0acaffae72090748d346cae2351b':
DPM control for remote input when locked
Change-Id: Ic97f9dbb0f4013709b62ee8dbf7d49c29c5fe807
am: f46fdf877e
* commit 'f46fdf877ef54adc236698635967ff79d7a0dfe2':
DPM control for remote input when locked
Change-Id: I7eb3cdf17b4a61865bfe85ae6d9c281b113aeb9f
am: 11c8f5315b
* commit '11c8f5315b195d6a63f981a7ff434fa7937ba5d3':
DPM control for remote input when locked
Change-Id: Id7074ffdc541d53d4607652cefc4bfdecaaaa335
When app has several windows and activity is relaunched + we try to preserve
main window - other windows just stayed around until removed by timeout or
replaced by app. There was a problem when one of the windows registered
broadcast receiver and set its own timer to remove it. In this case all
receivers were removed by framework because windows were considered leaked
and apps' timer caused crash when trying to remove registered receiver.
This CL removes all windows expect the main one, which we're trying to
preserve in this case.
Bug: 28337135
Change-Id: Ib8790cc8c61801f11d871ba3803bb0ebc3d3be01
am: 621b459306
* commit '621b45930610e5e4f37936a13f31ace2fe82e83c':
document the return type of getImportance
Change-Id: I9a208abe9c650f580dea705d33cd45d96d4f5825
am: 3041d49d88
* commit '3041d49d888cf0732c8aafb88d1d931b696b1d41':
document the return type of getImportance
Change-Id: I03bb7490b62e749e16a417297a672769283aebdd
ThreadedRenderer was never the right place for this anyway, and
ApplicationLoaders can provide both the full library search path (not
just the extracted native library dir) as well as the application loader
namespace.
Bug: 28213888
Change-Id: Ibcc0a9178da4dba6f3f3105932fdac1a1d0261af
Framework edition
Fix a bug where child FragmentManagers moving too lazily into the
CREATED state and beyond caused child fragments to not be
attached/created when expected.
Bug 25019275
Change-Id: I04ff0d3bcb693178a6ee3057da591392defdbcf8
When installing an APK that supports multiple ABIs, the ABI installed
can be forced to the secondary ABI [i.e. On devices that support both
32 and 64 bit variants, the 32-bit version can be forced when it's
the secondary ABI.] In this case, instrumenting the class always tried
to use the primary ABI. Instead of blindly using the primary ABI and
dropping the secondary ABI, we propagate both ABIs and make a
decision on which one should be chosen.
Bug: 28406240
Change-Id: I7ebb2fd264d2281912afd30f6d73ccb460f9cf85
am: 82e644de2f
* commit '82e644de2f1db76e20e676086b580e224d5d9d5b':
Move Activity multi-window event logic out of the public methods
Change-Id: I2d7e79c29cbcad62727ed701c1e7d0519deca24e
am: c4b7595962
* commit 'c4b7595962d217d07596469b378831630dd61d72':
Reducing the number of recent tasks we keep.
Change-Id: If80c8f44ebee97ff30cc858ea9edf6ec99909e3b
am: 6e90b67dfa
* commit '6e90b67dfaf02c236b542951dfaac3a7d805ef21':
Move Activity multi-window event logic out of the public methods
Change-Id: I1eb6677d8ecd2208b20c2094eb4d708f6e20bc14
am: 9fc0a7c4c4
* commit '9fc0a7c4c4e8eeddc6b4a74267731b26e87a20f5':
Reducing the number of recent tasks we keep.
Change-Id: I184a3a28a3365c897f108f93947168f228c1c235
am: 56e2aeba8f
* commit '56e2aeba8fb40190dbe1303ae1d299e77e764b44':
Move Activity multi-window event logic out of the public methods
Change-Id: I74706461487dde9e4f3ff3ff62be4e5778190c52
am: 9e935820b5
* commit '9e935820b5d0134d71fc5ae51001b276ab603c51':
Reducing the number of recent tasks we keep.
Change-Id: If44266c1872505f90cb8ae60c6a8fbdbca495d6e