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
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
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
- Turn off the affordance that enables the tuner
- Bump the tuner version db and disable the tuner
Test: manual
Change-Id: Id2d2a4005ff88ca94c7abed5f4a6b3c71d46b9ef
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
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
- 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
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
- 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
- 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
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
- 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
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
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
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
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