4143 Commits

Author SHA1 Message Date
John Spurlock
ab1eea5464 am f96b6c42: Merge "Zen Mode QS tweaks."
* commit 'f96b6c427fc8c3593de3edc1c857b27ed7810f4c':
  Zen Mode QS tweaks.
2014-04-01 20:45:27 +00:00
John Spurlock
1bdb48e31a Zen Mode QS tweaks.
- Move settings button to the bottom.
 - Align title left.
 - Fix padding.
 - Auto-activate on dialog launch.

Bug:13670014
Change-Id: I5a88e97a84b66bf6200473c147b71cc7ceeb0b95
2014-04-01 16:38:05 -04:00
Paul Lawrence
d2cf756996 am df42723d: Merge "Don\'t double prompt on booting encrypted device"
* commit 'df42723d6b717fd2882c98c930a0f93c75af2474':
  Don't double prompt on booting encrypted device
2014-04-01 15:12:17 +00:00
Jorim Jaggi
e111c73205 Add missing permission to SystemUI package.
Bug: 13635952
Change-Id: I09f7533e59d39b1653a44552fcbe05b0dbde828a
2014-03-31 22:50:13 +02:00
Jorim Jaggi
8533b95b4c Merge "Switch to KeyguardHostView to reenable clock and multi user switch." into master-lockscreen-dev 2014-03-31 19:45:11 +00:00
Adrian Roos
78d9aece82 am 46842d94: Make Keyguard trust aware
* commit '46842d946d1777c22f05e6bb96933c1b5cbd00d4':
  Make Keyguard trust aware
2014-03-31 19:26:14 +00:00
Jorim Jaggi
13b67a9cd5 Switch to KeyguardHostView to reenable clock and multi user switch.
Bug: 13635952
Change-Id: I8996dd55be220637bc028cfedc62583850a538a2
2014-03-31 21:14:38 +02:00
Jorim Jaggi
d529e294ae Merge "Reuse KeyguardViewMediator for new Keyguard implementation." into master-lockscreen-dev 2014-03-31 19:11:32 +00:00
Chris Wren
bf430edf3e am e1791add: Merge "add a null check around scrollAdapter access"
* commit 'e1791add1a19f1860084889188168ca32fdf3924':
  add a null check around scrollAdapter access
2014-03-31 18:59:03 +00:00
Jorim Jaggi
5cf17879a3 Reuse KeyguardViewMediator for new Keyguard implementation.
This change reuses KeyguardViewMediator for the new Keyguard
implementation in status bar. KeyguardViewManager is replaced by
StatusBarKeyguardManager which handles adding the view, setting the
state etc. StatusBarWindowManager is introduced to managed the window
of the status bar, which has the logic of both the old Keyguard window
and the old status bar window. In the current implementation, Keyguard
gets displayed like it would be in the bouncer state, but that's likely
to change in the future. Also, setHidden in IKeyguardService is also
renamed to setOccluded, as the word hidden interferes with the
terminology when dismissing the Keyguard.

Bug: 13635952
Change-Id: I1c5d5a49d810d8532089f464cb2efe35e577f517
2014-03-31 20:58:31 +02:00
Chris Wren
de3b1a2b2d add a null check around scrollAdapter access
Bug: 13727213
Change-Id: Ia92c06b66fc4712a758bf813c30f543b08546a80
2014-03-31 14:47:59 -04:00
Jorim Jaggi
8ae65aecc8 Address comments for I059d80d8b9b9818a778ab685f4672ea2694def63
Bug: 13635952
Change-Id: I5d2bd44b3588621f26d94baab161e4e2444197a8
2014-03-31 12:15:18 +00:00
Jorim Jaggi
380ecb81db Make Keyguard a library and make StatusBar the new Keyguard.
This change achieves a couple of things:
- Let Keyguard be a library, so we can use it in SystemUI.
- Introduce FLAG_KEYGUARD for windows and deprecate TYPE_KEYGUARD. Make
all the TYPE_KEYGUARD behaviour dependant on the flag.
- Implement a new KeyguardService in SystemUI, and bind that service
from PhoneWindowManager.
- Introduce BaseStatusBar.setKeyguardState and inflate
KeyguardSimpleHostView there and use FLAG_KEYGUARD for the window, such
that the status bar window essentially gets the Keyguard.

Bug: 13635952
Change-Id: I059d80d8b9b9818a778ab685f4672ea2694def63
2014-03-28 22:35:03 +01:00
John Spurlock
0e14f2d455 Merge "Remove obsolete MultiWaveView" 2014-03-28 13:11:09 +00:00
Selim Cinek
ba6ae57f64 Merge "Improved expansion logic of NotificationStackScroller" 2014-03-28 12:19:01 +00:00
Selim Cinek
fab078b01f Improved expansion logic of NotificationStackScroller
Expansion of a notification with a single finger is now possible
if the NotificationStackScroller has not started scrolling yet.

Change-Id: I96b622632b448915526dd08cc2e4771d404b096f
2014-03-28 12:00:55 +00:00
Baligh Uddin
70039b67a5 Merge "Import translations. DO NOT MERGE" 2014-03-27 21:43:30 +00:00
Selim Cinek
80a14e5d1b Improved integration of NotificationStackScroller
Quicksettings and clear all buttons now work correctly with
NotificationStackScroller but visuals are still tbd

Change-Id: Ia8a0895f66e0b682f39ac62d92c6b6cfccce2ee2
2014-03-27 18:18:49 +01:00
Selim Cinek
ddaba4360b Merge "Initial implementation of NotificationStackScroller" 2014-03-27 14:28:56 +00:00
Jorim Jaggi
73581effb0 Merge "Move legacy notification processing to Notification.Builder" 2014-03-27 14:25:17 +00:00
Selim Cinek
67b2260093 Initial implementation of NotificationStackScroller
Change-Id: Ida9a90ca4c9645166794afea8cf0c1d1b7afe1b4
2014-03-27 14:56:07 +01:00
Jorim Jaggi
5c2d84675b Move legacy notification processing to Notification.Builder
Bug: 13485610
Change-Id: I5466d3dbc328c77876dc701c17e7a5a06777dbbe
2014-03-27 12:08:55 +01:00
John Spurlock
4f0db5e23a Remove obsolete MultiWaveView
Change-Id: Ic878221c873d29577928aed2669f967851307e4d
2014-03-26 21:52:03 -04:00
Baligh Uddin
2ab8525654 Import translations. DO NOT MERGE
Change-Id: I2a3bcccf660a5a5247b3f54a8a3783ddeae7ccfa
Auto-generated-cl: translation import
2014-03-26 11:50:47 -07:00
John Spurlock
1dd9c53a40 Merge "Zen mode updates." 2014-03-26 17:44:16 +00:00
John Spurlock
eeb397b77f Zen mode updates.
- Now only two modes, no more ZEN_MODE_FULL.
 - Alarms are allowed by default.
 - Interstitial dialog cleanup to follow current UX.

Change-Id: I8e4c8f64854dabfef69ad33b3eb35bee07e55ef7
2014-03-26 13:41:54 -04:00
Chris Wren
4c31999282 Merge "always clear the HeadsUpDecayTimer" 2014-03-26 17:09:55 +00:00
Chris Wren
7fd2a3bf6a always clear the HeadsUpDecayTimer
for non-clearable heads up notifications,
a decay timer may be left in the queue

Bug: 13652819
Change-Id: I533db43484731922790f8501250b5a1ca7d4ba0b
2014-03-26 13:09:18 -04:00
Dan Sandler
59f0258a27 Categorize some system notifications.
Change-Id: Ia343bc276f50f488e2165056cff249a02f01d45a
2014-03-26 01:31:04 +00:00
Baligh Uddin
20de38b9ab Merge "Import translations. DO NOT MERGE" 2014-03-25 18:56:23 +00:00
Winson Chung
c9b0d58207 Merge "Fixing issue where we were relaunching each activity from recents instead of bringing them to the front." 2014-03-25 00:24:14 +00:00
Winson Chung
4be0445c66 Fixing issue where we were relaunching each activity from recents instead of bringing them to the front. 2014-03-24 17:22:30 -07:00
Winson Chung
75c549c537 Merge "Moving task view layout into resource." 2014-03-24 23:03:37 +00:00
Winson Chung
37c8d8ef85 Moving task view layout into resource.
- Using new activity icon/labels

Change-Id: If27bf60d2df75813213e9f3095baeb03085da8f7
2014-03-24 15:55:39 -07:00
Chris Wren
8ed3b587f0 Merge "add more dump info for heads up notifications" 2014-03-24 18:57:06 +00:00
Baligh Uddin
ce5ff4b193 Import translations. DO NOT MERGE
Change-Id: I3ac485cae338d17582e3570775d6121f368ecb8a
Auto-generated-cl: translation import
2014-03-24 10:32:44 -07:00
Winson Chung
e9c77aee60 Merge "Fixing crash with multiple touch pointers" 2014-03-21 23:03:16 +00:00
Winson Chung
4c71aefcbd Fixing crash with multiple touch pointers
- Adding support for force-reloading certain thumbnails (in prep for fix to Bug. 13587139)
- Use withLayer and withEndAction on ViewPropertyAnimator animations
- Ensuring that we close the notifications panel when we toggle recents

Change-Id: Ied2d841de42046fcb09fffb615156b07b4a67136
2014-03-21 16:00:18 -07:00
John Spurlock
3daafcd7ba Merge "Annotate framework vibrate calls with stream hints." 2014-03-21 19:51:44 +00:00
Chris Wren
5d9b153db3 lower the heads up threshold to exactly PRIORITY_HIGH
Bug: 13452562
Change-Id: I945ce22fa7253ff84fcc3d72f4cb732921ba3489
2014-03-21 15:08:42 -04:00
John Spurlock
824ad0e6f9 Merge "Unhide notification category." 2014-03-21 14:26:55 +00:00
John Spurlock
fd7f1e0039 Unhide notification category.
Rename @hidden Notification.kind -> category, and flesh out
shared values.  Now a single value.

Update framework references, remove unused SystemUpdateService
magic value unused since 2012.

Change-Id: If06d19ff3a8c3125fca1457f5d3c665e2939c66c
2014-03-21 09:25:00 -04:00
John Spurlock
f9e1a0b369 Annotate framework vibrate calls with stream hints.
Migrate existing framework usages of Vibrator.vibrate to use
the new overload with an explicit stream hint.  This prevents
them from being blocked by rules targeting the unspecified stream.

For calls that pass the existing appops check in VibrateService,
pass streamHint down to the input device vibrator so we don't lose
the signal, but leave it up to InputManager to decide what to do
with it - currently unused.

Change-Id: I65c944e4010edea29a412bf57d8d7d3b8098b746
2014-03-21 08:57:53 -04:00
Winson Chung
dd1b145158 Merge "Catching case where the activity we are launching from Recents no longer exists." 2014-03-21 01:14:07 +00:00
Winson Chung
c620bafde8 Catching case where the activity we are launching from Recents no longer exists.
- Also bounding the launch task rect to prevent transitions from far far away when launching a task
2014-03-20 18:12:37 -07:00
Baligh Uddin
f1bf634804 Import translations. DO NOT MERGE
Change-Id: Iecc45fe69925b925ccae978a5848b082896db62c
Auto-generated-cl: translation import
2014-03-19 10:29:37 -07:00
Jeff Brown
beb2fc9b71 am f9c69fc8: am 322dc212: am 1eac8391: am c9a7eeba: am 4cb1bc28: Merge "Refresh cast icon assets to improve visual contrast." into klp-dev
* commit 'f9c69fc8b809b295540ea737d194b061159a500b':
  Refresh cast icon assets to improve visual contrast.
2014-03-19 01:11:02 +00:00
Jeff Brown
1eac839165 am c9a7eeba: am 4cb1bc28: Merge "Refresh cast icon assets to improve visual contrast." into klp-dev
* commit 'c9a7eeba15641da5a5bc8499e813e6c2211506ff':
  Refresh cast icon assets to improve visual contrast.
2014-03-19 00:55:39 +00:00
Jeff Brown
c9a7eeba15 am 4cb1bc28: Merge "Refresh cast icon assets to improve visual contrast." into klp-dev
* commit '4cb1bc2877f8562e6d349a6c737a3055ef4eaa29':
  Refresh cast icon assets to improve visual contrast.
2014-03-19 00:25:41 +00:00
Winson Chung
bd91297e89 Fixing issue where launching a task was delayed due to a previous start delay being set on a ViewPropertyAnimator.
- adding logging for timing certain paths (including startup and task launch)
2014-03-18 14:44:24 -07:00