Commit Graph

14809 Commits

Author SHA1 Message Date
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
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
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
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
Adrian Roos
a66746d167 Merge "Remove RemoteInput on lockscreen setting" into nyc-dev 2016-06-16 23:33:57 +00:00
Adrian Roos
b27d7a5e2e Remove RemoteInput on lockscreen setting
Bug: 29370898
Change-Id: I8686c2266f13e7e131c2330673ec98c26037edaa
2016-06-16 13:29:36 -07:00
Adrian Roos
db81dd9d2e Merge "Fix unresponsive brightness slider after font size change" into nyc-dev 2016-06-16 19:25:49 +00:00
TreeHugger Robot
c1720dce1b Merge "Added dismiss, expand, and collapse accessibility actions" into nyc-dev 2016-06-16 04:19:48 +00:00
Selim Cinek
e9bad242f3 Added dismiss, expand, and collapse accessibility actions
Fixes: 20343017
Fixes: 29368014
Change-Id: Ib571242aac04c67aea2f3c3ce76139eaedc1f3f1
2016-06-15 16:30:09 -07:00
Mady Mellor
8363980d45 Merge "Fixes issue with group backgrounds when animating to keyguard" into nyc-dev 2016-06-15 23:20:24 +00:00
Winson
34c5526dcd Ensure that the tint is properly applied in docked mode.
- The signal cluster dedupes multiple calls with the same value, but 
  since the first calls come before the rotation relayout, the dark 
  tint is calculated incorrectly and subsequent calls get deduped.
  Ensure that if the layout changes, we also update the tint of all 
  icons again.

Bug: 29390902
Change-Id: I79c3796cba2f9a94d44f9fd59cf1702a64b62cd9
2016-06-15 15:55:28 -07:00
TreeHugger Robot
9a75ed7ab5 Merge "Fixing issue with screen pinning screen not showing for secondary users." into nyc-dev 2016-06-15 22:48:55 +00:00
Winson
7555f335f4 Fixing issue with screen pinning screen not showing for secondary users.
- Catch the exception when removing a view that is not yet attached. 
  This is not an issue because we are in the process of attaching it for
  the first time anyways.
- Ensure that we post the calls from the secondary user in the main 
  thread for the system user.  Especially since this calls through to
  add the view for the new screen pinning window.

Bug: 29341417
Change-Id: If0e29a77ddb67426115f1d5d9f1adb580a1f07df
2016-06-15 14:01:58 -07:00
Mady Mellor
1a5d8eadd5 Fixes issue with group backgrounds when animating to keyguard
The backgrounds weren't being updated before the collapse animation when
going to the keyguard so it would look very bad when they collapsed.

This moves updating the background into setChildrenExpanded which will
cover updating the background for both the tapping to expand case as
well as the animating to the keyguard case.

Change-Id: Icba2fa895498d307a38bd9f65be06265afd21a1a
Fixes: 29240532
2016-06-15 13:31:29 -07:00
Adrian Roos
429c962179 Fix unresponsive brightness slider after font size change
We reinflated the brightness mirror, but not the QS panel,
which meant we were controlling the wrong view. Now we
reapply the mirror controller on configuration changes.

Change-Id: I69e5f1962e9ec0cfda85b19b1d5d5bbdf3d5779b
Fixes: 29339630
2016-06-15 13:02:21 -07:00
Adrian Roos
2e0aadf256 Merge "A11y: Fix notification bounds when top notification is scrolled" into nyc-dev 2016-06-15 17:55:52 +00:00
Adrian Roos
98dd7f1308 A11y: Fix notification bounds when top notification is scrolled
Previously, scrolled notifications would collapse into a stack (the top
stack). With the new design, that's no longer the case, so tall
notifications can now be scrolled out so much that their translation
becomes negative.

Unfortunatly, getBoundsOnScreen then clips the bounds to the parent,
which interferes with our adjustment to the bounds, so we first undo
the clipping.

Fixes: 29368064
Change-Id: I71da054ed1eb6d06868d56e18d0320f764ed86b3
2016-06-15 17:28:21 +00:00
Jason Monk
817c4ca6d4 Merge "Fix flashlight dim state" into nyc-dev 2016-06-15 16:55:24 +00:00
Jason Monk
7f25c759e4 Fix flashlight dim state
Change-Id: I7875d4a0c3733ac2462713d7618d1b7595ea2075
Fixes: 29330406
2016-06-15 10:53:03 -04:00
Julia Reynolds
68221f5e05 Fix accessibility for autorotate tile.
The tile should be 'on' when rotation is not locked.

Change-Id: I084be4ffb759bf20efe80358b5d103fec8892f76
Fixes: 29102740
2016-06-14 20:50:00 +00:00
Julia Reynolds
8d0a400119 Only reload callback on configuration change.
So it'll get zen changes when the volume dialog is not showing.

Change-Id: I0d4220d0a000d74c6994b07b2d5b8562a6a52585
Fixes: 29355577
2016-06-14 20:45:13 +00:00
Winson Chung
987cd20acf Merge "Fixing several issues with accessibility" into nyc-dev 2016-06-14 20:42:23 +00:00
Adrian Roos
207cbee824 Merge "Improve action bar transition" into nyc-dev 2016-06-14 19:42:42 +00:00
TreeHugger Robot
bb8b32262f Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-14 11:46:43 +00:00