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
- Better explanations of some strings.
- Fix to use the right package when an item is pressed in
the foreground services dialog.
- Improve java docs on Service.startForeground().
Bug: 37925387
735566 lv - Android - [Source] Context unclear or missing:
Apps running in background
Bug: 37925888
735566 lv - Android - [Source] Context unclear or missing:
Tap for details on battery and data usage
Bug: 37897953
735566 gl - Android - [Source] Context unclear or missing:
LEFT_SIDE, RIGHT_SIDE
Bug: 37943079
Music is dying mid playback
Test: manual
Change-Id: Ied41932c61f59335bd18dfba3fcb13af28a0bddd
...hide themselves
The activity manager now keeps track of all apps that are running
foreground services and builds a notification showing them to the
user. We ensure they are shown to the user for at least 30 seconds
(configurable). If foreground services are executed while the
screen is off, their apps will be shown to the user for at least
30 seconds after the screen turns back on.
While doing this I am also adding a new process state to distinguish
between "important background" stuff that should bypass bg check vs.
ones that don't. By default, these now no longer bypass bg check,
which is really the expected (and documented) behavior. There is a
new bind flag to allow them to bypass bg check, which is currently
only used by the IME.
Also add some new job scheduler commands that will be used to
write new tests cases for jobs timing out.
Bug: 36891897
Test: manual
Change-Id: Ied3f7b56444254513fd776f06b88bc0e54704958
Notes:
- Subclasses of KeyguardIndicationController can now provide indication text to be displayed when trust has been granted.
Test: runtest sysui
Bug: 37487319
Change-Id: I030954d51a5c3000c45e465fcd261e4887520aa6
Fixes: 37270258
Test: Double tap, make sure device does not wake up to lockscreen, only to ambient display
Change-Id: Iaf0c3bfb5dcf566adae7f37b51c866d92bce7a1d