11203 Commits

Author SHA1 Message Date
Zoltan Szatmary-Ban
11f72c0d97 Merge "Leave SettingsProvider running if cloning of a setting fails" into lmp-dev 2014-09-12 10:15:10 +00:00
Jorim Jaggi
4626fdbbaf am c9644edc: am 135f086a: Merge "Add massive logging to investigate blank Keyguard" into lmp-dev
* commit 'c9644edc47521d6b4a13be2ff34d899635bc7abe':
  Add massive logging to investigate blank Keyguard
2014-09-12 05:46:25 +00:00
Svetoslav
69729b29bf am 7d3db59d: am 59d0713d: Merge "Fix back button behavior and clean up in print preview activity." into lmp-dev
* commit '7d3db59ddb082b3ed77cf03bbbf9ea0f152d9494':
  Fix back button behavior and clean up in print preview activity.
2014-09-12 05:45:48 +00:00
Svet Ganov
4c4b3b8f78 am 6e0f0619: am 60d4306b: Merge "Fix edit text error state in the print UI." into lmp-dev
* commit '6e0f061909179b06e9869ea2a02f5b6057c9dcb3':
  Fix edit text error state in the print UI.
2014-09-12 05:45:02 +00:00
Jorim Jaggi
733e73c3ce am 135f086a: Merge "Add massive logging to investigate blank Keyguard" into lmp-dev
* commit '135f086a314690699229a98364b03e48e9651ec2':
  Add massive logging to investigate blank Keyguard
2014-09-12 05:04:35 +00:00
Svetoslav
8c3297ece1 am 59d0713d: Merge "Fix back button behavior and clean up in print preview activity." into lmp-dev
* commit '59d0713d816dd8e9a04885b1907384ba4de6cf19':
  Fix back button behavior and clean up in print preview activity.
2014-09-12 05:04:03 +00:00
Svet Ganov
34e67af34f am 60d4306b: Merge "Fix edit text error state in the print UI." into lmp-dev
* commit '60d4306bfd3125543b1a207c82b78e0bfbe7a8d4':
  Fix edit text error state in the print UI.
2014-09-12 05:03:21 +00:00
Jorim Jaggi
5262fe3a1a Merge "Add massive logging to investigate blank Keyguard" into lmp-dev 2014-09-12 00:30:28 +00:00
Jorim Jaggi
b01287fbfb Add massive logging to investigate blank Keyguard
This CL needs to be reverted after the issue is fixed, as it clutters
the code a lot.

Bug: 17439581
Change-Id: I548fdd73bbcd6d6ce727901f9dcd9f3f7268db9d
2014-09-12 02:17:48 +02:00
Svetoslav
36f6951e32 Merge "Fix back button behavior and clean up in print preview activity." into lmp-dev 2014-09-11 23:24:20 +00:00
Svet Ganov
c946e9ab46 Merge "Fix edit text error state in the print UI." into lmp-dev 2014-09-11 22:15:59 +00:00
Svetoslav
e17123dd6d Fix back button behavior and clean up in print preview activity.
The print preview UI owns and drives the lifecycle of several objects.
These objects were torn down too late resulting in an attempt to use
the activity as a context when it was no longer valid and service unbind
resulting in causing a crash.

Fixed a bug where if the back button is pressed mutiple times when
the print UI is being initialized a crash occurs.

bug:17454041

Change-Id: Ic1455b467586f0ad65f907e2160ec5cfb2d17d05
2014-09-11 14:12:22 -07:00
Jerome Poichet
550021ec5a Update default device name to MODEL only
b/17428259 | Change device name to default to model name

Change-Id: If9f0a30f2362574d32fc69c0880c01ec7a3edb9f
2014-09-11 11:59:45 -07:00
John Spurlock
a28bfe3b9c am 33386490: am 5d77d533: Merge "Doze: Introduce a pulse period function." into lmp-dev
* commit '33386490d123a454f71ddce7fae1ab28ad9e38b0':
  Doze: Introduce a pulse period function.
2014-09-11 18:49:02 +00:00
John Spurlock
3cda1976f2 am 5d77d533: Merge "Doze: Introduce a pulse period function." into lmp-dev
* commit '5d77d533275690aa82a4713d75761ac03bb714bc':
  Doze: Introduce a pulse period function.
2014-09-11 18:35:59 +00:00
John Spurlock
3e42b33980 Merge "Doze: Introduce a pulse period function." into lmp-dev 2014-09-11 18:33:38 +00:00
John Spurlock
d06aa57037 Doze: Introduce a pulse period function.
Instead of pulsing every 30 seconds to mimic the LED, use
a function that pulses more frequently for new notifications,
decaying to a slower pulse, and eventually stopping.

Specifically, the step function for the interval is:
 - 10 seconds for the first minute
 - then 30 seconds until the five minute mark
 - then 60 seconds until the 30 minute mark
 - then no pulsing at all

 - Since we pulse more frequently on new notifications, remove
   the "multi-pulse" concept.
 - Move all doze-related duration parameters to a new helper,
   backed by config, overridable by sysprops, include in dump.
 - Wake up from dozing when hitting volume keys during a pulse.
 -
Bug:17393939
Change-Id: Ica86f08b25c738338fced165c77faf3dfccd0343
2014-09-11 14:25:11 -04:00
Svet Ganov
43212264dd Fix edit text error state in the print UI.
If the user input in the print UI is invalid we show an error icon
next to it. The design requires no error message being shown in a
popup but TextView does show the popup all the time.

bug:16966145

Change-Id: I7aa1ec8093bc76e2f440bcb243609e92e049786b
2014-09-11 10:35:26 -07:00
Baligh Uddin
356a11a557 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-11 15:29:13 +00:00
Jorim Jaggi
aed92ba835 am 3b30c486: am 840b03de: Merge "Don\'t use layers when fading between public/private layout" into lmp-dev
* commit '3b30c48698a827c2f75caf85c3316cc7f79a7f51':
  Don't use layers when fading between public/private layout
2014-09-11 12:58:34 +00:00
Jorim Jaggi
432c04140e am 840b03de: Merge "Don\'t use layers when fading between public/private layout" into lmp-dev
* commit '840b03dec0630486675cf6fb5f412362ed7b0d37':
  Don't use layers when fading between public/private layout
2014-09-11 12:47:09 +00:00
Jorim Jaggi
8353e76a99 Merge "Don't use layers when fading between public/private layout" into lmp-dev 2014-09-11 12:41:26 +00:00
Selim Cinek
b85a6f148a am d603388f: am 2b304948: Merge "Fixed a crash when the more card or the dismissview was longpressed" into lmp-dev
* commit 'd603388fe4a5c6ddd982a561cf1d233b79a9bfde':
  Fixed a crash when the more card or the dismissview was longpressed
2014-09-11 12:37:05 +00:00
Selim Cinek
37e5cda521 am 52fe1c77: am 31ffc0d6: Merge "Fixed a bug where the drag down animation was behaving wrong" into lmp-dev
* commit '52fe1c777b5deb99d97ee7ce7420053cdcaed94f':
  Fixed a bug where the drag down animation was behaving wrong
2014-09-11 12:37:00 +00:00
Selim Cinek
d1da4d098c am 4e523094: am e4de3fbe: Merge "Fixed a bug where the notifications and the clock could jump" into lmp-dev
* commit '4e523094e9b440958c6eb29ea515b3187b4e195f':
  Fixed a bug where the notifications and the clock could jump
2014-09-11 12:36:56 +00:00
Selim Cinek
2205360300 am 2b304948: Merge "Fixed a crash when the more card or the dismissview was longpressed" into lmp-dev
* commit '2b304948e68a5bfe372a43b5dae3abb89eb3903e':
  Fixed a crash when the more card or the dismissview was longpressed
2014-09-11 12:27:17 +00:00
Selim Cinek
d77d820ed7 am 31ffc0d6: Merge "Fixed a bug where the drag down animation was behaving wrong" into lmp-dev
* commit '31ffc0d6315a8a4f14c7d1f167e04cf03bec6774':
  Fixed a bug where the drag down animation was behaving wrong
2014-09-11 12:27:12 +00:00
Selim Cinek
a2be50de6a am e4de3fbe: Merge "Fixed a bug where the notifications and the clock could jump" into lmp-dev
* commit 'e4de3fbe2ff869ed904bbfaf54903b9095cb7206':
  Fixed a bug where the notifications and the clock could jump
2014-09-11 12:27:05 +00:00
Selim Cinek
72eda1729a Merge "Fixed a crash when the more card or the dismissview was longpressed" into lmp-dev 2014-09-11 12:20:21 +00:00
Selim Cinek
9d25c97ea0 Merge "Fixed a bug where the drag down animation was behaving wrong" into lmp-dev 2014-09-11 12:20:07 +00:00
Selim Cinek
88619b1295 Merge "Fixed a bug where the notifications and the clock could jump" into lmp-dev 2014-09-11 12:19:37 +00:00
Jorim Jaggi
aa92ffb199 Don't use layers when fading between public/private layout
Saves us some memory and more importantly, prevents layer trashing
and some skipped frames when building the layers.

Bug: 17287256
Bug: 16513124
Change-Id: Ief7c9a892da57bc77264de016f5118277e648f45
2014-09-11 11:56:37 +00:00
Selim Cinek
bdefcdf90f Fixed a crash when the more card or the dismissview was longpressed
Bug: 17460534
Change-Id: Ided33204b04085ed01f1cc6ada9ccc43fbf028d0
2014-09-11 12:41:47 +02:00
Zoltan Szatmary-Ban
3534935273 Leave SettingsProvider running if cloning of a setting fails
Cloning of settings to managed profiles could fail due to security restrictions. This caused
Settings app crash. Instead the exception is now caught inside SettingsProvider, logged,
and we leave the app running.

Bug:17450158
Change-Id: I7525d634e57701db304117f4b2035faf53977836
2014-09-11 11:28:20 +01:00
Svetoslav
675a4a7ce0 am 14a1444e: am a6b5869f: Merge "Fix a crash in print spooler." into lmp-dev
* commit '14a1444ebabf296d439838dfa14f973b3500d267':
  Fix a crash in print spooler.
2014-09-10 23:22:05 +00:00
Svetoslav
d26415d3f5 am 7e115924: am 930f4fe4: Merge "Accessibilty support for the print UI." into lmp-dev
* commit '7e115924533910ec872175f39850d4b83663ffc4':
  Accessibilty support for the print UI.
2014-09-10 23:22:01 +00:00
Lorenzo Colitti
23dd176915 Make status bar indicators reflect the network actually in use.
Currently, when we are connected to a wifi network without
Internet connectivity (e.g., a captive portal, or an access
point that's not connected to the Internet), we display the wifi
icon and hide the mobile network type icon. This is incorrect,
because all traffic is in fact going over mobile data. This
could cause nasty surprises if mobile data is metered.

Instead, make the icons reflect the true state of affairs:

- A wifi icon means device traffic goes through wifi.
- A wifi icon with ! means wifi is connected but has no
  Internet and traffic is not going through wifi.
- Mobile bars with a network type (e.g., "LTE" means device
  traffic goes through mobile data.
- Mobile bars without a network type mean that mobile data is
  connected but device traffic is not going through mobile data.
- Mobile bars with ! mean that cell is not connected.

Bug: 17237507
Change-Id: I923edbeab3013f10314633c01922c8684591b15c
2014-09-11 08:12:37 +09:00
Svetoslav
212a8bf326 am a6b5869f: Merge "Fix a crash in print spooler." into lmp-dev
* commit 'a6b5869f409f9674ef046e8f997e5f97b71b794a':
  Fix a crash in print spooler.
2014-09-10 23:10:46 +00:00
Svetoslav
993137dcdc am 930f4fe4: Merge "Accessibilty support for the print UI." into lmp-dev
* commit '930f4fe4cb27f9363d177848f4f832b4a79d2819':
  Accessibilty support for the print UI.
2014-09-10 23:10:41 +00:00
Svetoslav
e03ddd0bcc Merge "Fix a crash in print spooler." into lmp-dev 2014-09-10 23:00:42 +00:00
Svetoslav
c65510a7bc Merge "Accessibilty support for the print UI." into lmp-dev 2014-09-10 22:59:50 +00:00
Jeff Sharkey
13d764f36d am 9d61be1f: am bed348e3: Merge "Manage mode shouldn\'t block for other providers." into lmp-dev
* commit '9d61be1f0c0bf7260e5022e5b66218b144df9065':
  Manage mode shouldn't block for other providers.
2014-09-10 22:58:48 +00:00
Jeff Sharkey
4ef7b1442a am bed348e3: Merge "Manage mode shouldn\'t block for other providers." into lmp-dev
* commit 'bed348e3f1090417df2694d394ad11ef07a1e44a':
  Manage mode shouldn't block for other providers.
2014-09-10 22:45:34 +00:00
Jeff Sharkey
2e52871211 Merge "Manage mode shouldn't block for other providers." into lmp-dev 2014-09-10 22:39:45 +00:00
Jeff Sharkey
c9d7150680 Manage mode shouldn't block for other providers.
When loading DocumentsUI in management mode (for Downloads), we
normally focus on a single authority and let the other providers
keep loading async.  However, when one of the providers kicks a
change notification, we end up blocking the main thread.

Simple fix is to move the blocking into the AsyncTask.

Bug: 17452691
Change-Id: Ie5212ad825b7df719690b29941c9ae9ba2cabe4b
2014-09-10 15:27:59 -07:00
Svetoslav
3ef8e203c8 Fix a crash in print spooler.
1. Leftover code was setting the state to configuring
   before initialization is complete.

2. We were not cancelling the print job if cancelled
   when initializing.

3. The remote print document was cancelled even if
   doing nothing.

bug:17451600

Change-Id: I79a80b723af8537da260012470748b4e8831fd9e
2014-09-10 15:00:11 -07:00
John Spurlock
62d0664fed am e153ddcf: am 1f35a9b6: Merge "QS: Fix NPE path inside cell tile." into lmp-dev
* commit 'e153ddcf4d7f764de0a833e51d444cecae5792da':
  QS: Fix NPE path inside cell tile.
2014-09-10 21:55:10 +00:00
John Spurlock
4829719465 am 1f35a9b6: Merge "QS: Fix NPE path inside cell tile." into lmp-dev
* commit '1f35a9b62db9cb420dd69676f1c4b7c18b6f01ba':
  QS: Fix NPE path inside cell tile.
2014-09-10 21:44:30 +00:00
John Spurlock
66c0d0cb8c Merge "QS: Fix NPE path inside cell tile." into lmp-dev 2014-09-10 21:40:43 +00:00
John Spurlock
f7f00ea9d3 QS: Fix NPE path inside cell tile.
Bug:17456632
Change-Id: Ifc859cf8c1620152fd333d3a92bcd1a47ac1d7e7
2014-09-10 17:34:56 -04:00