4153 Commits

Author SHA1 Message Date
Jorim Jaggi
b514013083 Merge "Revert "Add massive logging to investigate blank Keyguard"" into lmp-dev 2014-09-29 16:31:55 +00:00
John Spurlock
e5238f7a8d Merge "DozeLog: Keep keyguard monitor alive, keep emer call stats." into lmp-dev 2014-09-29 16:28:52 +00:00
John Spurlock
bee3b0a023 DozeLog: Keep keyguard monitor alive, keep emer call stats.
Ensure the existing keyguard callback survives weak reference
collection, and add missing emergency call stats append.

Bug:17496795
Change-Id: Iecec4646562cf1f6edb5bc5972767127f4419035
2014-09-29 11:30:12 -04:00
Jorim Jaggi
8a63806a8d Revert "Add massive logging to investigate blank Keyguard"
This reverts commit 10ead64346b2651be144ac591117cc2413d8caa3.

Bug: 17475334
Change-Id: Ie7103a2ede1f00a91a2afc51d9e6ecf5ae569545
2014-09-29 16:24:55 +02:00
Jorim Jaggi
79107083ca Merge "Add option to enable scrim SRC optimization" into lmp-dev 2014-09-29 13:44:07 +00:00
Jorim Jaggi
e2ff1a4edb Merge "Fix overdraw" into lmp-dev 2014-09-29 13:43:20 +00:00
Selim Cinek
311fc0b399 Fixed a crash that could occur in the ObservableScrollView
Bug: 17644848
Change-Id: I771c27f9fee8c0d5edfbd21998ea015fd1d6f685
2014-09-29 12:21:48 +00:00
Jorim Jaggi
0e66439387 Add option to enable scrim SRC optimization
It turns out that the optimization to disable glClear + draw scrim
with SRC is not good for all devices, so this CL adds a config flag
to revert to the old behavior.

Bug: 17673806
Change-Id: Ic4e0177f2d6fcf4448755d0be66e8fbef2d15ab5
2014-09-28 20:16:53 +00:00
Jorim Jaggi
2bc5406d7a Fix overdraw
Bug: 17673806
Change-Id: Ia34602122a47e5ffc69dce3580cfab52bc9f535f
2014-09-28 20:15:36 +00:00
John Spurlock
245bd4ec8a Merge "Avoid dozing in car mode." into lmp-dev 2014-09-26 20:09:58 +00:00
John Spurlock
bd721cafc4 Merge "Touch-exploration improvements to volume dialog." into lmp-dev 2014-09-26 19:58:45 +00:00
John Spurlock
a0457c2e92 Touch-exploration improvements to volume dialog.
- Extend the dismiss timeout when interacting with various
   subcontrols.
 - Ensure "hover" events in touch exploration extend the timeout
   in addition to touch events.
 - Introduce new helper to standardize interaction callbacks.
 - Announce zen toasts.
 - Announce zen condition selections, and when existing countdown
   conditions are modified.

Bug:17578434
Change-Id: I8a055b3455aa8d20ba93439bdec6cc75db97800e
2014-09-26 14:17:09 -04:00
Jorim Jaggi
e51b21a81e Merge "Don't preload task description icons when opening recents" into lmp-dev 2014-09-26 17:57:05 +00:00
Selim Cinek
1fdd65e204 Fixed a bug where the QS could get stuck
Bug: 17655858
Change-Id: I099b07504617670101b10bcbaf9fcb42cee23a1c
2014-09-26 19:05:50 +02:00
Jorim Jaggi
bdd4b201e4 Don't preload task description icons when opening recents
Bug: 17624331
Change-Id: I55a1184efd5982122f87fab99a5402336b380d7c
2014-09-26 19:00:05 +02:00
Selim Cinek
f4d7fc3687 Fixed a crash with disapearing views
Bug: 17660994
Change-Id: Id957bc65f0787860019c491559c4bca242ea620e
2014-09-26 17:15:34 +02:00
Selim Cinek
34cf5c4bfc Increased the falsing threshold when woken up by touch
Bug: 17649103
Change-Id: Iea4736a761a1108e7832aa62cc2060ea0bd89376
2014-09-26 16:31:57 +02:00
John Spurlock
870f153583 Avoid dozing in car mode.
Ensure we do not begin dozing in car mode, and end dozing when
entering car mode.

Bug:17658724
Change-Id: I572b0d6163d2ece3b93d86981fd6cad832f96b99
2014-09-25 22:08:18 -04:00
Amith Yamasani
91dcf1f93c Merge "Fix GPS icon not showing for secondary users" into lmp-dev 2014-09-25 19:18:24 +00:00
John Spurlock
27c7b9295d Supertoast when user changes zen mode.
If the user selects a new zen mode, display a quick toast
with the mode icon + text to aid in association.

Also fix a recent regression in the zen subhead alignment.

Bug:16215680
Bug:17641211
Change-Id: I4ead88d81be4d9c26459aed82c47b8c2fb32eafa
2014-09-25 15:04:32 -04:00
Amith Yamasani
84949f5c4b Fix GPS icon not showing for secondary users
Watch for high power usage broadcasts from all users in the statusbar.

Bug: 17647654
Change-Id: I2c6c5a218d38438415a450cfa2f9328763af3f50
2014-09-24 17:46:19 -07:00
Adrian Roos
895db8525b Merge "Fix ColorInversionTile for secondary users" into lmp-dev 2014-09-24 16:46:21 +00:00
Adrian Roos
32d88e8ead Fix ColorInversionTile for secondary users
Bug: 17626692
Change-Id: I40354a460a7c00f6fd5eb05f7836dc89129fdacb
2014-09-24 17:08:22 +02:00
Jason Monk
8681c044be Merge "Fix accessibility announcement for QS details" into lmp-dev 2014-09-24 14:50:04 +00:00
Selim Cinek
59ca78c937 Merge "Enforcing falsing-threshold on touch when using AoD" into lmp-dev 2014-09-23 19:28:13 +00:00
Selim Cinek
29ed3c92ef Enforcing falsing-threshold on touch when using AoD
Also increased the threshold by a factor of 1.5 if
we are waking up due to a touch.

Bug: 17350239
Change-Id: Ida8bad234b3815abf80ca57f8004f3bc5df003cd
2014-09-23 20:44:35 +02:00
Christoph Studer
231dc0a6d2 Merge "SysUI: Correctly compare MediaControllers" into lmp-dev 2014-09-23 17:03:48 +00:00
Jeff Brown
510e8cdc8d Merge "Ensure wakelock is released unconditionally." into lmp-dev 2014-09-23 16:39:40 +00:00
Jeff Brown
a273924b8c Ensure wakelock is released unconditionally.
Bug: 17610254
Change-Id: I8b846c867edaa5038e34d4c857550735b121a1d9
2014-09-23 09:38:04 -07:00
Selim Cinek
0eba4e279f Merge "Fixed a bug where the alarm could overlap in QS" into lmp-dev 2014-09-23 14:25:09 +00:00
Adrian Roos
6ec76b0ff9 Merge "Ensure that force lock works with accessibility enabled" into lmp-dev 2014-09-23 13:48:42 +00:00
Selim Cinek
ba5b3a0b4e Fixed a bug where the alarm could overlap in QS
When closing the QS panel the alarm did the normal
transformation, regardless whether we were in a
detail state. This lead to the alarm overlapping
with the title.

Bug: 17581501
Change-Id: I0318f6778063af11f388e6c7fe8bbb30105ca246
2014-09-23 15:39:54 +02:00
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
58a28eb85e Doze: Fix NPE found when pulsing and !dozing.
Bug:17390492
Change-Id: Id6665c5bb8fa13ee08f68478c601b77a4f9e3f6a
2014-09-22 15:20:52 -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
Jeff Brown
7858a1b5d8 Merge "Fix order of operations while pulsing the ambient display." into lmp-dev 2014-09-20 01:09:10 +00: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
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
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