Commit Graph

9428 Commits

Author SHA1 Message Date
Jorim Jaggi
0fdf574bc8 Fix smooth panel deceleration
State of dismiss view was wrong when the panel was closed, thus, we didn't
apply our logic for smooth panel deceleration anymore.

Bug: 29579394
Change-Id: I79718517e776adad092457aba6db18219998fde1
2016-06-27 18:54:34 +00:00
Min Yun
de383c75eb Reapply more strings for "more settings"
Fixes: 29620816

Change-Id: Iabfcb3b762e1d7d105d2b4c417fc0902d7e7ca16
2016-06-24 18:28:17 +00:00
Julia Reynolds
9c0c3d8d8b Always reapply strings.
Change-Id: Icc66d1e23048d2676b5776c3eec76345963228d0
Fixes: 29620816
2016-06-24 12:49:29 +00:00
TreeHugger Robot
9ea3916063 Merge "Fix guts are not bound properly." into nyc-dev 2016-06-23 21:45:59 +00:00
TreeHugger Robot
cdd43d7270 Merge "HUN: Close RemoteInputView when Home is pressed" into nyc-dev 2016-06-23 21:26:34 +00:00
Jason Monk
1427bb3dc0 Merge "QS: Hacks to fix bigger problems in TileService binding" into nyc-dev 2016-06-23 20:52:50 +00:00
Min Yun
175559a28b Fix guts are not bound properly.
When binding importance to guts, applying findViewById
to ExpandableNotificationRow of group's parents could
cause to return the reference of child notications's guts
which also has the same id. As a result guts are
not bound properly, and show weird guts.

Fixes: 29452827
Change-Id: Iaf8ee74b988bf41680857e9c3c3ae9e3bd8e4e1b
2016-06-23 19:53:11 +00:00
Adrian Roos
07215350f9 HUN: Close RemoteInputView when Home is pressed
CLOSE_SYSTEM_DIALOGS usually dismisses the notification shade,
but that's not the case for HUNs because the shade is not actually
open. However, CLOSE_SYSTEM_DIALOGS will now close the Direct Reply
even with HUNs.

Change-Id: If8e5115e33f93db0f8b4e442331ea3d60fc0c63d
Fixes: 29583313
2016-06-23 12:51:38 -07:00
Jason Monk
6edbefdd54 QS: Hacks to fix bigger problems in TileService binding
Bug: 29121793
Change-Id: I9cb8d8ee36ce5cc77ba3c11decb1b3a797fd7999
2016-06-23 14:59:22 -04:00
Jason Monk
94f682edd0 QS: Fix hotspot refreshing state
Change-Id: I40e693d154d5481959f63d555191d2c88f3d1b97
Fixes: 29518006
2016-06-23 13:23:01 -04:00
Mady Mellor
6b6bf9cd54 Merge "Don't show the shade background for heads up notifications" into nyc-dev 2016-06-22 16:49:42 +00:00
TreeHugger Robot
126088536d Merge "QS Tiles: Fix some problems with connecting through intent" into nyc-dev 2016-06-22 16:47:33 +00:00
Jason Monk
94a20367b5 Merge "QS: Fix default icon handling for services" into nyc-dev 2016-06-22 15:39:32 +00:00
TreeHugger Robot
8f41c074c7 Merge "Blacklist ATV Remote Service to never appear on Recents" into nyc-dev 2016-06-22 15:36:11 +00:00
Jason Monk
8753e184f9 QS Tiles: Fix some problems with connecting through intent
- Don't send Tile through intent, it can cause crashes
 - Clean up other issues surrounding this

Change-Id: I08c626cf39b36d349592c1e0b81627b9bc7eeeb3
Fixes: 29519485
2016-06-22 10:52:58 -04:00
Jason Monk
a5f6ed355e QS: Fix default icon handling for services
Change-Id: I3b25df8b8d02cd99a943571de14cf0a8c5b051bd
Fixes: 29452288
2016-06-22 10:00:38 -04:00
Jason Monk
ba568a46e6 Merge "Restrict hotspot qs tile to admin user" into nyc-dev 2016-06-22 13:23:30 +00:00
Jason Monk
3a0241566b Merge "QS Edit: Try to simplify drag logic" into nyc-dev 2016-06-22 13:23:18 +00:00
TreeHugger Robot
394cc084f9 Merge "Notification: Respect disabled HUNs on updates" into nyc-dev 2016-06-22 00:35:30 +00:00
TreeHugger Robot
ea16efd52c Merge "Fix stale transformations" into nyc-dev 2016-06-21 23:25:16 +00:00
Adrian Roos
f6967e0691 Notification: Respect disabled HUNs on updates
Fixes a bug where HUNs would be posted on updates
even if HUNs had been disabled.

Fixes: 29520322
Change-Id: I3806b9c5b8835a62f7b58bd0a3bbdd55b02eb892
2016-06-21 16:13:05 -07:00
Sid Soundararajan
6f134fb3ef Blacklist ATV Remote Service to never appear on Recents
BUG: 28764678
Change-Id: I0be5f9f408f16cfb683793a84cef7a368e5fa867
2016-06-21 15:49:13 -07:00
TreeHugger Robot
afa0f25379 Merge "Do animations correctly in systemUI" into nyc-dev 2016-06-21 22:20:45 +00:00
Selim Cinek
843f541737 Do animations correctly in systemUI
When properties weren't changing, animators were not cancelled.
In addition did we still apply the delay even though animators
were running before.

Change-Id: I05fdd15d770900ac901eb95b616bed4cf311cd23
Fixes: 29540362
2016-06-21 14:03:30 -07:00
Adrian Roos
75524417ac Fix stale transformations
In messaging style we sometimes transform an individual
message and sometimes we don't. This causes the ViewTransformationHelper
to sometimes add the container and sometimes the individual messages,
which prevented the right view from getting reset.

To fix this, we now reset all views that were once managed by
ViewTransformationHelper but no longer are.

Change-Id: I1512434fde5b4444657db1c69f9a7bd1ba96fe5f
Fixes: 29509682
2016-06-21 12:41:10 -07:00
Yoshinori Hirano
adcbed7459 Restrict hotspot qs tile to admin user
Since hotspot setting is only available for admin user,
the qs tile should be disabled for secondary users.

Fixes: 29233745

Change-Id: Ie9777feef9650050a89dc42cc0e6436b4ef91471
2016-06-21 13:02:04 -04:00
Jason Monk
b213ac464e QS Edit: Try to simplify drag logic
- Don't forcibly move around items during dragging, instead let the
ItemTouchHelper handle where things can and cannot be dragged.
 - Try to trigger notify calls only when needed.
 - Tiles will sit in the first slot after being removed until the
   edit panel is closed.

Change-Id: I4780e64bc39292ed85e961ac089c69834245dfb4
Fixes: 28067638
2016-06-21 12:58:40 -04:00
Adrian Roos
fb95a81a8b Allow trust agents to run during provisioning
Fixes a bug where trust agents weren't able to run during
provisioning, because user presence is only acknowledged after
provisioning completed.

Change-Id: Ib9ed235e8372555fdc40eefd0fc6b1192613abda
Fixes: 29231515
2016-06-20 14:59:02 -07:00
Mady Mellor
53ac1ef993 Don't show the shade background for heads up notifications
This looked weird when dismissing.

Change-Id: I9c4256a4c8792c4ff81d3cf1e34c45591853c206
Fixes: 29462609
2016-06-20 13:27:02 -07:00
Selim Cinek
3952c3a2d4 Merge changes I29ce7659,I2d6310a2,Ic4b29409,I6c5c970f into nyc-dev
* changes:
  Fixed a stackoverflow in notifications
  Fixed a bug where a notification was incorrectly marked as removed
  Fixed a potential issue where a notification could be empty
  Fixed a bug where the expanded layout would flash
2016-06-20 19:11:50 +00:00
Jason Monk
8c9b6609f1 Merge "QS: Don't disable hotspot animation when leaving airplane mode" into nyc-dev 2016-06-20 18:34:17 +00:00
Adrian Roos
e416a4200a Merge "SystemUI: Override notification app name" into nyc-dev 2016-06-20 18:00:04 +00:00
Jason Monk
ab17c98416 QS: Don't disable hotspot animation when leaving airplane mode
Change-Id: I80750e3c4d63e4d590b43e3ed595100e054e5b1e
Fixes: 29374561
2016-06-20 12:40:37 -04:00
Julia Reynolds
370bca66e7 Don't reference variables before they are assigned.
Rare but technically possible.

Change-Id: I375cd1ac0bef5b6c7295618bef087554114c3cdd
Fixes: 29394773
2016-06-20 13:56:23 +00:00
Jason Monk
bd04ec31bd Merge "QS: Fix missing tiles" into nyc-dev 2016-06-20 13:26:05 +00:00
Selim Cinek
88086e7183 Fixed a stackoverflow in notifications
Change-Id: I29ce76593af81ad6e326d2e273fd872a4d9d4a89
Fixes: 29464060
2016-06-17 21:01:32 -07:00
Selim Cinek
e5ec413c13 Fixed a bug where a notification was incorrectly marked as removed
When unauto-bundled, it could lead to serious bugs on the lockscreen
and the header not being restored.

Change-Id: I2d6310a2bcb2f3a60402db5f1e522954f8bd0389
Fixes: 29463339
2016-06-17 20:04:16 -07:00
Selim Cinek
a554c70738 Fixed a potential issue where a notification could be empty
Change-Id: Ic4b294092a47d30c469dfbd1eb6ab31208533b1c
Fixes: 29158425
2016-06-17 18:02:12 -07:00
TreeHugger Robot
838dfe60f0 Merge "Fix data race" into nyc-dev 2016-06-17 23:42:59 +00:00
Adrian Roos
e25c18da7d SystemUI: Override notification app name
Overrides the notification app name for all SystemUI notifications.

Change-Id: Ic7676069aa03d5b83f0fbe0e8c3ad9820453118a
Fixes: 26517701
2016-06-17 16:00:06 -07:00
Adrian Roos
a4b5486a70 Fix data race
Fixes a race in BluetoothControllerImpl that could lead
to a ConcurrentModificationException, by moving the manipulation
of the callbacks array to the handler.

Change-Id: I7c3be74d239d4706f55357f54e539b7b6439e76d
Fixes: 29390132
2016-06-17 14:44:20 -07:00
Winson Chung
b1f3404f8f Merge "Ensure that the tint is properly applied in docked mode." into nyc-dev 2016-06-17 21:29:04 +00:00
TreeHugger Robot
dd65ee628f Merge "QS Edit: Fix auto-selecting add location" into nyc-dev 2016-06-17 20:22:46 +00:00
Selim Cinek
73cf02a078 Fixed a bug where the expanded layout would flash
When the heads up disappeared from the shade, it's layout would
switch to the expanded state. We're now delaying this until
the animation is done.

Change-Id: I6c5c970f6b471fb10b197922dfea520b07c84abc
Fixes: 	29318819
2016-06-17 13:08:00 -07:00
TreeHugger Robot
fc70b07385 Merge "QS API: Fix mService and mTile being null once and for all" into nyc-dev 2016-06-17 18:38:26 +00:00
Jason Monk
968d2695ff QS: Fix missing tiles
It was possible for the state to be updated in the background
but before the callback was actually registered and never propagate
to the UI.  Call the callback directly after it is added (from the
QS thread) to ensure that the current state gets sent out on tiles
being added.

Change-Id: Idd76dce5cbc9dc9c99f9b3dc13998751fd170582
Fixes: 29419435
2016-06-17 13:48:44 -04:00
Mady Mellor
4f9404f6f2 Merge "Fix shade background not aligning with bottom of a group" into nyc-dev 2016-06-17 17:22:36 +00:00
Jason Monk
0c0df7943c QS Edit: Fix auto-selecting add location
We depend on a layout listener for when we ask for focus, but layout
sometimes doesn't happen.  Make it always happen.

Change-Id: I7c805470c6ce9863bf7eac627f59d49191ce8946
Fixes: 29126464
2016-06-17 13:15:34 -04:00
Jason Monk
a3453b8bd9 QS API: Fix mService and mTile being null once and for all
Change-Id: Idd82e4c2f6cfc2b30432e15e23963c1d7a959e43
Fixes: 29121793
2016-06-17 13:04:05 -04:00
Jason Monk
c59249faf5 Bring out your toggles
Switch Wifi and BT back to toggling from QQS.  Make cell open a
detail panel.

Change-Id: Ibdd8fa52a31c4bf81ee0e6974e263b46b6f71a31
Fixes: 29406644
2016-06-17 10:19:43 -04:00