10724 Commits

Author SHA1 Message Date
Winson Chung
4298b43592 Adding null check for invalid recents task list. (Bug 17476926)
Change-Id: Ie12b70282bf35de5c33634012e2b2e0a9e0c6af0
2014-09-12 15:25:46 +02:00
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
671dd09e10 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 07:22:32 +00:00
Svetoslav
93d08b89b2 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 07:22:05 +00:00
Svet Ganov
17a005235a 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 07:21:35 +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
07af6dc8e5 am 5d77d533: Merge "Doze: Introduce a pulse period function." into lmp-dev
* commit '5d77d533275690aa82a4713d75761ac03bb714bc':
  Doze: Introduce a pulse period function.
2014-09-11 18:38:46 +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
Jorim Jaggi
8d2707219d 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 16:01:50 +00:00
Selim Cinek
b8cef7b8a5 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 16:01:39 +00:00
Selim Cinek
b44f63b694 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 16:01:35 +00:00
Selim Cinek
b0482b3068 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 16:01:31 +00:00
Svetoslav
d5d76c3783 am a6b5869f: Merge "Fix a crash in print spooler." into lmp-dev
* commit 'a6b5869f409f9674ef046e8f997e5f97b71b794a':
  Fix a crash in print spooler.
2014-09-11 15:58:10 +00:00
Svetoslav
0da74157d8 am 930f4fe4: Merge "Accessibilty support for the print UI." into lmp-dev
* commit '930f4fe4cb27f9363d177848f4f832b4a79d2819':
  Accessibilty support for the print UI.
2014-09-11 15:58:06 +00:00
Jeff Sharkey
09c815560d 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-11 15:57:55 +00:00
Baligh Uddin
356a11a557 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-11 15:29:13 +00:00
Baligh Uddin
a11ba90099 Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev 2014-09-11 15:29:05 +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
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
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
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
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
2532881f52 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:47:00 +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
Jorim Jaggi
1ceef4083e am 303fa836: Merge "Fix PIN/PUK flow" into lmp-dev
* commit '303fa8368258ec03d8a9a6994e5c38884ed2b129':
  Fix PIN/PUK flow
2014-09-10 20:54:06 +00:00
Jorim Jaggi
cc20d36267 am 70968134: Merge "Fix invisible Keyguard" into lmp-dev
* commit '70968134205bcaf97076b84f5fda9ee867aa21e5':
  Fix invisible Keyguard
2014-09-10 20:54:03 +00:00
Jorim Jaggi
e81d5c97e8 Merge "Fix PIN/PUK flow" into lmp-dev 2014-09-10 20:48:46 +00:00
Jorim Jaggi
ef764551c9 Merge "Fix invisible Keyguard" into lmp-dev 2014-09-10 20:43:51 +00:00
Jorim Jaggi
5cbfe5476b Fix invisible Keyguard
Bug: 17439581
Change-Id: Ie649af4a3455a650ab46372f1e5500b530a24f34
2014-09-10 22:23:08 +02:00
Svetoslav
cb37dfdd5c am 0f2e085d: Merge "RTL support for print UI." into lmp-dev
* commit '0f2e085da75d003a2f3b7490dda9b9ac2aef58ba':
  RTL support for print UI.
2014-09-10 20:15:52 +00:00
Svetoslav
15fd1acc57 am d327046d: Merge "Fix page spacing in preview list." into lmp-dev
* commit 'd327046d05f6823e5ad3ee2ee81bf3531f23bbdc':
  Fix page spacing in preview list.
2014-09-10 20:15:48 +00:00
Svetoslav
fc81bfe3fb Merge "RTL support for print UI." into lmp-dev 2014-09-10 20:06:18 +00:00
Svetoslav
0421754a21 Merge "Fix page spacing in preview list." into lmp-dev 2014-09-10 20:05:46 +00:00
Svetoslav
e652b02d45 Accessibilty support for the print UI.
bug:15816751

Change-Id: I5dcdbdd0357843b870ddd47d7c41cfba114d194c
2014-09-10 11:54:37 -07:00