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
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
Added secondary label text for Night Light.
2 modes with 2 text options:
1) Twilight - until sunrise OR on at sunset
2) Custom - until <time> OR on at <time>
Test: Visually tested - tried all 4 variations + manual toggle + updates
Bug:69973398
Change-Id: I5d0d213b470608b7dfa9d6cce0c33be1365e10a0
Refactor TakeScreenshot code out of PhoneWindowManager;
add power menu item for Screenshot.
Test: runtest systemui
Change-Id: Ie8602386cd59f8fd991369d2117f7c4d76f65e41
This adds support for enabling the hybrid notification using data
from Device Health Services.
Test: SystemUITests
Bug: 27567513
Change-Id: I5fae3d85f2d4956210bb067ff7c8b14146c8c89c
It shows paired bluetooth devices, filtered on major type
audio_video and uncategorized.
Test: manual
Bug: 63096355
Change-Id: I606cbd581f382752a05b4ffec7707427252ac788
- Move the volume dialog back to the top
- curve some corners
- Add a ringer toggle row
Bug: 63096355
Test: manual
Change-Id: Ife8a3fa4fabf3a0f26ddca3cf05b16425b325ef3
status_bar_settings_signal_meter_wifi_nossid
and
status_bar_settings_signal_meter_disconnected
Are no longer used as of what looks like L, and the latter string had an
errant capitalized "Internet" which is silly.
Test: it compiles?
Change-Id: I7b53994d85808743264fef7500d12ef4b3b69954
Fixes: 69389014
Each USB device can have one default handler. This app is launched when
the device is plugged in. A default handler automatically gets
permission to access the device when launched.
All other apps have to request the permission to access the USB device
via UsbManager.requestPermission. In the permission dialog there is an
option to make the app the default app for the device. Of course this
only makes sense if this app declares the right properties to be
auto-launched. Hence check this and only then show this options.
Also made the string in the dialogs easier to understand.
AccessoryFilter and DeviceFilter needed to be copied so I can access
them from system-ui. No code change in these classes.
Test: requested permissions from app that could by the default for the
device and from an app that could not. Also tested "confirm" flow
that is executed when the device is plugged in and a app that
might be default is installed.
Bug: 67381583
Change-Id: I12eb7efed0ad107c70ae32433a5629108f252486
- Creating com.android.system.shared library with recents model code and
corresponding recents tests
- Removing notion of blacklisted apps since that is now obsolete.
Bug: 67510855
Test: It builds, Recents runs
Change-Id: Ib1f5eefa6e4d4964366061246002509e2e15b19e
Previously, the USB debugging dialog was suceptible
to tapjacking over tcp if a malicious party obscured
the USB debugging text to mask the id of the system
requesting permissions.
The fix prevents users from giving permissions if the
dialog being displayed is partially obscured. Instead,
it will present a toast explaining to the user why they
cannot give permissions.
Test: manual
Bug: 62187985
Change-Id: I3bdcd1876cd6dbe8a728bbce74edb52ab79f3e4c
- Do not call out the channel name, just display "Notifications"
- Secondary text: "Notifications from this app can't be turned off"
- Button string is "More Settings" instead of "ALL CATEGORIES"
Fixes: 37539747
Test: runtest systemui
Change-Id: I75c80e0ef1ba320c9ff5cccf073116b70bb5a3bc
Test: Show snooze menu, note the default is 1 hour, expand the menu, note
that there is an additional option for 2 hours
Bug: 38207398
Change-Id: I027990a373c14de0a88b3ceb1cde7a3e747a7824
Notes:
- Subclasses of KeyguardIndicationController can now provide indication text
to be displayed when a trust agent is managed.
Test: runtest sysui
Bug: 38397982
Change-Id: I1b7ee3041aceae94d12da25608f8e7b2e9ebbbe2
Test: Check tuner for items, also try moving PIP around note it doesn't
minimize, also try long drag to dismiss, note it doesn't dismiss
Bug: 37476193
Change-Id: I1ac1abd9c75d40bd84f59dab8aba5cdb98cd59bb