Commit Graph

15585 Commits

Author SHA1 Message Date
Julia Reynolds
bd0bb036ca Merge \"Don\'t reference variables before they are assigned.\" into nyc-dev
am: 2d5c95f5b9

Change-Id: I2d379ee7b02ebde5020ef94e333fff671b9c96b6
2016-06-20 17:34:55 +00:00
Jason Monk
339923b5e9 Merge \"QS: Fix missing tiles\" into nyc-dev
am: bd04ec31bd

Change-Id: Iab076b534faf6ffa9496e9104674544b97a8c970
2016-06-20 17:30:27 +00: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
Adrian Roos
6aa4b7fb11 Merge \"Fix data race\" into nyc-dev
am: 838dfe60f0

Change-Id: I4aa6d76b855bcbb9d570ddcfcf8f8c61c135930d
2016-06-17 23:50:12 +00:00
TreeHugger Robot
838dfe60f0 Merge "Fix data race" into nyc-dev 2016-06-17 23:42:59 +00: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
702bf7407c Merge \"Ensure that the tint is properly applied in docked mode.\" into nyc-dev
am: b1f3404f8f

Change-Id: I60d795b21f9a5a2b0f2555e959607a8dfefa7e9f
2016-06-17 21:34:21 +00: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
Jason Monk
e253259000 Merge \"QS Edit: Fix auto-selecting add location\" into nyc-dev
am: dd65ee628f

Change-Id: I33256558f03d993c88520ff50d4bab915ee7ccbd
2016-06-17 20:28:14 +00:00
TreeHugger Robot
dd65ee628f Merge "QS Edit: Fix auto-selecting add location" into nyc-dev 2016-06-17 20:22:46 +00:00
Jason Monk
c552a36992 Merge \"QS API: Fix mService and mTile being null once and for all\" into nyc-dev
am: fc70b07385

Change-Id: I2aed24cf36354fbe332787082bcf628357bab3b1
2016-06-17 18:45:04 +00: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
8b1ddeb89a Merge \"Fix shade background not aligning with bottom of a group\" into nyc-dev
am: 4f9404f6f2

Change-Id: I50aab94c497af12a3f2d3522425ddd850c2e3793
2016-06-17 17:26:54 +00:00
Jason Monk
9f2a00a3b4 Merge \"Bring out your toggles\" into nyc-dev
am: 3aee783837

Change-Id: I50ac9d6382b10335464fb3608afbf0aeb9c1dc7b
2016-06-17 17:26:50 +00: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
0f93a4ebe9 Merge \"Remove RemoteInput on lockscreen setting\" into nyc-dev
am: a66746d167

Change-Id: I015d3019792ecb3e4d788ace36f1ae2c9e4fb4f8
2016-06-16 23:41:20 +00: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
ac52bbec1f Merge \"Fix unresponsive brightness slider after font size change\" into nyc-dev
am: db81dd9d2e

Change-Id: If6af6f296d86ab8856e04ed1707bd61d58414d78
2016-06-16 20:05:13 +00:00
Adrian Roos
db81dd9d2e Merge "Fix unresponsive brightness slider after font size change" into nyc-dev 2016-06-16 19:25:49 +00:00
Selim Cinek
0630d92064 Merge \"Added dismiss, expand, and collapse accessibility actions\" into nyc-dev
am: c1720dce1b

Change-Id: I25bd41f1307233bba14067952086ca7be3118505
2016-06-16 04:25:26 +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
3cb4c159f7 Merge \"Fixes issue with group backgrounds when animating to keyguard\" into nyc-dev
am: 8363980d45

Change-Id: Iee12dc78f65a0e4acb09f513fd9578f28f7a5e2e
2016-06-15 23:27:41 +00: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
511562ee23 Merge \"Fixing issue with screen pinning screen not showing for secondary users.\" into nyc-dev
am: 9a75ed7ab5

Change-Id: I4b7de84af1cf78a8871fccd555e27d4997cc21a2
2016-06-15 22:57:30 +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
9243f38301 Merge \"A11y: Fix notification bounds when top notification is scrolled\" into nyc-dev
am: 2e0aadf256

Change-Id: I73affa5f95d853c34be508da10092e94c7f24e72
2016-06-15 18:06:23 +00: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
ebd701ee3d Merge \"Fix flashlight dim state\" into nyc-dev
am: 817c4ca6d4

Change-Id: I190cc69db49086b4acbf6e99c359ffa93b1ef956
2016-06-15 17:03:45 +00:00
Jason Monk
817c4ca6d4 Merge "Fix flashlight dim state" into nyc-dev 2016-06-15 16:55:24 +00:00
Julia Reynolds
a844f8b293 Merge \"Fix accessibility for autorotate tile.\" into nyc-dev
am: 7f9e4d13c0

Change-Id: Ifb1575b9b50696242c46b690e061fcd350660ed7
2016-06-15 15:02:27 +00:00
Jason Monk
7f25c759e4 Fix flashlight dim state
Change-Id: I7875d4a0c3733ac2462713d7618d1b7595ea2075
Fixes: 29330406
2016-06-15 10:53:03 -04:00
Julia Reynolds
f2958d4fa5 Only reload callback on configuration change.
am: 8d0a400119

Change-Id: I1f3fbfd28483ab27a426ef005fa78553e5185036
2016-06-14 20:54:27 +00:00
Winson
18bb19206a Merge \"Fixing several issues with accessibility\" into nyc-dev
am: 987cd20acf

Change-Id: Ifac613535ad66ebdeab76fa76298375b8b6fd658
2016-06-14 20:54:22 +00: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
3b8d38af16 Merge \"Improve action bar transition\" into nyc-dev
am: 207cbee824

Change-Id: I9fe03bc7409f2631aa8b7a5d1d2a8542d4a1fd3c
2016-06-14 19:56:59 +00:00
Adrian Roos
207cbee824 Merge "Improve action bar transition" into nyc-dev 2016-06-14 19:42:42 +00:00