Currently if an action mode is started in onCreate()
it will fade in. This isn't ideal though, especially
since Activities are recreated routinely with
multi-window and resizable Activities. In that instance
we fade it in on every recreate.
This CL fixes this in both the decor and toolbar action
modes to only fade in if the decor has been laid out.
BUG: 29036694
Change-Id: Iae985efcced170a0a4229124c1c132355c2aa71e
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.
To avoid screen garbage or wallpaper shining through, the background
we use there for filling the whole needs to
a) Be non-translucent in all cases except if the window is translucent.
b) Don't infer it from the theme as it might be unexpected. Don't define
it in the theme, and use black if it's not defined.
Bug: 28763785
Change-Id: Ifb724b5c5feea3ed70d68e5bd7615fa91185e743
am: 0c67994e33
* commit '0c67994e33f0c5ae471a83129cf8b7ec9eb54ef7':
Fix issue where max idle time > total idle time
Change-Id: Ia9cf5c89afc542f14ac3ca664e8a2baa0f3d1218
As Error Prone states:
Suppressing "deprecated" is probably a typo for "deprecation"
Bug: 27723540
Change-Id: Iedc8ef3b876f5238cc0e2d89d57138eafd5bf91f
* commit '93c1d3aa6e20b52a37548af0bf9f9a66948a7611':
docs: Refinements for testing
Fix toast with accessibility and app pinning
Updated link to material design page.
Change overdraw test to use windowbackground
Prevent callbacks during DrawableContainer child initialization
Fixing crash in SysUI due to invalid group.
Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>" page.
Fix Activity Transition mess-up.
Time to #NameAndroidN!
Prevent use of a null sCallbackObj by Hardware FLP
Fixed the relative time spoken with accessibility
Use backstop timeouts on asynchronous countdown during preflight
Add an extra parameter to LocaleHelper.getDisplayLocaleList()
specifying the maximum number of locales to output, as callers
probably won't need the whole list.
Bug: 28872122
Change-Id: Ief136bc1af2841e76ed4d8e65932a9a30821eae3
am: fc7c27b215
* commit 'fc7c27b21596fbc379d08add355b90893d9a0e25':
Fix issue where max idle time > total idle time
Change-Id: Ie247488ca42fbd3c214a7c493ac17dea74c9dde4
am: 89046edb4d
* commit '89046edb4d64fe1c7662103cce3a82b69e05cfe4':
Fix issue where max idle time > total idle time
Change-Id: I22908fb8f1c8ee7325687cebf646c3a03f6e1ea7
If the batterystats were reset while the device was
idling (via command line most likely), then also reset the
last time the device started idling so that the max idle time
calculation is correct.
Bug:28452600
Change-Id: I8a3d5dc3081deda76356c03d891e098baa85f88a
am: 2034a76a6e
* commit '2034a76a6e0d00d1e72ebae4c0fdd0feb5b345bd':
Maintaining diff for all widget operations instead of just the Views update
Change-Id: I7df336ac8079b42dbe34be0e970aa6c9ced99da9
am: 6f84a27a75
* commit '6f84a27a7597a3bc34316baf2af2bda30a2d75de':
Maintaining diff for all widget operations instead of just the Views update
Change-Id: Iae3f2a6fc040d4484788ba203e0e0b6a66ed5c48
am: b5e2592582
* commit 'b5e25925828dd5a23eaa2ea3a4cebcc6652d2762':
Hide work profile key in user credentials screen
Change-Id: Ie10f57378d3cf1168a9200bf02f3b46d2d1bfe4b
am: ed39b3b166
* commit 'ed39b3b1666cff34e34c394029fad0ad9e426968':
Hide work profile key in user credentials screen
Change-Id: I18cefc9f365ed83db5262676a1f4b9cc28b20c07
am: d398244513
* commit 'd398244513c62c9ea14a0f1c6ffef832e803c16f':
Hide work profile key in user credentials screen
Change-Id: I5273b53b07cb80d45bac61c8dcc5cba8f6b11b3a
am: d398244513
* commit 'd398244513c62c9ea14a0f1c6ffef832e803c16f':
Hide work profile key in user credentials screen
Change-Id: I7609dc8bc68e9c9eb2a969b58b31815d27d7fc4a
Before resetKeyStore(), it will back up child profile keys,
and will be restored after primary profile keystore is cleared.
Bug: 28878708
Change-Id: I0cb4a1f885d468894bc7eb95af694328bf92ce16