3739 Commits

Author SHA1 Message Date
Amith Yamasani
2d43fabaf7 Don't update global table when upgrading secondary users' database.
Bug: 7722149
Change-Id: I0c1373cba316b924701136579083274eb6c9b1da
2012-12-12 09:52:26 -08:00
Jeff Brown
84e2756c0f Play a tone when wireless charging begins.
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
2012-12-11 12:55:03 -08:00
Laurent Tu
e886adbda5 DO NOT MERGE Protect against NPE in FusionEngine.java.
Cherry-pick of Ic49a069eef47a62fb1e0c6f284a705a62c6ae232

Bug: 7629406
Change-Id: Ia04dba9496b02755678b43e12834e992f63ee45b
2012-12-04 16:15:24 -08:00
Daniel Sandler
9f2532bf12 Merge "Reduce false swipe-closed gestures in status bar panels." into jb-mr1.1-dev 2012-12-04 05:33:16 -08:00
Daniel Sandler
f87488095e Merge "Show alarm tile for the current user." into jb-mr1.1-dev 2012-12-03 10:21:15 -08:00
Daniel Sandler
0f92a8083d Show alarm tile for the current user.
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
2012-12-03 12:59:26 -05:00
Daniel Sandler
025b43cd51 Merge "Fix rounding error when drawing panel handles." into jb-mr1.1-dev 2012-12-03 07:00:59 -08:00
Daniel Sandler
076324ae19 Fix rounding error when drawing panel handles.
Bug: 7649037
Change-Id: If8d9fa5f3852729207c31c95cfd68ef54ff47d7d
2012-11-30 16:14:21 -05:00
Daniel Sandler
6f7654d665 Reduce false swipe-closed gestures in status bar panels.
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
2012-11-30 15:28:38 -05:00
Daniel Sandler
0a6620e861 Merge "Suppress quick settings if setup has not been completed." into jb-mr1.1-dev 2012-11-30 10:05:01 -08:00
Daniel Sandler
386165a3ae Merge "Only show "charging" if the battery is really charging." into jb-mr1.1-dev 2012-11-30 07:27:36 -08:00
Daniel Sandler
a8ef3b044e Suppress quick settings if setup has not been completed.
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
2012-11-29 16:22:37 -05:00
Daniel Sandler
fe0e1e445f Only show "charging" if the battery is really charging.
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
2012-11-29 15:11:50 -05:00
Daniel Sandler
154e2d7d2c Merge "Flush the clock format when the locale changes." into jb-mr1.1-dev 2012-11-29 11:20:25 -08:00
Daniel Sandler
43b23c6c69 Flush the clock format when the locale changes.
Bug: 7569120
Change-Id: If85ff36c7fac8b07f10b7077afd23255a145db1c
2012-11-29 11:35:02 -05:00
Dianne Hackborn
13579ed330 Cleaner initial boot.
This does some cleanup of the initial boot, especially when
booting in "no core apps" mode for encryption/decryption.

Change-Id: Ifb3949f580e52f54559e603c4b0b104f6bac2f6c
2012-11-28 18:09:01 -08:00
Dianne Hackborn
68e0da7e39 Merge "Quiet down a lot of logging." into jb-mr1.1-dev 2012-11-28 15:03:39 -08:00
Dianne Hackborn
40e9f2922c Quiet down a lot of logging.
Also fix a little problem where the USER_STARTED broadcasts
were not being sent as ordered broadcasts(!).

Change-Id: I3aa3e0a9b3900967cdd2d115ee103371b0a50c41
2012-11-27 19:12:23 -08:00
Daniel Sandler
5bff551710 Merge "Refresh the status bar clock format on user switch." into jb-mr1.1-dev 2012-11-27 18:12:47 -08:00
Michael Jurka
09a526faf3 Merge "Fix bug: swiped apps in Recents come back on rotate" into jb-mr1.1-dev 2012-11-27 14:49:41 -08:00
Winson Chung
2b847c3933 Merge "Removing unecessary additional lock metadata from QuickSettings user tile." into jb-mr1.1-dev 2012-11-26 16:20:23 -08:00
Michael Jurka
ab972a6dce Merge "Fix bug where icon animation is sometimes skipped" into jb-mr1.1-dev 2012-11-26 16:15:20 -08:00
Michael Jurka
e57922cc7d Fix bug: swiped apps in Recents come back on rotate
Bug: 7409398
2012-11-26 16:05:27 -08:00
Winson Chung
f7614fc744 Removing unecessary additional lock metadata from QuickSettings user tile.
Change-Id: I89ec94385eb3cdd46ad6942bf8989fb04d5c0370
2012-11-26 14:44:03 -08:00
Daniel Sandler
53d9659978 Merge "Allow long-press on Wifi and Bluetooth tiles to toggle." into jb-mr1.1-dev 2012-11-26 11:33:06 -08:00
Michael Jurka
d894c8cdd1 Fix bug where icon animation is sometimes skipped
Bug: 7406230
Bug: 7406304

Change-Id: I9058acffa6587a5f8e757f1031750a8ba578c635
2012-11-21 11:55:23 -08:00
Daniel Sandler
ce4f5e5c70 Refresh the status bar clock format on user switch.
Bug: 7490931
Change-Id: Ifad46ec7cee40aa5a622ee2621fc425835366e32
2012-11-19 14:47:18 -05:00
Daniel Sandler
5052805cc0 Show mobile data RSSI for devices that support it.
The new test is more general, allowing mobile RSSI to be
shown on devices without voice telephony.

Bug: 7490266
Change-Id: Ib5b243c0d92e74fe4385989c3a6c16edd00a9ec9
2012-11-19 13:33:44 -05:00
Baligh Uddin
f3cd8e5e38 Import translations. DO NOT MERGE
Change-Id: I8fdaf22a9c0ab1552d379501f7fde119064d49b8
Auto-generated-cl: translation import
2012-11-16 14:11:16 -08:00
Daniel Sandler
ab51002847 Allow long-press on Wifi and Bluetooth tiles to toggle.
Bug: 7395607
Change-Id: Ia929dc2cb12eef221fe6f0214ec44c3dc98b0597
2012-11-16 11:59:24 -05:00
Baligh Uddin
3893925901 am c3b6ee60: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'c3b6ee6068f7970c2a7f9da6f784adc2e6b2bceb':
  Import translations. DO NOT MERGE
2012-11-15 08:16:31 -08:00
Baligh Uddin
dd0ffba856 Import translations. DO NOT MERGE
Change-Id: I28291cc43ab74267b771dacf7dc570447a4a3dcf
Auto-generated-cl: translation import
2012-11-14 10:39:26 -08:00
Jim Miller
c120b6e99a Fix "keyguard unresponsive" bug
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
2012-11-12 17:54:22 -08:00
Baligh Uddin
ba52aff41b Import translations. DO NOT MERGE
Change-Id: I293bcd411943a50960328eb2ef836f4b9ba2295e
Auto-generated-cl: translation import
2012-11-09 09:56:53 -08:00
Dianne Hackborn
a46a74fcd6 Merge "Remove extraneous logs." into jb-mr1-dev 2012-11-08 13:16:10 -08:00
Dianne Hackborn
7ff30113de Remove extraneous logs.
Change-Id: I4c47d36748de91bd6fddc419afbf59552bf63e9a
2012-11-08 13:13:48 -08:00
John Spurlock
7a73344bbe Minimal fix for stuck google now.
Bug:7500409
Change-Id: I1570d72e08fbe520ac07eed2ee40b6571fa1fe3c
2012-11-08 09:08:14 -05:00
Jim Miller
bac6d4bf3c Fix bug where SearchPanel wasn't launching assist intent when keyguard is gone.
Fixes bug 7499778

Change-Id: I450755b8839717f0f13241cb57f0015cf78569d9
2012-11-08 01:27:09 -08:00
Jim Miller
4eeb4f664a Add mechanism to kick keyguard to show the assistant
Fixes bug 7499778

Change-Id: Ic9ea514feb489feeee6716f40bdb9792842f9515
2012-11-08 00:39:04 -08:00
Daniel Sandler
f837e4149e New asset for assist affordance on lockscreen.
Bug: 7468726
Change-Id: Ia906256f667597ac92b07ee0f5b967048b5e25d5
2012-11-07 21:17:57 -05:00
Sascha Prueter
972dd431f8 Merge "Final icon for notifications panel" into jb-mr1-dev 2012-11-07 14:08:22 -08:00
John Spurlock
506fd3b02e Merge "Low battery dialog should use UserHandle.CURRENT." into jb-mr1-dev 2012-11-07 11:31:30 -08:00
Baligh Uddin
a40ec75eb3 Merge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev 2012-11-07 09:47:00 -08:00
John Spurlock
f55769fefa Low battery dialog should use UserHandle.CURRENT.
Bug:7493313
Change-Id: Ie753633c550e4ce679fbb6f9e0c6adf56392ec87
2012-11-07 11:50:33 -05:00
Baligh Uddin
f5525b9967 Import translations. DO NOT MERGE
Change-Id: Ic647d879dc7392501863f4531f048b17faa1fd07
Auto-generated-cl: translation import
2012-11-06 14:29:53 -08:00
Daniel Sandler
207d548ccf Show the assist ring on center-button longpress on lockscreen.
Bug: 7480028
Change-Id: I4c8013e984c2591faf3bc8fe2048abf69d545b6c
2012-11-06 16:23:43 -05:00
Daniel Sandler
b1df8bc62a Final icon for notifications panel
Bug: 7474127
Change-Id: I391ef8d607142ab9007439479aebb39e1bfb55f2
2012-11-06 14:37:22 -05:00
Baligh Uddin
79417e8912 Merge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev 2012-11-02 08:13:23 -07:00
John Spurlock
a9b468248d Disable disable back if using an alternate back icon.
This enables the IME down chevron even if back would otherwise
be disabled.

Bug:7453424
Change-Id: Ia007df256124c617b86983bfe6958f790bd6a544
2012-11-02 10:42:39 -04:00
Baligh Uddin
e506ae188b Import translations. DO NOT MERGE
Change-Id: Ib2e0bbc19617066ac205c54676eddb8c71e71ae8
Auto-generated-cl: translation import
2012-11-02 00:15:43 -07:00