10743 Commits

Author SHA1 Message Date
John Spurlock
101b785d42 Merge "Doze: Fix NPE found when pulsing and !dozing." into lmp-dev 2014-09-22 19:35:55 +00:00
John Spurlock
b9e9729887 Merge "Zen: Add content description to settings icon." into lmp-dev 2014-09-22 19:35:12 +00:00
John Spurlock
58a28eb85e Doze: Fix NPE found when pulsing and !dozing.
Bug:17390492
Change-Id: Id6665c5bb8fa13ee08f68478c601b77a4f9e3f6a
2014-09-22 15:20:52 -04:00
John Spurlock
b753372da6 Zen: Add content description to settings icon.
Bug:17578039
Change-Id: I6c513200b2ac1d6abd6da0dd7412500a12fded28
2014-09-22 15:14:48 -04:00
Jason Monk
6783bef9b9 Fix accessibility announcement for QS details
Rather than using announceForAccessibility, which will provide the
wrong experience for Braille users, send a
AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED.

Bug: 17578404
Change-Id: I3e2c465511cf2135f216d01d29319a057ebbfbda
2014-09-22 13:50:05 -04:00
Adrian Roos
38fc7606b1 Ensure that force lock works with accessibility enabled
Fixes a bug where the force lock gesture was not available
when an accessibility service was active, but touch exploration
wasn't.

Bug: 17514298
Change-Id: Ib42e28f643559040ad5f24d45456b0a41008c647
2014-09-22 17:34:56 +02:00
Jason Monk
fdb35f0526 Merge "Announce title of QS detail views" into lmp-dev 2014-09-22 15:33:06 +00:00
Jason Monk
7eb6202fee Fix status bar cast icon not updating
Change the listening in CastControllerImpl so that it will always
at least passive discovery when callbacks are added.  When discovering
is set this will switch to request discovery.  This allows the
status bar to catch disconnect callbacks when QS is not discovering.

Bug: 17555869
Change-Id: Id2a80b98f6c7ca7e6a4d0ff00315d10a109e8259
2014-09-22 10:53:50 -04:00
Jason Monk
8051316273 Announce title of QS detail views
When entering a QS detail view announce the title of the view for
accessibility.

Bug: 17578404
Change-Id: I4cfd1bc85604af822b4f5fce852b39687f71cbae
2014-09-22 10:21:01 -04:00
John Spurlock
cf5d3c98d1 Doze: Ensure a doze reset happens after leaving keyguard.
Bug:17536133
Change-Id: Ibc88a7f2c1a51656676fe62d4de8ab3ec4dd4081
2014-09-21 18:00:01 -04:00
Baligh Uddin
33d34b89d1 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-21 18:07:51 +00:00
Baligh Uddin
a9e651b6ba Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-21 17:52:19 +00:00
Baligh Uddin
43c9e64b9a Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-21 17:51:34 +00:00
John Spurlock
8fefb4281a Merge "Mark sysui config resource as untranslatable." into lmp-dev 2014-09-21 16:57:55 +00:00
Baligh Uddin
b1b8fa00de Import translations. DO NOT MERGE
Change-Id: If5c2ca9461d0d7846374fda66e3d091dfa8f05e7
Auto-generated-cl: translation import
2014-09-20 23:10:32 -07:00
Baligh Uddin
615bd17249 Import translations. DO NOT MERGE
Change-Id: I63ca0e486e5e1ad3c2a0b654ce5be5b1789d11b1
Auto-generated-cl: translation import
2014-09-20 16:09:28 -07:00
Baligh Uddin
78ec95e714 Import translations. DO NOT MERGE
Change-Id: Ib08e8991a092d8404352d9709d837be2eb392b55
Auto-generated-cl: translation import
2014-09-20 12:56:55 -07:00
Jeff Brown
7858a1b5d8 Merge "Fix order of operations while pulsing the ambient display." into lmp-dev 2014-09-20 01:09:10 +00:00
John Spurlock
6035834cdd Mark sysui config resource as untranslatable.
Bug:17523754
Change-Id: I8917c110acc02c501e4dc011de4e6e7f8a0545c5
2014-09-19 20:48:24 -04:00
Christopher Tate
4c45b649c3 Merge "Always give wifi a chance to quiet down during restore" into lmp-dev 2014-09-20 00:25:12 +00:00
Christopher Tate
7274444b6e Always give wifi a chance to quiet down during restore
Not just when the current scan-always setting is on.

Bug 17571997

Change-Id: Idc56c9682c18f5e23c0bde98736522a79583af5e
2014-09-19 17:03:59 -07:00
Svetoslav
451bf37362 Merge "Fix a print spooler crash when printing." into lmp-dev 2014-09-19 21:41:12 +00:00
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
Jeff Brown
4d69e22193 Fix order of operations while pulsing the ambient display.
This change fixes several issues in how the display's power state
was coordinated to ensure that the display is not turned on until
the pulse is ready to be shown.  It also greatly simplifies the
wakelock logic and makes it completely deterministic instead of
relying on timed delays.

Bug: 17516245
Change-Id: If2b96845a010f2d05c610970257d898f32ccacb7
2014-09-19 13:14:28 -07:00
Selim Cinek
a0fad3ba06 Optimized and improved the status bar performance a lot
Instead of clearing the Statusbarwindow buffer in the beginning
we now draw the scrim with mode SRC and therefore a whole screen
of overdraw is saved!

Bug: 17287256
Change-Id: I29f14a2c3d4cb087c422ae6f486d23d7f8ec173b
2014-09-19 18:25:56 +00: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
Christoph Studer
b5245d8904 SysUI: Correctly compare MediaControllers
Instead of comparing MediaControllers via reference equality
(which is never true), go deeper and check whether the two
controllers are connected to the same IBinder.

Bug: 17571414
Change-Id: Id25d70be0a60d1900e977310dedcc7063552e018
2014-09-19 16:55:45 +02: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