10568 Commits

Author SHA1 Message Date
Svetoslav
9424b733c7 Fix a print spooler crash when printing.
The spooler communicates with he remote PDF renderer asynchronously.
When print is confirmed we close the renderer, destroy it, and unbind
from its service. If we unbind from the service after the print activiy
is finished we get a crash. The bug was that we did not wait until we
disconnect from the remote renderer before finishing the print activity.

bug:17583115

Change-Id: I55b0135f9c5658b3a4fda2901b8b3bdef044e211
2014-09-19 14:24:40 -07:00
Jason Monk
33d326d133 Merge "QS: Fix accessibility announce for dual tiles" into lmp-dev 2014-09-19 17:19:40 +00:00
John Spurlock
71c8a70eff Merge "When dozing, re-enable falsing threshold and log events." into lmp-dev 2014-09-19 16:04:36 +00:00
John Spurlock
813552cc27 When dozing, re-enable falsing threshold and log events.
- Reactivate our configured keyguard falsing swipe threshold
  for secure keyguards, but only when dozing.
- Add DozeLog helper to capture/maintain interesting events
  about the doze + unlock process, enabled by default, but
  only on devices that start dozing at least once.
- Dump summary counts + logged events to dumpsys output.
- Pass notification pulse "instance" as an extra to the scheduled
  intent, so we can log accordingly.

Bug:17496795
Change-Id: I7e88f93bfc967bdc06550cf1fe5e74d535edd774
2014-09-19 11:47:30 -04:00
Baligh Uddin
585391803e Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-19 15:42:01 +00:00
Jason Monk
ec81d38d12 QS: Fix accessibility announce for dual tiles
Bug: 17512411
Change-Id: I3515804fce2742e9553d65dab9693ccc0b9f39cf
2014-09-19 09:52:47 -04:00
Winson Chung
56eef1c5c6 Merge "Try and bind search widget before initial calculations of transition rects. (Bug 17456094)" into lmp-dev 2014-09-18 23:50:38 +00:00
Winson Chung
f7dd908171 Merge "Handling broader set of exceptions when startingActivity from Recents. (Bug 17481968)" into lmp-dev 2014-09-18 23:50:32 +00:00
Winson Chung
3133616d92 Merge "Listening for widget changes while Recents is in the background. (Bug 17153663)" into lmp-dev 2014-09-18 22:45:26 +00:00
Adrian Roos
59b17d83eb Merge "Disable QS user switcher when not supported" into lmp-dev 2014-09-18 21:28:11 +00:00
Svetoslav
688a994f4d Merge "Print UI stuck when backing out of documents UI." into lmp-dev 2014-09-18 20:34:23 +00:00
Svetoslav
b75632c736 Print UI stuck when backing out of documents UI.
When user chooses to save to PDF we open the document chooser UI.
Now if the user now backs to the print UI without choosing a file,
the print UI has all options disabled and the back button does
not work - the user is stuck. This is because we were not
transitioning the print UI in the correct state.

bug:17557454

Change-Id: I385129e106ed41564b89137ca54d409127ba8ff0
2014-09-18 13:32:38 -07:00
Adrian Roos
81e3e941fb Disable QS user switcher when not supported
Bug: 17570310
Change-Id: Id32e076928c92c663645024f0d38b26ec4667b78
2014-09-18 21:11:20 +02:00
Winson Chung
bf5dbf1c15 Enabling recents stack clipping
The taskviews now avoid overdraw by clipping invisible
parts. Also adapted some timings of the animation.

Bug: 17455301
Change-Id: Ifbf7bab363e530cb2ad842baed50fc16dcfcc4c4
2014-09-18 18:34:17 +00:00
Jorim Jaggi
a8433c6512 Merge "Add option for recents to use fake shadows" into lmp-dev 2014-09-18 18:33:42 +00:00
Selim Cinek
9aefd41557 Merge "Removed round rect clipping and hardware layers from recents" into lmp-dev 2014-09-18 18:33:26 +00:00
Adrian Roos
595f6d912a Merge "Reinitialize emergency calls only view if configuration changes" into lmp-dev 2014-09-18 18:32:07 +00:00
Jason Monk
3ad242df72 Block QS in sec. users setup when simple
When simple user switcher is enabled block QS for secondary users
during setup.

Bug: 16782635
Change-Id: Ibc39c61675f8728d73a5f8ef04d0613ff36af909
2014-09-18 18:26:39 +00:00
Baligh Uddin
61e7929a70 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-18 18:10:15 +00:00
Baligh Uddin
6641c1051f Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-18 18:00:17 +00:00
Jason Monk
2bc75f0821 Merge "Fix crash from USER_PRESENT broadcast in sysui" into lmp-dev 2014-09-18 16:12:06 +00:00
Adrian Roos
72cc3702d2 Fix wrong face unlock size
Bug: 17533062
Change-Id: I532d7197fcd59baffd8f6c4e76a9fb8eda389eac
2014-09-18 17:25:09 +02:00
Jason Monk
cf5a9530f7 Fix crash from USER_PRESENT broadcast in sysui
Since sending the USER_PRESENT broadcast too early in the boot
process can result in a SecurityException, don't do auto-unlock
until after the boot has completed.

Bug: 17464800
Change-Id: Iee3d0b9723ed38abddf0bdde009f95331881008b
2014-09-18 11:02:19 -04:00
Adrian Roos
763546a15a Merge "Don't crash if a user can't be created" into lmp-dev 2014-09-18 12:47:45 +00:00
Jorim Jaggi
cb5570316d Add option for recents to use fake shadows
Bug: 17522143
Change-Id: I61fdecf8c5aa86b6dacd65ff8729590553d0854a
2014-09-18 14:26:52 +02:00
Selim Cinek
e8199c582d Removed round rect clipping and hardware layers from recents
This saves us a lot of memory and we avoid the clipToOutline.
The view still looks the same, as we now draw the thumbnail
in a rounded rect.
We now only use a hardware layer on the header, which is much
smaller.

Bug: 17522143
Change-Id: I197a1172efe8450ffb0b537c780a240d38f84275
2014-09-18 14:26:35 +02:00
Dan Sandler
1391d8a9b3 Merge "Living with the LLand." into lmp-dev 2014-09-18 11:34:18 +00:00
Dan Sandler
4455da985d Living with the LLand.
Bug: 15984887
Change-Id: I2a42a064587db3478d865348f860bda07217f7dd
2014-09-18 06:57:28 +00:00
Svetoslav
0d2d9637ed Page content sometimes missing in preview when scrolling.
Removed the restriction for the page content providers to
be singletons as the RecyclerView may hold on views with
providers and ask us to bind other views for the same page.
Note that the views that RecyclerView is holding will be
soon rebound or recycled just they are not at the time we
bind other views for the same position. We were guarding
against this but caused some pages not appearing sometimes
on scrolling. Also now keeping the media size and magins
of recycled page view (will be updated if needed on
rebinding) or avoid changes of the background to null as
setting it to not null later causes an undesired layout pass.

bug:17537922

Change-Id: If029f6c413e15d4f5c1ba1ac5e4d52ad2cad5904
2014-09-17 23:03:19 +00:00
Winson Chung
905950abd0 Listening for widget changes while Recents is in the background. (Bug 17153663)
Change-Id: Ibaff45e988deda21280b684757396a73bb3294c0
2014-09-17 23:25:39 +02:00
Svetoslav
a732950ade Merge "Page content sometimes disappears when scrolling a long doc in print preview." into lmp-dev 2014-09-17 18:52:19 +00:00
Svetoslav
7fd5ada98a Page content sometimes disappears when scrolling a long doc in print preview.
The operations of the remote renderer have to be performed in order, open,
render some pages, close. One of the tasks was executed on the wrong executor
resuling in a race and an occassional bad state.

Also fixed a NPE if the preview list is flinged and then the user presses
back.

bug:17537922

Change-Id: I5048078ba2b875a2a8335f3a4324afaa34d014a2
2014-09-17 11:11:08 -07:00
Adrian Roos
54f934cd0c Reinitialize emergency calls only view if configuration changes
Bug: 17420007
Change-Id: I2eec7a04e86e776aff5da3c059469dcdaa780445
2014-09-17 18:36:35 +02:00
Adrian Roos
f99727cb87 Don't crash if a user can't be created
Bug: 17543257
Change-Id: I3ef4ac1524a0e23b4ce1d77c4c05c97f061adc97
2014-09-17 16:19:18 +02:00
Christoph Studer
9077cbc30e Merge "SysUI: Add no-wallpaper recents theme for low GFX devices" into lmp-dev 2014-09-17 14:17:33 +00:00
Winson Chung
4e96eb709d Handling broader set of exceptions when startingActivity from Recents. (Bug 17481968)
Change-Id: Ia11e0f77e6c1f28f3d6946362d5a6333b57ac80e
2014-09-17 15:20:10 +02:00
Christoph Studer
37e4468be1 SysUI: Add no-wallpaper recents theme for low GFX devices
Also add a config flag to control the theme to apply to RecentsActivity.

Bug: 17522143
Change-Id: I8d03e84e37b77698243673f6c4e676b2c53e0d07
2014-09-17 13:28:46 +02:00
Baligh Uddin
4e3cffca11 Import translations. DO NOT MERGE
Change-Id: Iea95517012e1ac1c31a11f63c34f9f431118d2f3
Auto-generated-cl: translation import
2014-09-16 20:36:18 -07:00
John Spurlock
386831dc3c Merge "Zen: Fix recent regression in mode selection after reboot." into lmp-dev 2014-09-16 21:54:02 +00:00
John Spurlock
4291fb79c7 Zen: Fix recent regression in mode selection after reboot.
Bug:17509473
Change-Id: I761cd90384c490c7ab07fb633133535846701ce6
2014-09-16 17:02:23 -04:00
Baligh Uddin
8ccceec29c Import translations. DO NOT MERGE
Change-Id: Ie463ae1ff5e528f8076f2e3c6b49205264deff95
Auto-generated-cl: translation import
2014-09-16 13:56:42 -07:00
Svetoslav
e9f275d309 Merge "Print preview disappearing on screen off/on." into lmp-dev 2014-09-16 20:48:16 +00:00
Jeff Sharkey
47e3124da0 Merge "Always force list divider in DocumentsUI." into lmp-dev 2014-09-16 19:44:16 +00:00
Svetoslav
d724a40136 Print preview disappearing on screen off/on.
We were not clearing the tracked printer when the print activity is
paused and then not setting the tracked printer when the activity
is resumed.

bug:17525271

Change-Id: Ib0fb29006bfcf5ad03dce24b3407cd96dc421442
2014-09-16 11:53:19 -07:00
Svetoslav
b37b7ae137 Merge "Do not change fragments if print activity finishing." into lmp-dev 2014-09-16 18:47:45 +00:00
Jeff Sharkey
b1e71af498 Always force list divider in DocumentsUI.
DialogWhenLarge recently dropped the divider.

Bug: 17523958
Change-Id: I7ee3ce6853c01dbd3da6fc3e79ef02681b53df4c
2014-09-16 11:40:03 -07:00
Jorim Jaggi
e571ed0668 Merge "Use RenderThread for navigation bar ripples" into lmp-dev 2014-09-16 17:53:27 +00:00
Jorim Jaggi
072707dfad Use RenderThread for navigation bar ripples
Bug: 17506181
Change-Id: Icf3b80f8c4bc29fe85313381d4019dda3ef85ea9
2014-09-16 17:51:55 +00:00
Svetoslav
23d3361e17 Do not change fragments if print activity finishing.
It is possible that we try to switch framents after the print
activity finish method is called. In this state the activity
is going away and trying to perform a fragment operation throws.
Now if we are finishing no fragment opration is performed.

bug:17520007

Change-Id: I0dd935d3cdaeddca31fccf49bd5de97e878abb9d
2014-09-16 10:50:55 -07:00
PauloftheWest
1dd9048b3f Merge "Fixed an RTL overlapping issue in volume settings." into lmp-dev 2014-09-16 17:49:40 +00:00