4403 Commits

Author SHA1 Message Date
Jorim Jaggi
e84d544fe4 Merge "Move redaction logic showing from Keyguard to PhoneStatusBar." 2014-04-23 16:24:04 +00:00
Selim Cinek
b6e0e1228b Fixed a bug where holes could occur in the new shade.
When a notification was never layouted before and it was the first
child, holes could occur in the shade when dragging down, because its
maximum allowed height was wrongly calculated.

Bug: 14080722
Change-Id: Ia10f9dd95f917d492411aec1da4ae0fc4d8f33d5
2014-04-23 17:50:48 +02:00
Jorim Jaggi
1568250853 Move redaction logic showing from Keyguard to PhoneStatusBar.
This removes a race condition and makes redaction more stable.

Change-Id: I4084cdf490c0e52fe26f45cb00524e0876a068bc
2014-04-23 17:02:25 +02:00
Dan Sandler
c3be450648 Merge "Avoid sending broadcasts before BOOT_COMPLETED." 2014-04-22 18:51:43 +00:00
John Spurlock
9a722ebc32 Merge "Apply insets manually in StatusBarWindowView." 2014-04-22 17:22:26 +00:00
Jorim Jaggi
c0e4567560 Merge "Hide navigation bar on Keyguard." 2014-04-22 17:04:29 +00:00
John Spurlock
fba9120ce1 Apply insets manually in StatusBarWindowView.
Bug:14131489
Change-Id: Ie4be2185cae98764ea44b2e042210f13412a02aa
2014-04-22 12:58:26 -04:00
Jorim Jaggi
a6310293c5 Hide navigation bar on Keyguard.
This also moves the camera affordance from navbar to the navigation
panel, so it is still visible on the Keyguard.

Bug: 14086354
Bug: 14085922
Bug: 14110532
Bug: 14059294
Change-Id: I93b51381915a67c688cdffd055fd149f2a220b00
2014-04-22 16:56:26 +00:00
Dan Sandler
dc5f16bf09 Avoid sending broadcasts before BOOT_COMPLETED.
SystemUI instances can now take advantage of a new lifecycle
callback, onBootCompleted(), to avoid jumping the gun.

Bug: 14092537
Change-Id: I3f7db7a4753f874c4d75235f263c2bd374debec4
2014-04-22 11:51:42 -04:00
Selim Cinek
a8fb4a2d00 Merge "Avoiding intermediate states in NotificationStackScroller" 2014-04-22 15:15:05 +00:00
John Spurlock
860107a2cc Merge "Do not disturb: persist user config." 2014-04-22 15:03:08 +00:00
John Spurlock
056c519df1 Do not disturb: persist user config.
Load and store user configuration for do not disturb.  Separate
out service-related aspects into new helper.  Make config availble
over NoMan for settings.

Implement phone + message based filtering (package whitelist for now).

Implement automatic enter/exit zen mode overnight scheduler.

Bug:14211946
Change-Id: Ib28aab0e4c5c9a5fd0b950b2884b1ab618fdfeca
2014-04-22 11:01:24 -04:00
Selim Cinek
343e6e258a Avoiding intermediate states in NotificationStackScroller
The StackScrollAlgorithm was modified such that the notifications
now don't layout anymore during scrolling and therefore
intermediate states are avoided except for the first card.
Also made the top stack a bit smaller and fixed a bug where the
scrolling was not working on the very first try.

Bug: 14080821
Bug: 14081652
Change-Id: I924a9f8532486856fc2ecd88f6c10d26023a5bc3
2014-04-22 17:00:05 +02:00
Ji-Hwan Lee
ab47ff18c4 Merge "Add config resource for disabling KeyguardService" 2014-04-22 14:14:21 +00:00
Ji-Hwan Lee
25eb3d0ce4 Add config resource for disabling KeyguardService
Bug: 14102545
Change-Id: I0c7936e16a8bda98e49e6a2c396117d7a8fd5664
2014-04-22 12:39:26 +09:00
Winson Chung
6513f35cbb Merge "Fixing transition from tasks excluded from Recents into Recents." 2014-04-22 00:33:37 +00:00
Winson Chung
cdc3a47d4f Merge "Overriding application icon with activity icon where available." 2014-04-21 22:05:20 +00:00
Winson Chung
f9f2314aa4 Enabling doc centric recents on phones.
Change-Id: If853cdcbf3fc75001060e522bce2e0d49d2ddea3
2014-04-21 14:47:21 -07:00
Winson Chung
11e41baac6 Overriding application icon with activity icon where available.
Change-Id: I03ee8f806b3853183db7f96e71f1684c72b79c57
2014-04-21 12:40:52 -07:00
Winson Chung
deb1f268b7 Merge "Initial changes to add search bar." 2014-04-21 19:26:09 +00:00
Winson Chung
9520d1abd4 Fixing transition from tasks excluded from Recents into Recents.
Change-Id: I04efdd65bcda4d0111888a1c5651d1ec9b0c98b0
2014-04-21 11:30:56 -07:00
Dan Sandler
9ee256d252 Avoid NPE when mRoot is null.
Bug: 14162288
Change-Id: I36793d706ab1d29576f536562a0c06f7805a0d50
2014-04-21 17:34:49 +00:00
John Spurlock
0666199303 Merge "Quick settings bug fixes." 2014-04-21 15:56:25 +00:00
John Spurlock
f0b06c7738 Quick settings bug fixes.
- Fix issue where notifications were positioned offscreen after
   quick screen toggle.
 - Better QS scrim hiding, use existing layout transition.
 - Don't allow a reposition if the settings animation is currently
   running.
 - Delay chevron animation during toggle to avoid drawing over each
   other.
 - Keep the screen on while the user is poking around with QS on
   the keyguard.
 - Cap the QS expansion to the bottom of the status view on keyguard.

Change-Id: Ib63874d0c6a33db81923080f25cb8f208e614faf
2014-04-21 07:16:40 -04:00
John Spurlock
507288322b Remove obsolete settings panel artifacts.
I don't always have quick settings.  But when I do,
they live in a flip view, not a separate panel.

Bug:14133785
Change-Id: I3df11d7de308a36a800eb7582a71e3febc897fec
2014-04-21 07:16:15 -04:00
John Spurlock
cbdf956b42 Merge "Revert "Fix broken status bar when activity is showing above keyguard"" 2014-04-18 00:13:56 +00:00
John Spurlock
2e50f28f41 Revert "Fix broken status bar when activity is showing above keyguard"
This reverts commit 25ab3d94387597a24619723df687214320f17e76.

Change-Id: I7dba397a9fe09d70b87ff4e638805c010c192599
2014-04-17 23:45:50 +00:00
Jorim Jaggi
56d46cc95f Merge "Fix global screen rotation issue." 2014-04-17 19:08:37 +00:00
Jorim Jaggi
ca36cf7bca Fix global screen rotation issue.
Bug: 14080683
Change-Id: I0144faafa0e01c14c8c8e6a6c9fc81a10d25f47d
2014-04-17 20:49:30 +02:00
Winson Chung
ecd9b3031c Initial changes to add search bar.
- Scaling touch overscroll

Change-Id: Iee0523ca32efaae3491cbf5dbf3ea2e388f9d644
2014-04-17 10:52:34 -07:00
Baligh Uddin
48bd1b195f Merge "Import translations. DO NOT MERGE" 2014-04-17 15:48:29 +00:00
John Spurlock
9b5d028c69 Merge "Interim quick settings update." 2014-04-17 14:38:05 +00:00
John Spurlock
73203ebf97 Interim quick settings update.
Make existing QS panel available via pulldown from header
(or keyguard status view on keyguard), update the affordances
as a hint.

Don't allow QS to scroll, cap to max rows.

Add scrim over panel to indicate that this is purely temporary.

Bug:14081801
Bug:14059974
Change-Id: I166033975cbc44b91f45ee70ea5c7540390670dd
2014-04-17 10:26:45 -04:00
Adrian Roos
379ac2d8b6 Merge "Fix broken status bar when activity is showing above keyguard" 2014-04-17 13:54:57 +00:00
Adrian Roos
25ab3d9438 Fix broken status bar when activity is showing above keyguard
Bug: 14077213
Change-Id: I5d45fd1780498983995a469d0799e024ca25f3c7
2014-04-17 15:46:41 +02:00
Adrian Roos
c8ba7d3f87 Make camera affordance fly away
Stop gap measure to differenciate the accepted vs rejected
response of the camera affordance on the lockscreen.

Bug: 14081010
Change-Id: I04d170aa3f07ce5f440fb1d27f7c62ef2a903a03
2014-04-17 15:09:41 +02:00
Baligh Uddin
d247670d6a Import translations. DO NOT MERGE
Change-Id: Ic128b66fb70754adff7faa7f505f907dea499a68
Auto-generated-cl: translation import
2014-04-16 15:13:43 -07:00
Jorim Jaggi
e731a4ed3a Merge "Make MENU key work again to dismiss insecure Keyguard." 2014-04-16 21:55:56 +00:00
Jorim Jaggi
e0fa592afc Merge "Show enter PIN/PUK before notifications on Keyguard." 2014-04-16 21:55:41 +00:00
Dan Sandler
a46ceb5881 Merge "Fix NPE if showKeyguard() is not called before hideKeyguard()." 2014-04-16 20:32:58 +00:00
Dan Sandler
63e40170f8 Fix NPE if showKeyguard() is not called before hideKeyguard().
Bug: 14112212
Change-Id: Iced1085cf7be8d827cf7e34efe603a399f456c1b
2014-04-16 16:22:56 -04:00
Jorim Jaggi
8c8bcc160a Make MENU key work again to dismiss insecure Keyguard.
Bug: 14110426
Change-Id: Iab8ec9633a2169e6def13a0c6e09b77543adbb41
2014-04-16 21:36:51 +02:00
Jorim Jaggi
a005f1b685 Show enter PIN/PUK before notifications on Keyguard.
Change-Id: Icec12a43487fe76378e10bb8aaaa163c53b69075
2014-04-16 21:15:59 +02:00
Christoph Studer
97096fd0e6 Merge "Write eventlog entries for notification visibility" 2014-04-16 15:49:54 +00:00
Baligh Uddin
cf8aed657b Merge "Import translations. DO NOT MERGE" 2014-04-16 15:26:20 +00:00
Christoph Studer
92b389da2a Write eventlog entries for notification visibility
Keep track of notifications shown in the notification panel
and log them via eventlog.

Added the following eventlog tag:
  * notification_visibility_changed

Bug: 13442201
Change-Id: Ifb74ec2492967dc787b4de86db7d7f00be6c7f74
2014-04-16 17:07:49 +02:00
John Spurlock
14a6d6826c Merge "Migrate away from @hidden onViewAdded." 2014-04-15 16:44:01 +00:00
John Spurlock
584caa5fab Migrate away from @hidden onViewAdded.
Change-Id: Id8c1c05a2fdeb0776a3d70e67990da1e8e93b18a
2014-04-15 12:40:13 -04:00
Jorim Jaggi
c5dc0d0cce Zoom notifications on lockscreen after tapping.
For the double tap interaction, this change introduces a new cue
that the notifications must be double-tapped: With the first tap,
the tapped notifications gets larger and the others fade out a bit.

Change-Id: Ib48ff0291aee1a5ec083b9e7ed1021bc420514cf
2014-04-15 17:04:49 +02:00
Jorim Jaggi
4673985b75 Set background of legacy custom notifications views to dark.
Change-Id: Ifa0c68386eb84b2a83e4e88efda32ad75f28ea77
2014-04-15 09:58:24 +02:00