4169 Commits

Author SHA1 Message Date
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
Winson Chung
7048fea75c Moving alternate recents component logic into its own file.
- Adding min delay between toggles of recents
- Merging changes to show related recents

Change-Id: I2201a9f98417e26cdfb1c16cb0a2ef095d2cd5fc
2014-03-18 14:44:24 -07:00
Jeff Brown
f1e8d36327 Refresh cast icon assets to improve visual contrast.
Bug: 13473719
Change-Id: Ia82b2bc487a612f24bbe47f7d6e9182e862bcefa
2014-03-18 14:40:43 -07:00
Kenny Guy
ecc9f9b6f3 Merge "Add flag to allow fetching related users recent tasks." 2014-03-18 11:43:46 +00:00
Winson Chung
93bb3969c1 Merge "Fixing issue with cards being rendered under the nav bar after a configuration change due to improperly setting the system insets." 2014-03-18 02:09:37 +00:00
Winson Chung
bb5278b663 Fixing issue with cards being rendered under the nav bar after a configuration change due to improperly setting the system insets. 2014-03-17 19:07:56 -07:00
Winson Chung
7b5d857efa Merge "Using the RecentsService connection to toggle recents" 2014-03-18 01:23:23 +00:00
Winson Chung
47c4c69575 Using the RecentsService connection to toggle recents
- Adding over scroll snap back when flinging stack

Change-Id: Ife9692ece95e0a40649d0b4b72ec4ea99ffabc16
2014-03-17 18:10:24 -07:00
Kenny Guy
82326a98a4 Add flag to allow fetching related users recent tasks.
Fetch related users recent tasks along with requested users
tasks when flag is set
Set flag in requests coming from systemui/recents.

Change-Id: I985e2d9d6b9728603685fc6126e8193af119e172
2014-03-17 19:45:17 +00:00
Geoff Mendal
19a1dcf04f Import translations. DO NOT MERGE
Change-Id: Ic610f196330c190df9bf2dfcceb0dd2437250b7d
Auto-generated-cl: translation import
2014-03-17 10:18:49 -07:00
Winson Chung
a1e4bf9b6c Merge "Fixing crash when ActivityManager does not have a proper thumbnail" 2014-03-17 01:54:26 +00:00
Winson Chung
0662038bcb Merge "Simplifying memory management, use Task Keys as resource cache keys." 2014-03-17 01:54:04 +00:00
Winson Chung
7124390f9d Fixing crash when ActivityManager does not have a proper thumbnail
- Fixing issue with hw layers ref count not properly being incremented and decremented
- Preventing message handler from keeping a strong ref to the RecentsService
2014-03-14 17:52:47 -07:00
Winson Chung
04dfe0d26b Simplifying memory management, use Task Keys as resource cache keys.
- Attempts to load non-topmost task thumbnails from cache
- Ensuring that we release all references to the activity from the bg loader
- Removes background loading debug flag
- Moving callbacks into their respective classes
- cleaning up some callbacks when data is loaded in the bg

Change-Id: Ibb968349d08084922d5b28e432b76a165bf20d6b
2014-03-14 16:53:45 -07:00
Winson Chung
050b39bd5f Merge "Fixing memory leaks related to Tasks holding onto their callbacks." 2014-03-14 20:34:27 +00:00
Winson Chung
4d7b092a86 Fixing memory leaks related to Tasks holding onto their callbacks.
- Switching to SwipeHelper
2014-03-13 17:14:17 -07:00
Baligh Uddin
df385f2b4c Merge "Import translations. DO NOT MERGE" 2014-03-13 16:22:45 +00:00
Kenny Guy
4979ff9f28 Merge "Show notifications from related users." 2014-03-13 11:57:55 +00:00
John Spurlock
3424c41e4e Merge "Move zen-mode systemui affordance to quick settings." 2014-03-12 23:06:00 +00:00
John Spurlock
d389ff7d89 Move zen-mode systemui affordance to quick settings.
Remove the gesture-based invocation from the notifcation
panel, create a new QS tile to display current state.

Clicking the tile reveals an interstitial dialog for
confirmation of mode changes.

Change-Id: I6760ce3f097d5dcfd0af5177287dbf4ff632b47e
2014-03-12 17:26:09 -04:00
Kenny Guy
3a7c4a5669 Show notifications from related users.
When filtering notifications for user include those for users that
are related to the current user.
Pipe through user id so we know which user the notification is for.

Change-Id: I4e2657c23bd7b611d450be5a1f9457824bc062cb
2014-03-12 19:51:03 +00:00
Dan Sandler
a07605fcd7 Merge "Insulate SystemUI from IDs in inflated notification views." 2014-03-12 17:18:43 +00:00
Baligh Uddin
8c68173234 Import translations. DO NOT MERGE
Change-Id: I3d7d91a2d618011ef9c0b7f746e76f9f4de16afc
Auto-generated-cl: translation import
2014-03-12 09:48:44 -07:00
Dan Sandler
6d94aa7a4e Insulate SystemUI from IDs in inflated notification views.
We use the hidden View.setIsRootNamespace() in the same way
that AppWidgetHostView does: to block recursive ID search
traversals from traveling into notification views, which
might have children with IDs that collide with SystemUI's
own views. (Views inside notifications can still be located
by ID, but you need to start your search inside the
inflated notification row.)

Bug: 13421971
Change-Id: If8b81b9d0ed4b0eb6fa1e028275caa0b932f5759
2014-03-12 00:53:21 -04:00
Winson Chung
303e1ff1fe Initial changes for recents.
Change-Id: Ide2c202b4a5b25410f0f32bd0a81ccf817ede38f
2014-03-11 12:03:08 -07:00