Add the missing XML to byte array conversion method.
While there,
1. Fix writeByteArrayXml method to store the hex chars of the value.
2. Cleanup couple of error strings in |readThisIntArrayXml| method.
BUG: 29039296
Change-Id: I6386f7df7c5c8b7bc3bc5a268196da617209cea9
TEST: Compiles & manual testing.
am: 0ebf3cc47c
* commit '0ebf3cc47c9d20613f02ca263a2394d80455a09a':
Clean up demo dir when leaving demo mode
Change-Id: Ib3338a18e75f04e15a1d77a82e5ac1aba246a5bb
am: 2c5cbd4012
* commit '2c5cbd4012aef736c94a7afc84a778623c639d10':
Clean up demo dir when leaving demo mode
Change-Id: Ia7891f8e5106130d669a1daa7fcc691db1f5e4c7
This CL changes the target of VD specific animators to VectorDrawable,
instead of RenderNode. The benefit of doing so is that animators can
now detect whether the animation is meaningful by checking whether
their VD target is in the display list. If not, that means the VD is
not drawing for the current frame, in which case we can be smarter
and more power efficient by removing the animator from the list and
posting a delayed onFinished listener callback.
By setting VD as the animation target, when an ImageView decides to
update its drawable from one AVD to something else, we'll be able
to detect that the previous AVD is no longer in the display list,
and stop providing animation pulse to the stale AVD, which is
something we couldn't do previously. This change also
handles the case where one AVD instance could be drawn in two
different views.
Bug: 27441375
Change-Id: Id4b3b37f28274c917cb9beb9dcd3d1e6991b5c5d
am: 4f6ae7bbaa
* commit '4f6ae7bbaa4654e14d70e9fa503ceb713c90c342':
DO NOT MERGE Remove Pointer Capture API
Change-Id: Ieceb1c9248bfc618ed1c70821d4cf746128bc679
am: c396f0f70e
* commit 'c396f0f70ef40ea0fb42a0872a13f4c4e9a6a5f0':
DO NOT MERGE Remove Pointer Capture API
Change-Id: Iede50a709849ed27cb9723a565b946e00fb23be7
am: c396f0f70e
* commit 'c396f0f70ef40ea0fb42a0872a13f4c4e9a6a5f0':
DO NOT MERGE Remove Pointer Capture API
Change-Id: I77cb742feacdd3b8af0cf33d4e7ab246f776417f
am: d34ca400c6
* commit 'd34ca400c6f8cd25827e0278dd9062d82b0fbf08':
Fix system locale propagation during user creation.
Change-Id: I41229dce52266d59c3b3334e2d4ae390b75bbe20
am: b03e7217f3
* commit 'b03e7217f3fa3144f69119a4e109cce934d6065a':
Fix system locale propagation during user creation.
Change-Id: I6955bad489926525f6b50709bcf14b829ca9392d
am: ce9f5e3657
* commit 'ce9f5e3657b7a8fb68c6c65a2cd5a27eaf556cc8':
Fix system locale propagation during user creation.
Change-Id: If31dcbe28d108ec12aa9f4aef4382dcb2da90aaf
am: ce9f5e3657
* commit 'ce9f5e3657b7a8fb68c6c65a2cd5a27eaf556cc8':
Fix system locale propagation during user creation.
Change-Id: I020babcf2ce1aa632099457f2baf3497f5ac2946
am: 0c2f681bdf
* commit '0c2f681bdfacc5504c101945d5421f892184a007':
Use app's best locale if they override LocaleList
Change-Id: I9913e7466450a83bd5872abc62cfaac3d235d8d8
am: fbdf46f663
* commit 'fbdf46f66323e80d4e90e926d0f199b64bf71f14':
Use app's best locale if they override LocaleList
Change-Id: I99bb920efcc7befa2817bed3a7fb7a0bcad4a13e
am: fbf3a0964a
* commit 'fbf3a0964a458508f834bffd18198394037bb5c1':
Use app's best locale if they override LocaleList
Change-Id: I5a38d95f1ea7d7fd676fa60effa467af219c75cf
am: fbf3a0964a
* commit 'fbf3a0964a458508f834bffd18198394037bb5c1':
Use app's best locale if they override LocaleList
Change-Id: I980061c2e818a746eb46e64a88887be8566ad618
App's can technically override their configuration's Locale,
which means we must choose the overriden locale as the best,
and therefore set the LocaleList.setDefault() with that locale.
Bug:28953437
Change-Id: I4b301fcd6bc426e37bb389d3a6f2b4a3c69ac33a
am: 1f4c99f7d8
* commit '1f4c99f7d88d7ccf1414c56fb38bbce08b8f30ea':
Fix TextView layout reuse when maxLines is set
Change-Id: I52420052fbc85c346e861d66841d2b7aee4ac1ca
am: baf8284c62
* commit 'baf8284c62e708a2d7817319c9e5f8948f6e5f5f':
Fix TextView layout reuse when maxLines is set
Change-Id: I0334f59dee1599a77c216a0a18e030247a41e55f
am: e747160509
* commit 'e747160509e71a05430168b1c8a28400b6a18403':
Fix TextView layout reuse when maxLines is set
Change-Id: I7f1d3acb519a91388dbf03db28ee039b5d4b7b1c