145281 Commits

Author SHA1 Message Date
Christopher Tate
083bdc68a9 am 9cd88b91: am 7c98ecd3: Schedule full backups
* commit '9cd88b9105742ffa15584183d3b3337d98f750be':
  Schedule full backups
2014-07-28 01:29:20 +00:00
Christopher Tate
29df949051 am 7c98ecd3: Schedule full backups
* commit '7c98ecd38a76798acee8644e88eabb03a755400c':
  Schedule full backups
2014-07-28 01:24:25 +00:00
Christopher Tate
5eeb59cceb Schedule full backups
Initial policy:  at most daily; backups only run when the
device is idle + charging + on an unmetered network.

Bug 16485874

Change-Id: I5665d890a943bac765adcef14be79d7dba6ce078
2014-07-28 01:21:48 +00:00
Jeff Brown
a621dc5a92 am 3efb37d2: am 636e6b73: Minor tweak to screen dimming policy.
* commit '3efb37d23c14682b2958399ac05332e6eee2cdc2':
  Minor tweak to screen dimming policy.
2014-07-27 22:32:52 +00:00
Jeff Brown
fa6ad346dd am 636e6b73: Minor tweak to screen dimming policy.
* commit '636e6b73fe63aacf7011f847d7397d84c5b742b8':
  Minor tweak to screen dimming policy.
2014-07-27 22:29:40 +00:00
Jeff Brown
5c8ea084e6 Minor tweak to screen dimming policy.
Avoid accidentally raising the brightness above the normal minimum
if for some reason we already decided it should be less.

Change-Id: Ib47385287be3ef8719c25148575b1f59589add8c
2014-07-27 15:19:20 -07:00
Robert Greenwalt
0d5ac0b208 am ea444fe7: am 0280963e: Move Alarm setup to systemReady.
* commit 'ea444fe795e00f793dda5e380e55beb178e83ef7':
  Move Alarm setup to systemReady.
2014-07-27 19:55:06 +00:00
Robert Greenwalt
2c5c79f775 am 0280963e: Move Alarm setup to systemReady.
* commit '0280963ec84e0bc858da0de96bb4d5a0e9c0ace1':
  Move Alarm setup to systemReady.
2014-07-27 19:51:56 +00:00
Robert Greenwalt
f9b5c26309 Move Alarm setup to systemReady.
Don't register alarms before the system is ready.

bug:16484913
Change-Id: Iae5c75ff8d40d4d39dbb23ff65a600b4a00cd1f0
2014-07-27 12:30:51 -07:00
John Spurlock
13755c958c am fec13d8e: am 416c134e: QS: Cellular tile icon state tweaks.
* commit 'fec13d8e1d557d0f7adae99ddf7c78c8bc4b9930':
  QS: Cellular tile icon state tweaks.
2014-07-27 16:07:15 +00:00
John Spurlock
05810e2c5a am 416c134e: QS: Cellular tile icon state tweaks.
* commit '416c134e8909bfd5a72463ea89e6ca1c135f9514':
  QS: Cellular tile icon state tweaks.
2014-07-27 16:02:43 +00:00
John Spurlock
3f2db8e4b9 am 7ad3fea6: am 80be3129: Handle special users in default app check.
* commit '7ad3fea65b792b20870bb60052c405582b8f7b0d':
  Handle special users in default app check.
2014-07-27 16:00:56 +00:00
John Spurlock
043bd5d423 am 80be3129: Handle special users in default app check.
* commit '80be31297903daf51f308e59db7ee605dafb1262':
  Handle special users in default app check.
2014-07-27 15:57:44 +00:00
John Spurlock
d5cd2fd15b QS: Cellular tile icon state tweaks.
Bug:16371677
Bug:15586604
Change-Id: Id66fc8fc0353221aa3ed4f6ebd09b499ccba6b98
2014-07-27 11:55:10 -04:00
John Spurlock
b5e767b509 Handle special users in default app check.
Change-Id: I3d1828f143a677bf48cc3caeff125196b6d315e3
2014-07-27 11:53:20 -04:00
Sreeram Ramachandran
49acdf6846 am 7618c339: am c52817e9: Fix issues with noticing that a VPN interface is gone.
* commit '7618c3396e7d047117528fd9aea06eca6dbae71c':
  Fix issues with noticing that a VPN interface is gone.
2014-07-27 15:36:50 +00:00
John Spurlock
6d37b59c6a am 592226f6: am e6de13b1: Merge "Zen: Remove hardcoded package name filters." into lmp-dev
* commit '592226f656da40d795523ef4cf46f90b26f0ce40':
  Zen: Remove hardcoded package name filters.
2014-07-27 15:32:38 +00:00
Sreeram Ramachandran
4cff14e77b am c52817e9: Fix issues with noticing that a VPN interface is gone.
* commit 'c52817e95f38d4b2f42a25e8e78540a08a30846c':
  Fix issues with noticing that a VPN interface is gone.
2014-07-27 15:32:10 +00:00
John Spurlock
1b6f155199 am e6de13b1: Merge "Zen: Remove hardcoded package name filters." into lmp-dev
* commit 'e6de13b15869e272a7ee6f2b52220b471cf57e54':
  Zen: Remove hardcoded package name filters.
2014-07-27 15:27:33 +00:00
Sreeram Ramachandran
030a6b9234 Fix issues with noticing that a VPN interface is gone.
The root cause of both bugs linked below is the same. In establish(), we call
agentConnect(), which sets the state to CONNECTED. But right before returning
from establish(), we set the state to AUTHENTICATING, which is a "CONNECTING"
state. Later, when the interface is gone (either because the VpnService closed
it, or because the process got killed), agentDisconnect() doesn't do anything
because "isConnected()" is false.

We could fix it by changing that to "isConnectedOrConnecting()", but I think a
superior fix is to get rid of the bogus AUTHENTICATING state. It was added in
http://ag/214042 two years ago, with a TODO saying to eventually make sure it
becomes CONNECTED, but that never seems to have been followed up on.

I don't see any use for this AUTHENTICATING state. Although I haven't tested it,
code inspection suggests that the legacy VPN doesn't seem to care, and it sets
its own states in execute() and such.

Bug: 16495146
Bug: 16495887
Change-Id: Ie2a40aa1a8a173665d8b7aa9fab5ae6e800ba5fb
2014-07-27 15:27:03 +00:00
Wink Saville
ea5e6e79c7 am 70d5a344: am 3a9bab72: Change TelephonyRegistry to use phoneId as a callback condition.
* commit '70d5a344499c25ef23540061e8b4a08d5abb4b70':
  Change TelephonyRegistry to use phoneId as a callback condition.
2014-07-27 02:08:38 +00:00
Wink Saville
5f7da67781 am 3a9bab72: Change TelephonyRegistry to use phoneId as a callback condition.
* commit '3a9bab72d04f4b87d12ea1cb22c46d4adf2cb6bf':
  Change TelephonyRegistry to use phoneId as a callback condition.
2014-07-27 02:04:06 +00:00
Wink Saville
e380b98667 Change TelephonyRegistry to use phoneId as a callback condition.
Previously subId was used but it is currently not consistent and
can take on dummy values thus callbacks would not be called appropriately.
Eventually I hope to remove the dummy value concept but for now this
looks like the best approach.

Bug: 16148026
Bug: 15973975
Change-Id: I450c968bda93767554b5188ee63e10c9f43c5aa4
2014-07-26 18:24:22 -07:00
Wink Saville
c192e95573 am 2337a859: am cb2871b3: Fix hasService and use it in updateTelephonySignalStrength.
* commit '2337a8594ab5ae79d17e7d06c26acba51ed33ae0':
  Fix hasService and use it in updateTelephonySignalStrength.
2014-07-27 00:53:12 +00:00
Wink Saville
22a2419c7c am cb2871b3: Fix hasService and use it in updateTelephonySignalStrength.
* commit 'cb2871b3d215dba73042c8730e69c5ad873ff755':
  Fix hasService and use it in updateTelephonySignalStrength.
2014-07-27 00:50:19 +00:00
Wink Saville
d32e1b42c4 Fix hasService and use it in updateTelephonySignalStrength.
I introduced the bug in hasService in
change Ia463997eac7b062653b3cef00570d3fffc115ad3 which added
debug and a quick and dirty hack for 16148026.

Change-Id: I9d5fa36a8cdab2ca28487a94a9f2ecd0d0af6a4b
2014-07-27 00:46:59 +00:00
Jeff Brown
8090ac3eaa am 7798e931: am 108f9dc2: Merge "Remove DozeHardware since it will not be used." into lmp-dev
* commit '7798e9313106abfcc39808108b35edc2493ebc6a':
  Remove DozeHardware since it will not be used.
2014-07-26 22:52:04 +00:00
Jeff Brown
981838a45d am 108f9dc2: Merge "Remove DozeHardware since it will not be used." into lmp-dev
* commit '108f9dc260c703544054c44aa32048ff8556a7e0':
  Remove DozeHardware since it will not be used.
2014-07-26 22:48:23 +00:00
John Spurlock
aa2a40d57b am 8ebe80a3: am c9dfaff7: Merge "Doze: Update tease signal to buzz-beep-blink from NoMan." into lmp-dev
* commit '8ebe80a3919861e36988f91ef95be2efb4e5836d':
  Doze: Update tease signal to buzz-beep-blink from NoMan.
2014-07-26 21:24:44 +00:00
John Spurlock
b4f457d4ed am c9dfaff7: Merge "Doze: Update tease signal to buzz-beep-blink from NoMan." into lmp-dev
* commit 'c9dfaff71e485b67f181a3fcec0fed4df964a92f':
  Doze: Update tease signal to buzz-beep-blink from NoMan.
2014-07-26 21:20:26 +00:00
Jorim Jaggi
65ed38c9ce am fa6ff9da: am 07d1e212: Use finger velocity for ExpandHelper
* commit 'fa6ff9da595610fc2d9b1479ef39bc9aa3592be7':
  Use finger velocity for ExpandHelper
2014-07-26 17:25:49 +00:00
Jorim Jaggi
00c9cb0930 am 07d1e212: Use finger velocity for ExpandHelper
* commit '07d1e2123eda201b1baf2c34b5fc4d270f0c706e':
  Use finger velocity for ExpandHelper
2014-07-26 17:21:48 +00:00
Jorim Jaggi
28c0b714ac Use finger velocity for ExpandHelper
Makes sure that the animation continuing the expand has the exact
same velocity as the finger started the expand. At the end of the
animation, the velocity slows nicely down (reusing logic from
FlingAnimationUtils, yay!).

Change-Id: If9a286a1a3d1bde649cf0475367a63a2188ca3c0
2014-07-26 17:16:39 +00:00
Jeff Brown
402e888ecb am d2d80f2e: am 8944771f: Merge "Fix a deadlock due to AMS calling into WMS with its lock held." into lmp-dev
* commit 'd2d80f2e401a06564cb03b649582f74c41e1337b':
  Fix a deadlock due to AMS calling into WMS with its lock held.
2014-07-26 02:40:30 +00:00
Lajos Molnar
a8cc3074cd am 5ba94a4d: am 88a08631: Merge "Implement MediaCodec.getImage methods" into lmp-dev
* commit '5ba94a4d490f01925f65b847998f05b17de8fc74':
  Implement MediaCodec.getImage methods
2014-07-26 02:40:26 +00:00
Jeff Brown
fe841f1c63 am 32019e7e: am dab2b29b: Merge "Don\'t suppress haptic feedback on keyguard anymore." into lmp-dev
* commit '32019e7e463565977bd29715e4a9e357c61d8a29':
  Don't suppress haptic feedback on keyguard anymore.
2014-07-26 02:40:22 +00:00
Jeff Brown
61bf88f676 am 8944771f: Merge "Fix a deadlock due to AMS calling into WMS with its lock held." into lmp-dev
* commit '8944771f51cd39867594a26b31d1ade5c5117e75':
  Fix a deadlock due to AMS calling into WMS with its lock held.
2014-07-26 02:36:39 +00:00
Lajos Molnar
16efefce5c am 88a08631: Merge "Implement MediaCodec.getImage methods" into lmp-dev
* commit '88a08631614beb652f48e2d24a778c4232f5719a':
  Implement MediaCodec.getImage methods
2014-07-26 02:36:35 +00:00
Jeff Brown
c87382a860 am dab2b29b: Merge "Don\'t suppress haptic feedback on keyguard anymore." into lmp-dev
* commit 'dab2b29b35d1b520dc7a45196d1eec2cf71f4d41':
  Don't suppress haptic feedback on keyguard anymore.
2014-07-26 02:36:31 +00:00
Ji-Hwan Lee
6469c41f09 am e4160d70: am 9c5d5ad9: TIF: Fix invalid use of serviceStateMap.get()
* commit 'e4160d70c64632bcb4394ff94b67f13738e63072':
  TIF: Fix invalid use of serviceStateMap.get()
2014-07-26 02:04:24 +00:00
Ji-Hwan Lee
49a5cb2e1e am 9c5d5ad9: TIF: Fix invalid use of serviceStateMap.get()
* commit '9c5d5ad9ce29668cc867545a203a146930788009':
  TIF: Fix invalid use of serviceStateMap.get()
2014-07-26 01:59:26 +00:00
Ji-Hwan Lee
c88f1916b8 TIF: Fix invalid use of serviceStateMap.get()
Change-Id: Ic43ac2697ed459a105e62c81e8cb6d0fb8ff6dd0
2014-07-26 01:56:34 +00:00
Amith Yamasani
a9cfdf91e8 am 7ef87d4d: am 0a4e461e: Hidden global setting to allow adding users from lockscreen
* commit '7ef87d4de0975ed682c50e5c14f7e58c1ce9622a':
  Hidden global setting to allow adding users from lockscreen
2014-07-26 01:06:32 +00:00
Alan Viverette
3464253289 am 2720d7ba: am 77b2010c: Merge "Add public attribute for window clipToOutline" into lmp-dev
* commit '2720d7ba734d44206679e6277a6b5d59e1560996':
  Add public attribute for window clipToOutline
2014-07-26 01:06:28 +00:00
Zhijun He
ed53458f83 am c877e92e: am b52d22ce: Merge "CamcorderProfiles: add high speed profile constants" into lmp-dev
* commit 'c877e92e77ffdd7da2d2025cd625640e42dd2f16':
  CamcorderProfiles: add high speed profile constants
2014-07-26 01:06:24 +00:00
Jeff Brown
f0f0f7ca66 Merge "Fix a deadlock due to AMS calling into WMS with its lock held." into lmp-dev 2014-07-26 01:02:19 +00:00
Jeff Brown
4b4971b8a3 Fix a deadlock due to AMS calling into WMS with its lock held.
The full deadlock cycle involved ActivityManagerService,
WindowManagerService, and DevicePolicyManagerService.

Fixed by posting the work of enabling the screen to the handler
instead of doing it immediately while holding the activity manager
lock.

Bug: 16578860
Change-Id: I10514cd2df993c7193747ae823e1990a2c34e196
2014-07-25 19:31:47 -07:00
Jeff Brown
82379ba8dd Don't suppress haptic feedback on keyguard anymore.
This enables haptic feedback from virtual keys, lift-to-wake,
and long-press power to work as expected on the keyguard.

There doesn't seem to be a good reason for us to block haptic feedback
on keyguard anymore.  The PIN, pattern, and password locks already
bypass this check and vibrate and require a swipe to access in
the first place.  So there doesn't seem to be much potential
for accidental vibration anymore.

If this becomes a problem then we can investigate more targeted
means to suppress undesired vibration.

Added some debugging code to VibratorService.

Bug: 16535403
Change-Id: Ia7a5d8c35244009db36c358e5cbcbf8cf5d68768
2014-07-25 19:30:00 -07:00
Amith Yamasani
b9cc0d59ec am 0a4e461e: Hidden global setting to allow adding users from lockscreen
* commit '0a4e461eaa30a10dabb44d4eb1c8b48bbce6226c':
  Hidden global setting to allow adding users from lockscreen
2014-07-26 01:02:08 +00:00
Alan Viverette
5a8b4719be am 77b2010c: Merge "Add public attribute for window clipToOutline" into lmp-dev
* commit '77b2010c1f391f0ab3432da50154053b16a905c4':
  Add public attribute for window clipToOutline
2014-07-26 01:02:04 +00:00