10458 Commits

Author SHA1 Message Date
Jeff Sharkey
69aada9c7f Merge "Add xxxhdpi assets for DocumentsUI." into lmp-dev 2014-09-12 23:00:06 +00:00
Svetoslav
80adf03d6f Merge "Fix crash in spooler if printing app dies." into lmp-dev 2014-09-12 22:23:40 +00:00
Jeff Sharkey
3ad3b4f11a Add xxxhdpi assets for DocumentsUI.
Bug: 17486169
Change-Id: I26fd257ab9404b1c3985ee6861c9b81ec5e581bc
2014-09-12 14:50:59 -07:00
Svetoslav
2fb64a5cb1 Fix crash in spooler if printing app dies.
bug:16966145

Change-Id: I092c489a7f1b4000a96d3f12f2996ccabf734b9a
2014-09-12 13:55:35 -07:00
Svetoslav
6cd998a340 Merge "Fix a crash in print preview on multiple rotations." into lmp-dev 2014-09-12 20:48:29 +00:00
Jerome Poichet
3d68c10854 Merge "Update default device name to MODEL only" into lmp-dev 2014-09-12 20:33:46 +00:00
Jorim Jaggi
a8a372220a Merge "Add touch disabled state output in dumpsys" into lmp-dev 2014-09-12 19:57:26 +00:00
Jorim Jaggi
50d87a7fb4 Add touch disabled state output in dumpsys
Bug: 17439581
Change-Id: I1e071e849b1196485b633716aebf19aebc63a4b2
2014-09-12 21:43:35 +02:00
John Spurlock
ce8a52f9aa Merge "Doze: Use configured doze brightness when pulsing." into lmp-dev 2014-09-12 19:26:42 +00:00
Jorim Jaggi
689d491d8a Merge "Avoid some more layer creations" into lmp-dev 2014-09-12 18:42:57 +00:00
Jorim Jaggi
e9cfbadc35 Merge "More notifications and bigger clock for phablets" into lmp-dev 2014-09-12 18:31:21 +00:00
Jorim Jaggi
0b15e00675 More notifications and bigger clock for phablets
Bug: 16799035
Change-Id: I7aa6240ca8a06276640bafd531d92893cf53f40b
2014-09-12 20:13:44 +02:00
Jorim Jaggi
cffd540c15 Merge "Attempt to fix invisible Keyguard #2" into lmp-dev 2014-09-12 17:44:59 +00:00
Svetoslav
139ba7fb0e Fix a crash in print preview on multiple rotations.
bug:16966145

Change-Id: I8266315bd9253953cb6c3b9dab1ba36f104a74a5
2014-09-12 10:35:38 -07:00
John Spurlock
f50dc4993f Doze: Use configured doze brightness when pulsing.
Use the framework doze brightness configured for this device
when pulsing, instead of a separately configured value.

Bug:17409425
Change-Id: Icadc00d6c20909375d4ab726ec254dbafd997ead
2014-09-12 13:26:00 -04:00
Jorim Jaggi
d41083ad06 Attempt to fix invisible Keyguard #2
Bug: 17439581
Change-Id: Ib38d9be3271081b33c23b3b17b2ed7790c71729b
2014-09-12 19:12:15 +02:00
Jorim Jaggi
e19b1ac57c Avoid some more layer creations
Bug: 17287256
Change-Id: I8c0c6f1f189b70d9a0c261f75987def3464d808d
2014-09-12 18:42:20 +02:00
Alexandra Gherghina
64d4dca63f Assign default icon to users at creation time and in SystemUI.
Right now different code in System UI, Settings app and other places replace the
user icon with their own default. This tries to make it consistent by moving the
mechanism used in Settings in a helper class.

Bug: 17311038
Change-Id: Ic858c65bf82a98b9806dbba029e7cdcf441f372e
2014-09-12 15:43:42 +01: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
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
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
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
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
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
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
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
Jorim Jaggi
f18271cb30 Fix PIN/PUK flow
Bug: 17411293
Change-Id: Ib9e99ba5d982704fc0b8201aa90a664501a34b81
2014-09-10 20:21:14 +02:00