The entire header was getting set as clickable because of old code
which would eat the clicks of the brightness slider (and other things)
when expanded.
Fixes: 35628944
Test: Trigger expandable update (like clear user_setup and set it)
then click on brightness in QS
Change-Id: I2d23aabf6b8a5b05f3b2b93ee723ec145514ce5e
Sometimes when switching users not all the views are there yet, but
we will get another layout callback once they are, and can update
our animators then.
Change-Id: I029839e5c69c8c441cf89b0536a90e223dc35180
Fixes: 35949496
Test: Switch users
This is unsafe because the random will be seeded in the zygote, which
means all processes on the system generate the same sequence of random
numbers. Fortunately, this code is only used in tests, so get rid of it.
Note that the Random that backs Math.random() is reseeded after every
fork to avoid a similar issue.
Bug: 35918685
Test: HwAccelerationTest
Change-Id: Ice79aa25bb9017f7a0b91659afe04112850cb74b
Added an optional parameter that can be passed as data to directly open
the app specific page
Test: N/A
Bug: 35487166
Change-Id: Ib20fe902670d98d949c5776cd633c38a5332b751
Some custom views - like WebView - might have their own auto-complete mechanism,
so we need to provide a way for them to know when the auto-fill UI is shown or
hidden.
Fixes: 35948429
Test: CtsAutoFillServiceTestCases (with new tests) pass
Test: m update-api
Test: manual verification
Change-Id: I5682a3b9645d5d077a4a2446e79256d6f77b4b5a
But only when targeting O; if they're old apps then log and pass
a soft failure message to their callback.
Test: builds, boots
Bug: 35749102
Change-Id: Ifecf7108397444e88763f404a4b5f3fdc48443bb
All the cool kids are using storage in increments of 1000 instead
of 1024, so find a balance somewhere between the two. We still round
to nice values like 32GB, 64GB, etc, but we represent them using
kilobytes under the hood.
Test: runtest -x frameworks/base/core/tests/coretests/src/android/os/FileUtilsTest.java
Bug: 28327846
Change-Id: I573aea43790816291e2b5c784b344b51b4444c06
Add API to optionally provide a passphrase to
configure security on a data-path.
Bug: 33552694
Test: unit tests and integration (sl4a) tests
Change-Id: Ie011345348a3918a412957e38610cabe147c35fa
By adding missing native libraries to frameworks-net make file. The list
of missing libraries was found by adding libhidlbase and then resolving
new linkage errors iteratively until ApfTest worked.
This is a temporary fix. Ideally only adding libhidlbase should be
enough.
Test: $ runtest -x frameworks/base/tests/net/java/android/net/apf/ApfTest.java
Bug: 36012053
Change-Id: I0eff8b3adbf788ddbfc6ddbf9f74b8da01cdfce4
For notification groups, the header could not be removed
properly leading to overlapping text.
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/NotificationChildrenContainerTest.java
Change-Id: I6823a6137655e9266e46eb33dc33c0ceaee1f45c
Fixes: 36006673
Fixes a bug where notifications with color spans would not show
the text properly because we inverted the background. Now we invert
the color spans the app put on the text for the ambient view.
Fixes: 35705172
Bug: 30876804
Test: receive gmail notification, observe that subject is visible on ambient display
Change-Id: I602335562346759d62d2a69a55f3ac9d1be735a9