Commit Graph

13574 Commits

Author SHA1 Message Date
Fyodor Kupolov
caab2666bd Restored switchTo method
It is current used in another branch. Restored to fix a breakage.

Change-Id: Iec98bf525b88b6b5b45bffb97a1f3e9b57c492dd
2016-03-01 18:39:27 -08:00
Selim Cinek
049f6adfb8 Fixed a bug where the notification texts wouldn't animate
If the texts were the same but one had an ellipsis and the
other didn't, things were not animating nicely.

Bug: 27419215
Change-Id: Iaa9611e1cf60b6fe71113b76f36ab5c24e461961
2016-03-02 01:21:26 +00:00
Fyodor Kupolov
285bec2641 Merge "Disable switching users if the user is in a call" into nyc-dev 2016-03-01 23:21:29 +00:00
Michael Wright
a75c2a7819 Merge "Show error message when pairing fails in SUW." into nyc-dev 2016-03-01 21:32:06 +00:00
Dianne Hackborn
a6dcaa6f84 Merge "Fix issue #27317952: PendingIntent.getIntent() should be protected" into nyc-dev 2016-03-01 20:57:02 +00:00
Jason Monk
bbcdab6f01 Merge "Fix difference in icon size for quick QS" into nyc-dev 2016-03-01 20:10:24 +00:00
Jason Monk
ec87a878d3 Fix difference in icon size for quick QS
Bug: 27371482
Change-Id: I7c1316bf3b3ff6dfde0a92a6c8b9599c2f203503
2016-03-01 15:00:16 -05:00
Winson
9da1885047 Fixing regression in creating dismiss descriptions.
Bug: 27411256
Change-Id: I39f56257544d593838349049208fe59f551100eb
2016-03-01 19:58:06 +00:00
Winson Chung
6b03ff8d57 Merge "Skip animation in error case, log for further investigation." into nyc-dev 2016-03-01 19:57:05 +00:00
Jason Monk
e636afd901 Merge "Handle density changes in QS" into nyc-dev 2016-03-01 19:26:56 +00:00
Selim Cinek
a26ddbaf7b Notification groups with only one child behave nicer when swiping
When swiping the last child of a group away the notification parent
is now swiped instead of the child, unless it is non-dismissable.

Bug: 27420342
Change-Id: Idbb1fac5e46a5a91af829973ee167ad400be82a5
2016-03-01 19:16:33 +00:00
Selim Cinek
8e0c498165 Fixed a bug where children were not / incorrectly userlocked
This can lead to all sorts of weird behavior

Bug: 24866646
Change-Id: If3395c5f1b524592cd658a57ac91d2a0fe893011
2016-03-01 19:16:11 +00:00
Selim Cinek
898d173b92 Expanding first child in a group now if it's the only one
When expanding notifications, the first child is now expanded
if it's the only one in there.

Bug: 27419554
Change-Id: Icdadbb7036e4cd5964de4c2e96e6a8322052bc93
2016-03-01 19:15:30 +00:00
Jason Monk
ee70388723 Merge "Fix QS edit BGs" into nyc-dev 2016-03-01 19:14:33 +00:00
Julia Reynolds
1c7cd0a882 Merge "Fix app icon in notification guts." into nyc-dev 2016-03-01 18:54:53 +00:00
Winson
3f3d744d5c Skip animation in error case, log for further investigation.
Bug: 27389156
Change-Id: Idc2ebdf04ab72d326f68a47627b27d6e61315d1e
2016-03-01 10:07:04 -08:00
Yorke Lee
810252ad47 Merge "Add setAlwaysOpaque and setTint to BarTransitions" into nyc-dev 2016-03-01 17:50:33 +00:00
Julia Reynolds
be0184662d Fix app icon in notification guts.
Bug: 27408961
Change-Id: Iafae86dff611eb5c00b283452b5fcbc65f314c9e
2016-03-01 12:23:21 -05:00
Jason Monk
46dbfb475f Handle density changes in QS
Bug: 26845796
Change-Id: Icc783c9d706382e553df49f699aaf44aac943d18
2016-03-01 11:08:19 -05:00
Julia Reynolds
2319dd3a66 Merge "Api review: AutomaticZenRule" into nyc-dev 2016-03-01 15:05:36 +00:00
Jason Monk
1aec93f181 Fix QS icon animations once and for all
Bug: 27250295
Change-Id: I6449b9cea19acf120dfc02d146fe608da46fe790
2016-03-01 09:42:34 -05:00
Yorke Lee
1b268cbca6 Add setAlwaysOpaque and setTint to BarTransitions
Allow the opacity and color of the NavigationBarView
to be controlled.

Bug: 26425669

Change-Id: I364f183bf0ef90c446ae68987ccc3b6bbf09aa67
2016-02-29 19:14:04 -08:00
Mady Mellor
6e64423c19 Merge "Fix settings icon row consuming the click when tapping the notification" into nyc-dev 2016-03-01 02:18:34 +00:00
Dianne Hackborn
e5ad41bc02 Fix issue #27317952: PendingIntent.getIntent() should be protected
Change-Id: Ib05135cd94f5251942a6fc6df542ed39083f7827
2016-02-29 18:02:43 -08:00
Selim Cinek
2c58461daf Fixed a bug where group expansion size calculation was wrong
On the lockscreen, the minheight was always based on the intrinsic
height and not actually the minHeight of the children. Because
children were userlocked, they were now reporting their small size
instead of the single line size.
This meant that the expand motion on the lockscreen wasn't following
the finger at all.

Bug: 27418617
Change-Id: I81daaf87887de1adc014cb4c6d46f4ef118061e5
2016-03-01 00:30:40 +00:00
Selim Cinek
a52f6a17ef Fixed a bug where group children where not expandable
Bug: 27417777
Change-Id: I57368f18b810bc9f6fc7c08c0f7fb038743b528d
2016-02-29 23:44:28 +00:00
Mady Mellor
f153f5fcb6 Fix settings icon row consuming the click when tapping the notification
This CL makes the settings icon row invisible when it's not displaying,
this way it won't get the click event on the notification row before
the parent.

Bug: 27389571
2016-02-29 14:54:53 -08:00
Mady Mellor
a5d6c37338 Merge "Update the animation when showing / closing inline controls" into nyc-dev 2016-02-29 21:43:41 +00:00
Jason Monk
57af5e3318 Fix QS edit BGs
Bug: 27396825
Change-Id: I40bb49ced95d0cd58975bab8e2df4fac2466d07a
2016-02-29 15:42:15 -05:00
Jason Monk
f8d700ab83 Merge "Fix flashlight availability." into nyc-dev 2016-02-29 20:41:03 +00:00
Jason Monk
8e4341d980 Merge "Fixes in QS customization" into nyc-dev 2016-02-29 20:29:14 +00:00
Jason Monk
04fd24966a Fixes in QS customization
- Revert to long-press to drag
 - X -> <-
 - Always save

Bug: 27397111
Bug: 27364013
Bug: 27396440
Change-Id: Ib19096b0ed65fb1112386735dffe9308e57c3d5a
2016-02-29 15:01:21 -05:00
Jason Monk
72d7bc4a09 Fix flashlight availability.
Bug: 26981482
Change-Id: I62059b3b7f18520ae8735f3f3557411991bee909
2016-02-29 14:09:30 -05:00
Dongwon Kang
f61dd544b2 Merge "PIP: Implement play/pause button in menu" into nyc-dev 2016-02-29 19:00:02 +00:00
Jaewan Kim
623381921c PIP: Implement play/pause button in menu
Bug: 26685243
Change-Id: Id3138cc35dbef90d91767797e7f26f3c60191b1a
2016-02-29 10:53:10 -08:00
Fyodor Kupolov
523c404612 Disable switching users if the user is in a call
Also disable "Remove guest" option, which switches the user.

Bug: 20652663
Change-Id: Id3ada14c0b3bfe70e9e1ab7034d27098924d7b45
2016-02-29 10:40:55 -08:00
Jason Monk
c519288b8d Merge changes I70299512,I42df29b4 into nyc-dev
* changes:
  Add tests for TouchAnimator
  Fix TouchAnimator callbacks
2016-02-29 18:16:39 +00:00
Mady Mellor
b53bc276d6 Update the animation when showing / closing inline controls
This CL updates the circular reveal animation to originate
from the gear and and done button in the inline controls.

Bug: 22451710
Change-Id: I050413c980a8c9e73fe2e9a789567051d3119373
2016-02-29 10:16:06 -08:00
Jason Monk
f6a3cf9291 Add tests for TouchAnimator
Also fix existing tests

Bug: 27392084
Change-Id: I70299512e8fa3e0cb86c868b47df7703e04d6084
2016-02-29 13:01:08 -05:00
Jason Monk
df5459daaa Fix TouchAnimator callbacks
Bug: 27392084
Change-Id: I42df29b4c7df4f709dd2fafa90037d485e93f3bd
2016-02-29 12:59:38 -05:00
Geoff Mendal
342006e919 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-29 15:34:26 +00:00
Geoff Mendal
1211d70d0b Import translations. DO NOT MERGE
Change-Id: I1ce2ed342ab6e3155ff634c5e713fc3d6bfef540
Auto-generated-cl: translation import
2016-02-29 07:32:23 -08:00
Jorim Jaggi
035a82d264 Force carrier network change anim onto UI thread
Fixes a bug where RenderThread was constantly scheduling frames,
but didn't actually start the animation. Also fixes some jank
while the animation is playing.

Bug: 27396097
Change-Id: I353d60633eeef1a4f3bbfbeddb58f9703debe293
2016-02-29 15:16:21 +00:00
Julia Reynolds
361e82d399 Api review: AutomaticZenRule
Bug: 27364144
Change-Id: I17fec34d7a277173820bed7829baf5bf905f327a
2016-02-26 18:44:32 -05:00
Muyuan Li
94ce94e960 Allows components to register shortcut key.
The registered shortcut will be called from PhoneWindowManager,
before dispatching

Change-Id: If26128939b45a639c8895719a7a23ca433f39fd9
(cherry picked from commit 4da863c5a8872dcabb179a978a2b2157d9081679)
2016-02-26 22:30:34 +00:00
Selim Cinek
df5bf6147c Decorated media notifications now also animate their actions
Bug: 24866646
Change-Id: I271be0d55270043dfc41c621911d802b37d4690f
2016-02-26 21:58:08 +00:00
Selim Cinek
b88b98477a Fixed a bug where notifications could stay dark
The check whether dark changed was always done
on the notification itself, ignoring that the
contentviews actually also have a check whether it
changed, leading to potential problems that this state
became out of date. In addition did we assume that whenever
an update comes in the text becomes normal, which is
not true for an inline update. This hopefully fixes things once
and for all! I said once and for all!

Bug: 27147160
Change-Id: Idd68be8da0f648cf79102544b038065618c1d0ff
2016-02-26 21:57:40 +00:00
Julia Reynolds
3b84812271 Api review: Notification.Builder
Bug: 27364889
Change-Id: I95cee3336f1adb64e37e71a9ab40e68feb1d9c5b
2016-02-26 15:44:02 -05:00
Julia Reynolds
abf11299b7 Merge "Introduce IMPORTANCE_MIN." into nyc-dev 2016-02-26 16:11:00 +00:00
Jason Monk
611994e01f Add unavailable state to the flashlight icon
Bug: 26851684
Change-Id: I08c438aaef3e5f0731fbd1b5fef79c87c75d3022
2016-02-26 16:04:07 +00:00