Commit Graph

14847 Commits

Author SHA1 Message Date
Jason Monk
d0408f0028 Fix launching alarm pending intent
Launch it as a pending intent.

Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350
Fixes: 23909438
2016-10-14 15:34:26 +00:00
Jason Monk
37bd2be160 Backup system QS tiles DO NOT MERGE
Add QS tiles to the backup list.  Non-system tiles will get removed
since they won't be installed when restore happens.

Change-Id: Iccf6e773384c45bd4d1f10c21aa8af356b3920d2
Bug: 28782938
2016-08-30 15:48:15 -04:00
Jason Monk
2b4e612b10 Merge "Fix double status bar icons" into nyc-dev 2016-08-29 18:00:02 +00:00
TreeHugger Robot
4226dcef1e Merge "Fixed a bug where notifications could reappear" into nyc-dev 2016-08-29 17:58:31 +00:00
Jason Monk
12124d7eca Fix double status bar icons
Don't allow the status bar icon slot list to be changed because
it confuses the relationship between StatusBarIconList and
StatusBarIconController.  Set it in the constructor to enforce
this.

Change-Id: Ieeea0a9efad88179d1cccc0e5702899333de2e72
Fixes: 28524184
(cherry picked from commit c6fe61c59c)
2016-08-29 13:26:18 +00:00
Selim Cinek
f3b64692a3 Fixed a bug where notifications could reappear
With sensitive notifications a user could get into
a situation where the groupsummary would not be cleared
because its dismissability was never updated and based
on the visibility of the veto button. This is now corrected.

This Cl also cleans up the veto button handling overall and
ensures that there's no stale state arond it.

Change-Id: Ic7df8d382146d7863ee551c1daa8ba5ed384c7b5
Fixes: 30056258
(cherry picked from commit 9e624e732a)
2016-08-27 00:38:03 +00:00
Selim Cinek
a4155bb7c0 Fixed a bug where the headsup would be stuck disappearing
Change-Id: I56d6be69f6e59c1bec647e7e70e50a36b793f895
Fixes: 30120962
2016-08-27 00:33:49 +00:00
Jason Monk
ee9fcf50be Don't allow enable/disable of tuner on lockscreen
Change-Id: Id9748ea39a8fa03b67d3fa6f91da530dd5cf9409
Fixes: 30107438
2016-07-19 12:39:58 -04:00
Bill Yi
19516ee85a Import translations. DO NOT MERGE
Change-Id: I336a5cd0babcb768a62375cb8d63afa7a7d9532c
Auto-generated-cl: translation import
2016-07-11 23:21:45 -07:00
Jeff Sharkey
479212cf50 Move getRecentTasks() to ParceledListSlice.
In extreme cases the list of recent tasks can grow beyond the size
of a single Binder transaction.  This change moves over to
ParceledListSlice which handles chunking any large results.

Bug: 29635557
Change-Id: Iaf1227234f5f8c9451f73a6a5c1dc89f2067f05f
2016-06-29 22:17:41 +00:00
Sid Soundararajan
10b2fee05f Merge "Recents: Make sure blacklist checks the package name as well as activity name" into nyc-dev 2016-06-29 20:03:06 +00:00
Sid Soundararajan
f838407e4a Recents: Make sure blacklist checks the package name as well as activity name
BUG: 28719274
BUG: 28764678
Change-Id: Ib17d3feda8997ce5b29060bff47d51f503c868dc
2016-06-29 19:54:49 +00:00
Winson
16ef39a7f6 Move preloading to boot complete.
Bug: 29320695
Change-Id: I14b5127b218597f3c32e647e0443a88b5a708ce1
2016-06-29 02:13:37 +00:00
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
Dan Sandler
27a9fcc618 Cats are not, technically, tasty treats.
Bug: 27376882
Change-Id: I97183339e51c5d07fe6e9404bbcc5178ca605c05
Copilot: Jason Monk <jmonk@google.com>
2016-06-26 15:00:11 +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
2bc13bcdad Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-24 05:44:10 +00:00
Bill Yi
267c1c6260 Import translations. DO NOT MERGE
Change-Id: If580d6129a5e7b06ee111f866e42b708ebdc7c00
Auto-generated-cl: translation import
2016-06-23 17:07:49 -07: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
TreeHugger Robot
1dd403b61a Merge "Allow trust agents to run during provisioning" into nyc-dev 2016-06-21 18:04:07 +00: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
Bill Yi
1fbf42ce30 Import translations. DO NOT MERGE
Change-Id: I8c3ebf247f9029af5c1322e2a5c115a1d854196f
Auto-generated-cl: translation import
2016-06-21 00:53:23 -07: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