10373 Commits

Author SHA1 Message Date
Jason Monk
3506621975 Merge "Fix network name not showing in QS sometimes" into mnc-dev 2015-07-28 18:05:49 +00:00
Jason Monk
e427cb8076 Add sizes to SysUI tests
Change-Id: I27e4a60e2658d3a5db32cdeb73bd0a031865ce86
2015-07-28 10:06:01 -04:00
Jorim Jaggi
965bab2bae Merge "Allow assist gesture when notification shade is expanded" into mnc-dev 2015-07-28 00:36:14 +00:00
Fyodor Kupolov
136a2e7fc9 Introduced android.permission.PEERS_MAC_ADDRESS permission
Introduced signature-level permission android.permission.PEERS_MAC_ADDRESS.
It allows access to MAC addresses of WiFi and Bluetooth peer devices, without
having location permission or even if location is turned off.

Bug: 21852542
Bug: 22728628
Change-Id: If0ff80636e57b38dbedc8fcf5f520a3a6d6f734e
2015-07-27 12:33:43 -07:00
Jason Monk
661794307a Merge "Fix QS switch accessibility problem" into mnc-dev 2015-07-27 19:27:29 +00:00
Jason Monk
fc2506255f Fix QS switch accessibility problem
Set the switch state so it can be read back correctly.

Bug: 22710906
Change-Id: I2bcba96e53813118eb2be8dcb7e0b7d547767550
2015-07-27 15:17:14 -04:00
Jorim Jaggi
9e49b5d679 Merge "Move PIN/Pattern appear animation to RenderThread (1/2)" into mnc-dev 2015-07-27 18:55:29 +00:00
Chris Wren
11f4cb1bcc Merge "decide interruptions based on current data, not previous data." into mnc-dev 2015-07-27 13:10:11 +00:00
Selim Cinek
d9f1a0c3a4 Merge "Fixed wake to unlock when the device has never been unlocked" into mnc-dev 2015-07-25 01:48:16 +00:00
Selim Cinek
ad7310f013 Fixed wake to unlock when the device has never been unlocked
Previously the fingerprint could still unlock the device
when waking up with the fingerprint sensor, since we were not
checking if it is allowed.

Bug: 22622999
Change-Id: I039a4e0701c1f161f227cf6f1d25e8147548db47
2015-07-24 18:15:43 -07:00
Selim Cinek
f8acd1d8d6 Merge "Adapted the behavior when unlocking with fingerprint is not allowed" into mnc-dev 2015-07-25 00:33:14 +00:00
Adrian Roos
4629f1c58c Merge "Fix janky add guest transition" into mnc-dev 2015-07-24 21:42:46 +00:00
Jorim Jaggi
18976a5195 Allow assist gesture when notification shade is expanded
Bug: 22669852
Change-Id: Icf7cf981ca9b6cd5547b62fb4ae97f13f1033395
2015-07-24 13:20:29 -07:00
Amith Yamasani
2c5aeeaaaa Merge "Require permission for internal broadcast" into mnc-dev 2015-07-24 19:12:16 +00:00
Fyodor Kupolov
a5e25f33a5 Merge "Added ACCESS_COARSE_LOCATION permission for BT" into mnc-dev 2015-07-24 17:54:14 +00:00
Julia Reynolds
ea00f320ee Merge "Prevent lockscreen album art from flickering on metadata change." into mnc-dev 2015-07-24 14:34:02 +00:00
Amith Yamasani
d81f8270be Require permission for internal broadcast
It was possible for other apps to request removal of the guest user
that was handled by an internal receiver in SystemUI.

Fix requires the broadcast sender to have an internal permission
so that only SystemUI can send that broadcast (PendingIntent).

Bug: 22671268
Change-Id: I63a8ced692e6d1cb2872b962ad247a827dbafbc6
2015-07-23 17:59:41 -07:00
Adrian Roos
0063e0bcd5 Merge "Disable Keyguard affordances before setup is completed" into mnc-dev 2015-07-23 23:56:37 +00:00
Selim Cinek
1fcafc49ad Adapted the behavior when unlocking with fingerprint is not allowed
We now keep the fingerprint running and switch to the bouncer when
the user successfully authenticated.

Bug: 21618072
Change-Id: If00061cb3914afd4d7a7d75964594484c792a890
2015-07-23 15:27:32 -07:00
Jason Monk
157ad64dbe Merge "Fix emergency only when no sims" into mnc-dev 2015-07-23 20:24:32 +00:00
Julia Reynolds
c2df1ab48d Merge "Set 'the' media notification to the notification actually playing." into mnc-dev 2015-07-23 20:08:33 +00:00
Fyodor Kupolov
a86101724b Added ACCESS_COARSE_LOCATION permission for BT
It is required to receive BluetoothDevice.ACTION_FOUND intents

Bug: 21852542
Change-Id: I0437c74c753567e8c6beb4bf70a30ddf0aaa4f3b
2015-07-23 12:47:06 -07:00
Jorim Jaggi
1d071ce9b1 Make sure expandingFinished gets called when going into QS
Bug: 22351040
Bug: 22306637
Change-Id: I8d1f9fb400b328753bd8444bf3b4a744ad23a53a
2015-07-23 18:56:03 +00:00
Jason Monk
b0808aab0c Fix emergency only when no sims
Need to look at a ServiceState to determine if we are actually in
a emergency only state.

Bug: 22619451
Change-Id: I06a2a6fab85ed2ce41d8f7cbb98a1f169ec61b33
2015-07-23 14:20:18 -04:00
Adrian Roos
a4eba9fc35 Disable Keyguard affordances before setup is completed
Bug: 22665279
Change-Id: I5d3c62a5b6896b808d55026df67022192f0b8bfd
2015-07-22 19:13:19 -07:00
Adrian Roos
f217064404 Merge "Fix cut off charging indication in certain scripts" into mnc-dev 2015-07-23 00:50:55 +00:00
Adrian Roos
88b1193ea2 Fix janky add guest transition
Delay updating the user switcher until the
switch is complete, so we aren't showing
an intermediate state while the screen is
frozen.

Also pokes the UserInfoController to update
the user avatar while the screen is still frozen
so it is ready by thawing time.

Bug: 22557684
Change-Id: I020b8c1ad42c03ab9162ed384ecfe54ed12f998d
2015-07-22 23:34:11 +00:00
Adrian Roos
7748ea5fcd Merge "Protect demo mode commands with permission" into mnc-dev 2015-07-22 23:10:09 +00:00
Jorim Jaggi
613f55fbbb Move PIN/Pattern appear animation to RenderThread (1/2)
Bug: 22205322
Change-Id: I253f20a397ab89cb78254338a0254619232d7300
2015-07-22 15:23:52 -07:00
Chris Wren
db2b4ba69d Merge "Don't crash sysui when advisory calls fail." into mnc-dev 2015-07-22 21:18:40 +00:00
Julia Reynolds
4b9658ae9f Prevent lockscreen album art from flickering on metadata change.
Bug: 22626989
Change-Id: Ie3030e570902bf985f02549839eebff4c8a8849b
2015-07-22 17:07:42 -04:00
Chris Wren
26505585a4 Don't crash sysui when advisory calls fail.
Bug: 22653721
Change-Id: I8e2fc3887b7c71f99eb02306ce308f722dba4d07
2015-07-22 17:03:17 -04:00
Adrian Roos
0b923a2968 Fix cut off charging indication in certain scripts
Bug: 22620003
Change-Id: Ib9d8eb4bb0442db86c35374435086e04e71742d7
2015-07-22 12:17:54 -07:00
Jason Monk
a403159a3b Add metrics to tuner
Bug: 22462605
Change-Id: I075f9a25630a89e85dd17603297565988c38075b
2015-07-22 14:41:02 -04:00
Jason Monk
431ad737a4 Move tuner enable point to QS
Long clicking on settings gear in QS causes it to accelarate and
spin, when released it will open and enable the tuner.  On first
opening there will be a warning dialog.

Also add way to disable tuner from tuner screen. This way it can
be removed from its former home in Developer Settings.  All tuner
settings are reset when disabled to match developer settings
behavior.

Bug: 22462605
Change-Id: Ie700a6a15e6c3caccf7cd1885da73328e6fac6ab
2015-07-22 14:40:53 -04:00
Julia Reynolds
d30e42da05 Set 'the' media notification to the notification actually playing.
Bug: 21554784
Change-Id: Ie6d4e48506805b1d5d45e7e942a259e8268916c1
2015-07-22 12:26:53 -04:00
Jason Monk
41cfd3f8c0 Merge "Fix blank tiles on QS rotate" into mnc-dev 2015-07-22 12:56:40 +00:00
Jason Monk
a910a04b8a Merge "Fix crash in NetworkControllerImpl" into mnc-dev 2015-07-22 12:54:20 +00:00
Jorim Jaggi
20df623459 Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev 2015-07-21 22:46:30 +00:00
Jorim Jaggi
c1244a2995 Merge "Touch, wake and unlock" into mnc-dev 2015-07-21 21:53:11 +00:00
Jorim Jaggi
19695d9711 Add callback to voice interaction session for lockscreen shown
Bug: 22402726
Change-Id: Iaf83e2f2b0389d74b6ecf480aa91a34443803f7b
2015-07-21 12:35:16 -07:00
Todd Kennedy
f2805bcbe1 Merge "Use RingtonePlayer to get ringtone title" into mnc-dev 2015-07-21 18:11:19 +00:00
Jason Monk
878c093336 Fix blank tiles on QS rotate
Some tiles were skipping updates due to lack of information, make
these tiles handle a clear state better.

Bug: 22531578
Change-Id: I7bd75b3e032592a496fcaf080ce9cbe3b5cf20da
2015-07-21 10:18:01 -04:00
Todd Kennedy
68de157b78 Use RingtonePlayer to get ringtone title
Instead of requiring every application that calls Rintone.getTitle()
to request android.permission.READ_EXTERNAL_STORAGE, pass the call
through to the system UI process. We only do this for media store
URIs.

Bug: 22067670
Change-Id: I38cf3fb8d769ef6984c41a7b04afbbd4c57175ce
2015-07-20 17:24:15 -07:00
Jorim Jaggi
740452e875 Touch, wake and unlock
- Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent
the device from sleeping.
- If we get a successful fingerprint, wake the device up, immediately
dismiss the keyguard and tell PWM that we kicked off our frame that
will represent the correct state.
- PWM then waits for this frame to be drawn, and then turns on the
screen, which results in unlocking directly to the previsouly
opened app.

Bug: 21855614
Change-Id: I5f43df17fa5e4e9c6a6392eef4a4590b07df4f96
2015-07-20 23:52:20 +00:00
Jorim Jaggi
1f98c62f9a Fix unnecessary layer creation for appear animation
Bug: 22561692
Change-Id: I9e5a52f8113d1cbb5afba61d7979770c2dddc5ed
2015-07-20 23:39:46 +00:00
Jorim Jaggi
86b273f1cc Fix jank in swipe-up to unlock
Some stuff is slow in the swipe-up to unlock transition. Introduce
DejankUtils to execute it when RenderThread is doing its work.

Bug: 22205322
Change-Id: I7089f0a1bdca13ad13a1e305a7bff32276a3cd53
2015-07-20 21:50:33 +00:00
Jorim Jaggi
f87635813c Allow navigation bar drawing during window animations
Bug: 22605259
Change-Id: I080dc7bf2dfdc6666a5f38eebecc7c9a6034d04a
2015-07-20 21:49:23 +00:00
Jason Monk
33c619bb52 Merge "Fix hotspot brokenness" into mnc-dev 2015-07-20 20:47:33 +00:00
Dianne Hackborn
78ead58df0 Merge "Fix issue #22531747: Assist info should declare if user has disabled..." into mnc-dev 2015-07-20 19:50:50 +00:00