Commit Graph

24975 Commits

Author SHA1 Message Date
TreeHugger Robot
8a972cf380 Merge "[QS] Fix irritating animation for QS" 2018-01-30 01:00:18 +00:00
Alison Cichowlas
087fc33b05 Merge "Revert "Security model for moving sharesheet to systemui"" 2018-01-30 00:00:10 +00:00
Selim Cinek
d7ef818b62 Merge "Added a timeout to the launch animation" 2018-01-29 23:49:18 +00:00
Selim Cinek
fc5c199fd8 Added a timeout to the launch animation
After the timeout was hit, we stop blocking touches.

Bug: 69168591
Test: launch notification from service
Change-Id: I6bbb0d603631164cefdbadf0eb9d92af0aaeb84e
2018-01-29 13:46:45 -08:00
Dan Willemsen
591cd60426 Merge "Differentiate SystemUISharedLib library vs apk" 2018-01-29 21:40:13 +00:00
Alison Cichowlas
76f0ccb5f1 Revert "Security model for moving sharesheet to systemui"
This reverts commit 88f3d4dbe1.

Bug: 72554856
Test: repro instructions in bug
2018-01-29 16:34:33 -05:00
TreeHugger Robot
0aa93b9563 Merge "Fix battery background color in QS" 2018-01-29 21:14:40 +00:00
Rohan Shah
a840199853 [QS] Fix irritating animation for QS
We're animating 2x the icons and, due to the transparent grey
background color, it looked like the icons were getting darker.

Fixed by having it exclude the full icon frame while animating.

Test: Visually
Bug: 72173914
Change-Id: Ie36973ab44a86e6e1edd99b9266420a274d9aaa2
2018-01-29 12:20:31 -08:00
Evan Laird
ef160f239a Fix battery background color in QS
Battery was only getting a foreground color, not background. Fix by
using the SystemUI context so it finds the correct light colors for both
foregorund and background.

Test: visual with light wallpaper
Change-Id: I6e18ce9331a5e78241d8c24ba96a8b843c646813
Fixes: 72431673
2018-01-29 14:10:38 -05:00
TreeHugger Robot
1252ad9ff7 Merge "Re-initialize the brightness slider when out of sync." 2018-01-29 17:28:26 +00:00
Lucas Dupin
1f73477d78 Merge "Lock screen message alignment" 2018-01-29 17:15:09 +00:00
Winson Chung
7c00d9a4bf Merge changes I423d6df4,I7b8a079b
* changes:
  Piping animation signal to onboarding.
  Expose call to start screen pinning on a task.
2018-01-29 16:51:16 +00:00
Jason Monk
e715ce13cb Merge "Fix nav keys being tiny on sw600dp devices" am: a20239bf71 am: 38cbc885d1
am: 0b922f2dd8

Change-Id: Idae1cdbac391e00e4e2f623017b343ec9de9cb44
2018-01-29 16:15:42 +00:00
Jason Monk
0b922f2dd8 Merge "Fix nav keys being tiny on sw600dp devices" am: a20239bf71
am: 38cbc885d1

Change-Id: I3ebdf0ad481dcf9e6ec2d12151d591a24c40458a
2018-01-29 16:06:51 +00:00
Jason Monk
38cbc885d1 Merge "Fix nav keys being tiny on sw600dp devices"
am: a20239bf71

Change-Id: I30fbb071d290ff8477560f25216dd1ea04c789a6
2018-01-29 15:56:06 +00:00
TreeHugger Robot
431af2d3f6 Merge "Alarms and Media visibly muted in PriorityOnly dnd" 2018-01-29 15:45:39 +00:00
Michael Wright
a72faf947f Re-initialize the brightness slider when out of sync.
Whenever the brightness controller stops listening to brightness events,
it could get out of sync and so will animate when next opened and it
re-registers. We want to avoid this animation since it looks odd to the
user so we always re-initialize whenever we might get out of sync.

Bug: 72635553
Test: manual
Change-Id: I3a7e05e18652af33511a5de5a8ebeee01d2f0349
2018-01-29 15:17:20 +00:00
Treehugger Robot
a20239bf71 Merge "Fix nav keys being tiny on sw600dp devices" 2018-01-29 14:55:21 +00:00
TreeHugger Robot
c41d14828f Merge "LogoutAction should store current user id before swithcing" 2018-01-29 12:03:24 +00:00
Bill Yi
9c29821a6a Import translations. DO NOT MERGE
Change-Id: Ib683db19ff4cee271db11bdb36956cbec7102804
Auto-generated-cl: translation import
2018-01-28 05:14:29 -08:00
TreeHugger Robot
6b73b46737 Merge "Keyguard slice font and separator" 2018-01-27 09:27:19 +00:00
TreeHugger Robot
5c52a72ca4 Merge "Removes the SysUi hook for car VolumeController" 2018-01-27 03:51:29 +00:00
TreeHugger Robot
8036428c56 Merge "Revert "Move A11y events throttling away from View(RootImpl)"" 2018-01-27 03:45:39 +00:00
Lucas Dupin
37d411872e Lock screen message alignment
Fixes issue where lock screen message would be behind the
notification shade.

Test: visual
Change-Id: I4f75cfc4a8099f18465770195bb963e5f7e90de2
Fixes: 72419031
2018-01-27 02:49:32 +00:00
Dan Willemsen
c355730e34 Differentiate SystemUISharedLib library vs apk
The build system doesn't particularly like a java library and an apk
with the same name, so rename the apk that doesn't seem to be used.

Test: m SysUISharedLib
Test: m SystemUISharedLib
Change-Id: Ib3fc80e420285f667209f729906802e5217cdf25
2018-01-26 17:43:38 -08:00
TreeHugger Robot
83529eef24 Merge "Prevent 2nd action down motionevent on nav bar press" 2018-01-27 00:04:27 +00:00
Pavlin Radoslavov
a6d7e270af Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP" am: 3151e86aa8
am: b51d583e32

Change-Id: I80fe36452b078b25f52eef6f22acdb20e06c10f5
2018-01-26 23:00:34 +00:00
Pavlin Radoslavov
b51d583e32 Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP"
am: 3151e86aa8

Change-Id: I1f1e62dde014fe4b0a2d3e93aeea0f305232bc01
2018-01-26 22:53:02 +00:00
TreeHugger Robot
d55e3e7574 Merge changes Iac1c21ce,I2329432a
* changes:
  Add relevant SysUI values to notch emulation packages
  Move QS height values to frameworks/base/core/res/
2018-01-26 22:35:07 +00:00
Matthew Ng
0126d69858 Prevent 2nd action down motionevent on nav bar press
Since motions events are proxied to launcher on intercept and on touch,
when user touches it used to send both. Prevent the action down proxy
event onTouchEvent will only send one touch event if nothing else
handles it.

Bug: 67957962
Test: manual
Change-Id: Ia2a6bfe6cd963f9383a1468f5ba64dc28005a394
2018-01-26 14:08:53 -08:00
Lucas Dupin
b16d823650 Keyguard slice font and separator
Removed white separator between text fields, fixed
style attribution.

Change-Id: Ic66b65bfd62fd8c701fea68aaad4f2387999b92a
Fixes: 71769640
Test: visual
2018-01-26 12:44:52 -08:00
Winson Chung
8ae17be8ed Piping animation signal to onboarding.
- Use the animation signal to confirm gesture completion

Bug: 70180942
Test: Manual, swipe up from Launcher

Change-Id: I423d6df4fc0e7a759d86dbc42d3423c64eae5c1a
2018-01-26 11:35:54 -08:00
Eugene Susla
72c510f1c4 Revert "Move A11y events throttling away from View(RootImpl)"
This reverts commit e4d31b3c10.

Fixes: 71904218
Test: presubmit
Change-Id: Id73bde1a0c11696cf561c84cde027cdca4c6a00f
2018-01-26 11:32:25 -08:00
Winson Chung
caf2b81186 Expose call to start screen pinning on a task.
Bug: 70294936
Test: Manual
Change-Id: I7b8a079b928a9a8bf887aab7ae0bd6f93ac9d7e4
2018-01-26 11:22:09 -08:00
TreeHugger Robot
1a5a7061eb Merge "[QS] Update hotspot secondary label transient text" 2018-01-26 19:13:36 +00:00
Pavlin Radoslavov
03d44ce815 Add Settings support for Bluetooth Multi-A2DP and Multi-HFP
When there are multiple connected A2DP/HFP devices, if a connected
device's name is clicked on, that device will be chosen as
Active - i.e., it will be the device chosen for audio out / phone call.

Also:
 * Listen to the BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED
   and BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED intents
   and update the the status of the current active device.
 * When connecting a new device, and Multi-A2DP is enabled, don't
   disconnect the currently connected device.
 * Update the implementation of isA2dpPlaying() so it correctly checks
   all connected devices, not only the first one.

Test: Manual: multiple connected A2DP devices, and selecting each as
      the Active Device.
Bug: 64767509

Change-Id: I69f3c85ebf5a7f07f6deed484c6dd65705460ae4
Merged-In: I69f3c85ebf5a7f07f6deed484c6dd65705460ae4
(cherry picked from commit 1af33a1926)
2018-01-26 11:12:17 -08:00
Beverly
925cde8f74 Alarms and Media visibly muted in PriorityOnly dnd
- if alarms and/or media cannot pass dnd and the phone is currently
in priority only dnd, then the alarm and/or media volume stream
will appear muted in the volume dialog and sound settings
(Settings > Sound)
- if all behavior for priority only dnd is not allowed to bypass dnd
(discluding alarms and media), then ringer is muted when priority-only
dnd mode is on. If a user clicks this ringer in the volume dialog, then
dnd ends
- Updated default zen config to version 3 (added alarms and media)
Test: manually toggle alarms + media in Settings > Sound > DND >
Behavior, toggle on/off dnd and then look at volume dialog and
volume bars in Settings > Sound
Test: runtest --path cts/tests/tests/media/src/android/media/cts/AudioManagerTest.java
Fixes: 72052742

Change-Id: Ia9e809ec2be93cb5a9ba6518dce04bf3ce45110b
2018-01-26 18:39:06 +00:00
TreeHugger Robot
52f8309a40 Merge "Send less touches to the seekbar" 2018-01-26 18:19:43 +00:00
TreeHugger Robot
b69f9bdd41 Merge "QS dnd icon is always the same dnd icon" 2018-01-26 16:04:29 +00:00
TreeHugger Robot
c2c8acf505 Merge "Remove QSPanel bounds after expansion animation." 2018-01-26 14:36:40 +00:00
Julia Reynolds
9ef3cc5e12 Send less touches to the seekbar
Test: manual
Bug: 63096355
Change-Id: I19d35f157d52ab6c396cbb8c7474eb42e2d6cf10
2018-01-26 08:33:54 -05:00
Alex Chau
edb6a01230 LogoutAction should store current user id before swithcing
- Without this currentUserId will change and SysUI crash when trying to stop system user

Bug: 71889217
Test: No crash when using logout button, and user is stopped
Change-Id: Ifeb083fd61f5cccf7dba4e3e3c2618762f6233b8
2018-01-26 13:25:18 +00:00
TreeHugger Robot
57a7a30ff9 Merge "Fix location QuickSettings bug" 2018-01-26 01:19:33 +00:00
TreeHugger Robot
61ec9aeba7 Merge "Fixed the launch animation with flag auto cancel" 2018-01-26 01:16:31 +00:00
Winson Chung
66f0026f3f Merge changes from topics "reland_recents_animation", " reland_recents_animation"
* changes:
  Fix issue with reparenting stacks on displays.
  Revert "Revert "4/ Update SysUI shared lib for Recents transition""
  Revert "Revert "3/ Add input consumer to capture touches during a Recents transition""
  Revert "Revert "2/ Add support for remote Recents animation""
  Revert "Revert "1/ Create display content window controller to position stacks in the display""
2018-01-26 00:46:34 +00:00
TreeHugger Robot
f02a8f4e3a Merge "Make tests less flaky?" 2018-01-26 00:09:03 +00:00
Tarandeep Singh
20c7cf950d Merge "Make IMS.setBackDisposition() work." 2018-01-25 23:57:34 +00:00
Selim Cinek
a70703175c Merge "Fixed a crash in SystemUI" 2018-01-25 23:37:38 +00:00
Selim Cinek
7e222c3c15 Fixed the launch animation with flag auto cancel
Previously the cancelling wasn't delayed until the
panel collapsed, leading to bad transitions and
animations. Also fixed double clicks better.

Change-Id: I2523e226b60b3d5744a920582cb99f5ca8042fdc
Fixes: 69168591
Test: add notification with auto cancel, click on it
2018-01-25 23:31:29 +00:00
Hongwei Wang
efa42d2cc5 Removes the SysUi hook for car VolumeController
Bug: 64448388
Test: None
Change-Id: I367c392adbf12f07ee5ad0f0cb4b60f0eb769c84
2018-01-25 14:53:11 -08:00