Only plays a tone if the battery level is below 95% which
is the same heuristic used when determining whether to turn
the screen on.
Use new low battery and wireless charging sounds on Mako.
Bug: 7371658
Change-Id: Ia4527ec398d024ee418a4287e1fcbf0ec83bcc24
We were already refreshing the tile on user switch, but we
were only pulling the information (and observing changes)
for the owner.
Bug: 7596329
Change-Id: I33959af405bc79037b5b1321631d993bea65772f
VelocityTracker is a powerful tool---too powerful, in this
case, because many devices (I'm looking at you, Nexus 7)
have touchscreens that report total garbage on takeoff and
landing.
PanelView now uses its own incredibly crude velocity tracker
called FlingTracker, which implements a short sliding window
of the last 8 motion events (7 intervals) over which touch
velocity is averaged. There's also a little bias toward more
recent touch events so that the overall velocity of small
circular gestures will tend to favor the exit tangent.
The end result is a primitive low-pass filter on touch
velocity that should help us avoid situations where one (or
even two!) stray MotionEvents at the end of a gesture won't
invalidate the overall thrust.
Bug: 7422342
Change-Id: Idae38d1957727e400493324af4eee357ba5baa27
The button was already hidden, but there are lots of other
ways to get into QS that should check for USER_SETUP.
Bug: 7638795
Change-Id: Ib6c48fc02e833670768e7dc76e25c38097b88c18
If there's a charge problem (battery health/temperature out
of spec, or low charging current), the lockscreen and status
bar should not indicate that charging is occurring.
(Previously we showed "Charging" and a lightning bolt any
time the device was plugged in.)
Bug: 7509976
Change-Id: I27ec0e2cec1307fbc6ef262dd5181a4db6d3bed0
This does some cleanup of the initial boot, especially when
booting in "no core apps" mode for encryption/decryption.
Change-Id: Ifb3949f580e52f54559e603c4b0b104f6bac2f6c
Also fix a little problem where the USER_STARTED broadcasts
were not being sent as ordered broadcasts(!).
Change-Id: I3aa3e0a9b3900967cdd2d115ee103371b0a50c41
The new test is more general, allowing mobile RSSI to be
shown on devices without voice telephony.
Bug: 7490266
Change-Id: Ib5b243c0d92e74fe4385989c3a6c16edd00a9ec9
This fixes a bug where the code would pop up SearchPanelView and never
close it. The result is that the overlapping window would absorb all input
events and effectively prevent the user from entering their pin/pattern/password.
The fix is to replace ImageView with KeyButtonView to make the behavior consistent
with how it's handle in home screen.
Fixes bug 7520075
Change-Id: I461bf2844c023fd7a2dffca1177cc5951f30dba0