Commit Graph

16908 Commits

Author SHA1 Message Date
TreeHugger Robot
9683b889d9 Merge "add atom and logging for Picture-in-Picture feature" 2018-01-23 05:34:29 +00:00
TreeHugger Robot
6703f8e67d Merge "Notification shade expansion animation" 2018-01-23 04:09:19 +00:00
Mike Digman
034b3a8f4c Merge "Add a11y, hover support to rotate suggestion button" 2018-01-23 02:44:40 +00:00
TreeHugger Robot
faea086271 Merge "Fix crash when PhoneStatusBarView has no cutout" 2018-01-23 02:27:26 +00:00
Mike Digman
90402957be Add a11y, hover support to rotate suggestion button
Tweaks timeouts from volume dialog for a11y and hover. Repurposes
volume dialog code to detect when a11y feedback services are active.
New content description needs to be localized. Also includes some 
related cleanup.

Test: a11y manual by toggling service, hover manual with usb mouse

Change-Id: Ife12c74910c1658e06e75a4baf393a56568e985b
2018-01-22 16:05:51 -08:00
TreeHugger Robot
2be026a271 Merge "Add Settings support for Bluetooth Multi-A2DP and Multi-HFP" 2018-01-22 23:59:32 +00:00
TreeHugger Robot
2835de353f Merge "Clicking QS DND tile triggers priority-only dnd" 2018-01-22 23:53:12 +00:00
Lucas Dupin
d285cf0d06 Notification shade expansion animation
Bug: 64155983
Test: visual
Change-Id: Ife5be36746c8a5f79d67340e2cf9af47a4b73913
2018-01-22 15:45:43 -08:00
Evan Laird
cda685dbe3 Fix crash when PhoneStatusBarView has no cutout
Not all layouts will have cutouts after all, and PhoneStatusBarView
can't expect there to be one for no reason.

Test: manually verified that removing the cutout won't cause issues
Change-Id: Id02b467c7a650c12ab61f294eec576420dccd130
Fixes: 72325926
2018-01-22 18:37:15 -05:00
TreeHugger Robot
1776fa33f1 Merge "Bring back the date!" 2018-01-22 22:38:16 +00:00
TreeHugger Robot
971270335a Merge "Disable tuner" 2018-01-22 21:47:18 +00:00
Beverly
3e906c50d1 Clicking QS DND tile triggers priority-only dnd
Test: manual (tap QS dnd and see priority only triggered)
Bug: 63077372
Change-Id: I78df9a5ccd76af7a156ae71b6bb9b40c546e2e81
2018-01-22 20:00:53 +00:00
Pavlin Radoslavov
1af33a1926 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
2018-01-22 19:44:03 +00:00
Chenjie Yu
52cacc6c1a add atom and logging for Picture-in-Picture feature
Test: manual test
Change-Id: I883b56ef5e922e513f218309b57d7df5753996c0
2018-01-22 10:23:21 -08:00
TreeHugger Robot
db8e630337 Merge "Screenshots - add edit action and remove delete." 2018-01-22 17:55:13 +00:00
Jason Monk
f87aba0a83 Disable tuner
- Turn off the affordance that enables the tuner
 - Bump the tuner version db and disable the tuner

Test: manual
Change-Id: Id2d2a4005ff88ca94c7abed5f4a6b3c71d46b9ef
2018-01-22 12:54:15 -05:00
TreeHugger Robot
775480ead8 Merge "QS visual updates for P" 2018-01-22 16:48:59 +00:00
TreeHugger Robot
80336a8a31 Merge "Initial support for camera cutout in CollapsedStatusBar" 2018-01-22 16:39:25 +00:00
Evan Laird
4ea2a49fae Bring back the date!
QS shows the date once more. This time it'll be on the top, just next to
the time. Tapping on the date will bring the user to alarms for now
because there is no public AlarmClock action that will bring the user to
the main clock tab in DeskClock

Test: visual
Change-Id: I4d0eb049e98d4bea0f59ef0a7b7da17907c52b67
Fixes: 71357632
2018-01-22 11:29:12 -05:00
Alison Cichowlas
134f2cc9b1 Screenshots - add edit action and remove delete.
Test: Manually verified new notification action.
Bug: 65386835
Change-Id: Ia71ffc202970e32062d4c3561db9ab1da9137bf2
2018-01-22 11:08:26 -05:00
TreeHugger Robot
3c3ac03af2 Merge "Check attached to window before calling addTransientView." 2018-01-22 08:11:17 +00:00
TreeHugger Robot
706012918f Merge "Add tests for NotificationGutsManager" 2018-01-21 19:35:21 +00:00
TreeHugger Robot
7a3efdb9c6 Merge "Update output chooser for calls" 2018-01-21 19:30:26 +00:00
Jason Monk
e8f8be7698 Revert "Revert "Slices permission model""
This reverts commit 1214c878a8.

Test: boot device
Bug: 72270082
Bug: 68751119
Change-Id: I7d0e709a04ffeb8b877aef539a978ee251a75742
2018-01-21 11:53:28 -05:00
TreeHugger Robot
6ebcfe3109 Merge "Revert "Slices permission model"" 2018-01-21 13:14:37 +00:00
Artem Iglikov
1214c878a8 Revert "Slices permission model"
This reverts commit f762496b7f.

Reason for revert: continuous crash, blocks LON from working on master

Test: flashed build from TreeHugger and verified that it boots and doesn't crash anymore
Bug: 72270082
Change-Id: I68d771357488c5c17ab00803d8f51a6c7ed37d01
2018-01-21 13:09:23 +00:00
TreeHugger Robot
6e3be00778 Merge "Slices permission model" 2018-01-21 03:31:27 +00:00
Mike Digman
b1f6ddc3ce Merge "Send valid and invalid rotation proposal changes to SysUI" 2018-01-21 02:23:43 +00:00
Jason Monk
f762496b7f Slices permission model
- Launcher/assistant get access to all slices
 - Apps with uri access to access a specific slice
 - Apps without access get a permission granting slice
 - If the user authorizes access to the slice for the app
   then the app will be granted access to the app's slices
   (this happens through a temp grant in the service, and a
   full uri grant from the app the next time it binds)
 - Add a hint that apps to add to allow them to return different
   slices depending on the caller, this allows custom permission
   checks.

Test: runtest --path frameworks/base/services/tests/uiservices
Bug: 68751119
Change-Id: I8f8cd0182cfcbfba3f307e2eaba5aae6f6fbe214
2018-01-20 20:35:31 -05:00
Lucas Dupin
3fcdd4710e Fix AOD battery updates
It's not accurate to assume that events are only interesting when
the keyguard is visible. The user might be unlocked watching a
video or executing any other task and will miss a battery update.

Now dumping KeyguardIndicationController internals, to make it
easier to debug future issues.

Change-Id: I20efa011e20e92713a19fac32acea40604133f6d
Fixes: 72211244
Test: adb bugreport
Test: Play video, look at battery on AOD
Test: Lock phone, wait for battery update
2018-01-20 20:08:22 +00:00
Julia Reynolds
5daa47270b Update output chooser for calls
- Hide media routes while in call
- Change the title while in call
- Add a title while not in call, too

Bug: 63096355
Test: manual
Change-Id: Ib7bcd314efb010fe903327dd4d9bdbfe521c1f73
2018-01-20 15:29:41 +00:00
TreeHugger Robot
7e5da5be94 Merge "Fixed the possibility to report rejected touch events" 2018-01-19 20:43:19 +00:00
Mike Digman
e07773175a Send valid and invalid rotation proposal changes to SysUI
SysUI needs a signal to remove active proposals if the proposal 
changes to an invalid one.

Test: manual, visual
2018-01-19 12:41:51 -08:00
Winson Chung
296cc17a5f Merge "Fix Recents regressions" 2018-01-19 18:08:53 +00:00
TreeHugger Robot
bf2d3fa9b9 Merge "Fix regression in launch settings performance" 2018-01-19 17:17:24 +00:00
TreeHugger Robot
f4e08c3efe Merge "Add canChildBeDraggable() method to SwipeHelper's callback" 2018-01-19 17:06:12 +00:00
Julia Reynolds
0fbbf7c098 Merge "Display the active volume stream." 2018-01-19 15:40:35 +00:00
Evan Laird
39254d469d QS visual updates for P
- Black status bar area up top
- Gradient view behind QQS area
- Added stub view for system icon area
- Most things are parameterized for qs_header_system_icons_area_height,
so this can be moved and overlaid for devices with a notch

Test: visual
Bug: 70799006
Bug: 63772836
Change-Id: Iee3a975f50d572084de370d1b183a37f5e8e9e1a
2018-01-19 09:31:19 -05:00
yoshiki iguchi
a85c2a0032 Add tests for NotificationGutsManager
This CL adds two tests for NotificationGutsManager:
- opening and closing guts
- Reinflate and replace guts by changing density (or font scale)

Bug: None
Test: Compiled and ran "runtest systemui"

Change-Id: Ic51fa97d18ec78a2c74dd16d01440a2e0f9991ef
2018-01-19 19:30:11 +09:00
Jeff Sharkey
6f180ea9c6 Merge "Add ability to override subscriber capabilities." am: d6cd4b241a am: 5e097d452b
am: 992cfa2667

Change-Id: I46a6c87751494afca6fdd13736d7a4877e3cc833
2018-01-19 05:25:20 +00:00
Winson Chung
dff7a73979 Fix Recents regressions
- Remove extra argument from the invocation of Recents from AM/WM, fetching
  the states directly. This also fixes the issue with the docked task from
  showing in Recents since the state will trigger the preloaded task stack
  to be invalidated.
- Move Recents stack update to onStart() to ensure that it is updated with
  the changes introduced in ag/3338461
- Fix an issue with the initial state being clobbered when entering split
  screen

Bug: 70279132
Test: Long press recents button to split screen, verify task is not visible
Change-Id: If5a3ca1d86fa0025d6b1e08abf73fe80a390ef8e
2018-01-19 03:44:05 +00:00
TreeHugger Robot
3727179195 Merge "Make NotificationShelf nullable in StackScrollAlgorithm." 2018-01-19 03:36:02 +00:00
Selim Cinek
1ed5004a61 Fixed the possibility to report rejected touch events
The functionality wasn't working properly with AOD

Bug: 71762354
Test: adb shell settings put secure data_collector_allow_rejected_touch_reports 1
Change-Id: I8a74351c65a12ef65d6f13fc60c07b191b7c04cb
2018-01-18 17:20:38 -08:00
Jeff Sharkey
992cfa2667 Merge "Add ability to override subscriber capabilities." am: d6cd4b241a
am: 5e097d452b

Change-Id: Ib22d57c7cde75560cfd5bdd71b75d29b1056f783
2018-01-19 01:11:41 +00:00
Jeff Sharkey
5e097d452b Merge "Add ability to override subscriber capabilities."
am: d6cd4b241a

Change-Id: Id035d437e9b297ba70ba9231f6cfdd44e5b9c257
2018-01-19 01:04:32 +00:00
Jason Monk
0e3aab29ec Fix regression in launch settings performance
Cache a view so we aren't getting a hold of it every frame.

Test: android.platform.systemui.tests.jank
        .SystemUiJankTests#testLaunchSettings
Fixes: 70948188
Change-Id: I27c06155662b890c909b1ee74ce96844e20a3a1d
2018-01-18 19:06:53 -05:00
Leif Wilden
9e1afde8cd Merge "Ensure keyguard is considered unlocked on devices that disable it." 2018-01-18 23:27:37 +00:00
TreeHugger Robot
633792e2d3 Merge "Add time until Night Light is on/off as secondary label" 2018-01-18 21:58:38 +00:00
Jeff Sharkey
75d3189444 Add ability to override subscriber capabilities.
In a future set of CLs, NPMS will offer to override a handful of
capabilities on a per-subId basis.  Define a no-op version of the
interface to make it easier to add new methods in the future.

Test: bit FrameworksNetTests:android.net.,com.android.server.net.
Test: bit FrameworksTelephonyTests:com.android.internal.telephony.dataconnection.DataConnectionTest
Bug: 64133169
Change-Id: I03dfd98463861f0338c4174e8d8a88c300ea5b55
2018-01-18 14:46:13 -07:00
Julia Reynolds
4f9750c42a Display the active volume stream.
Instead of just media.

Test: manual, change volume in a call, with a11y services
on, while connected to external speakers
Fixes: 72142191
Fixes: 72145705
Change-Id: I9ffdd15b2b16b9782ae81ad8925ca4b6ce5a6841
2018-01-18 15:52:06 -05:00