Since we're now allowing heads-up on the lockscreen
the addedHeadsUpChildren list would fill up, even
if animations were not enabled.
This also fixes that the ExpandHelper and the DragDownHelper
would not realease the view on up.
Change-Id: I8c1b54ff4b034a8f4f2219534a707bbd792b8efa
Fixes: 35375214
The new API can be used to power up/down the SIM. This is equivalent
to inserting and removing the card.
Test: Telephony sanity tests
bug: 32224755
Change-Id: Ib82ab1eff613946e7c31c9b2131183a40d09af80
When sending a ViewNode to the auto-fill service, it's necessary to sanitize
it so it does not contain PII (Personally Identifiable Information).
A good rule of thumb is to mark as sanitized nodes whose value were statically
set from resources. Ideally, that logic should belong to View, but View does
not know how its contexts are set, so the decision must be made by the
subclasses, and this CL implements that logic on TextView (which is the main
auto-fill type - others will come soon...)
Bug: 33269702
Test: CtsAutoFillServiceTestCases pass
Test: manual verification
Change-Id: I4dcdd8419a35812bd2f15a63a5be85f8cd97bb4e
We used to notify for these events but this got
regressed in ag/1829603.
Bug: 35523062
Test: manual
Change-Id: I05e1517384f1436ee07094cdc6c3a339941f75ff
Rect-based focus order algorithm used to sort all views such-that
higher tops were higher. The result is that focus order could
easily move end-to-start when elements with varying heights (even
1px different) were arranged horizontally.
This changes the algorithm to take vertical overlap into account
when sorting. It tries its best to match UX for how focus-order
should work in ambiguous cases.
Bug: 33848452
Bug: 34854951
Test: Checked in a sample-app to make sure focus order matches UX
more closely than before. Also verified that existing
FocusFinder CTS tests still pass.
Change-Id: I0e0f2f63d5151693a2642604f64df985856c8991
Fixes the regression introduced in ag/1721556 where the docked app would
be placed on top of all the other apps when it should be placed behind
everything.
Change-Id: I63fc3bcfd0ef93f6ac8509a4268b628d9b0eb46b
Fixes: 34697887
Test: manual - split screen and drag up to dismiss
This cl introduces logic to serialize restore
operations. An incoming restore operation will
wait for the currently running restore to
complete.
Bug: 29010684
Test: Tested manually by installing an app while a restore was in
progress.
Change-Id: Ic88fdf2a6dcfab64853fe460c649380eea644774
Fleshes out remainder of allocation implementation, where we offer
to clear cached data to satisfy the allocation request. To prevent
abuse, we never let apps allocate into either the minimum cache space
or low storage space.
Clean up quota APIs to require the caller to pass in the path they're
interested in, and we resolve the underlying filesystem for them.
Defines settings that can be used to tweak the minimum cache space.
Test: builds, boots
Bug: 34690590
Change-Id: I85bc07399f91ee4aa568a8a54c615646bf748ad4
* LRU cache of recently-used is dead, replaced
disk storage
* ASHMEM size is read from native by the system service,
no longer requires keeping a sizeof() in sync with a
constant in Java
* Supports dumping in proto format by passing --proto
* Rotates logs on a daily basis
* Keeps a history of the most recent 3 days
Bug: 33705836
Test: Manual. Verified log rotating works by setting it up to
rotate every minute instead of day. Confirmed /data/system/graphicsstats
only has the most recent 3 entries after several minutes
Change-Id: Ib84bafb26c58701cc86f123236de4fff01aaa4aa