- Only cancel the animation if handling the button, in that case,
FLAG_CANCELED is not set (we were previously also only falling into this
block to cancel the animatino in KeyButtonView)
Bug: 78660363
Test: Swipe up over back button, ensure we still enter quickstep
Change-Id: I038adcbd6c4b4ffda28dd86151c855eed04f5e0d
This fixes an unintended exit from doze-light when a motion
event occurs. This happens when the device is sensing for
motion when waiting to enter doze-full.
The fix avoids exiting doze-light on a motion event, but
does continue to reset the doze-full state.
Bug: 78454609
Test: cmd deviceidle step light (once or twice to get to IDLE)
cmd deviceidle step
cmd deviceidle motion
Check batterystats history for device_idle. Should
stay in "light"
Change-Id: If4daca349f48d54482d679b2854184e5a6780647
ApfFilter maintains separate counters for each reason why a packet was
passed or dropped by the filter logic.
There's also a total which should match the individual counters,
*unless* the APF interpreter aborted execution early due to an illegal
instruction or an out-of-bounds access.
Test: both on APFv2 and APFv4-capable device:
runtest -x tests/net/java/android/net/ip/IpClientTest.java
runtest -x tests/net/java/android/net/apf/ApfTest.java
manual tests connected to an AP
Bug: 73804303
Change-Id: I54b17fcbb95dfaea5db975d282314ce73d79d6ec
Don't restore the remembered volume whenever an Bluetooth A2DP stream
comes up or whenever Bluetooth AVRCP reports absolute volume support.
All Bluetooth volume memory will now be handled by Bluetooth.
Bug: 30602783
Test: See that AudioService doesn't try to change the volume when a
Bluetooth device connects.
Change-Id: I683062c1a0565591ae33cbbb0381730b86ad17c2
(cherry picked from commit 085ecc32a4)
Thus, it is now consistent with the personal one, which also comes
with the circle.
Test: Observe the animation.
Change-Id: I482f629f30f7c9ca943da86902a1627b81072859
Fixes: 78684075
1. No need to use a FrameLayout for PagedListView.
2. Support arrow drop down animation.
BUG: 78474304,73134851
Test: manual
Change-Id: Iec4e046f1abca40d76bd76ab3d5dc2a02e4dfcc2
The lineheight is now at 20dp
Test: observe all notification layouts and consistent lineheights
Change-Id: If39b6bef98e41c4a5890a82d7e30f2892ef3d7b1
Fixes: 78127131
Hide the wallpaper earlier and wait a little longer to
switch to low power mode.
This way the flickering area is less noticeable, since
less pixels will be visible, and users are less likely
to be looking at the screen.
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/DozeParametersTest.java
Change-Id: I24f2d64f580d7fdc63f6c768446d06140c29cfa5
Fixes: 78302022
PersistableBundle.java expects items to be sorted by the hash codes
of the keys, but PersistableBundle.cpp isn't compatible to it.
PersistableBundle.java now knowns what was parceled by C++
because it now uses a different magic, and change the unpercel
strategy.
Change-Id: Ia516f80b6d48dcb9f981767e0e64303434f39fb4
Fixes: 65744965
Test: adb shell sm fstrim and check logcat