Commit Graph

446 Commits

Author SHA1 Message Date
Jean-Michel Trivi
4c7394a854 Volume dialog controller: make loading of stream names more robust
The loading of the stream type volume names assumes there are
  as many read as declared stream types. Verify this is the
  case, if not, complete the array of names with empty strings,
  or remove unneeded entries.

Test: boot in non en-US language
Bug: 33260083

Change-Id: I6632eadd34c4b8af2c8fd01ae7eae45fc513b3e1
2016-12-02 16:13:06 -08:00
TreeHugger Robot
38d20cc5c9 Merge "Revert addition of a11y stream in VolumeDialogController" 2016-12-01 19:43:22 +00:00
Jean-Michel Trivi
82a6655714 Revert addition of a11y stream in VolumeDialogController
Revert addition of STREAM_ACCESSIBILITY as R.array.volume_stream_titles
  needs to contain STREAMS.length entries in all languages,
  whereas this had only been done for the default system language.

Test: boot in a different language than en-US
Bug: 33260083
Change-Id: If869c5f913bb42b94eeb3fa2e1b6f575a6f7ca70
2016-12-01 08:49:19 -08:00
Bartosz Fabianowski
5f045007e0 Add enterprise disclosure to Keyguard screen
With this CL, a disclosure text is shown on the Keyguard screen when
a Device Owner is managing the device.

Bug: 32692748
Test: runtest --path frameworks/base/packages/SystemUI/tests

Change-Id: I7a48df7dc010c39b2db94fcd26b75313a7ceee08
2016-12-01 10:36:18 +01:00
Jean-Michel Trivi
ac48767f91 Conditional behavior for a11y stream volume
VolumePolicy: define two a11y modes: 1/ legacy where
  a11y volume aliases to media volume, 2/ a11y where
  the a11y volume is independent from any other stream
  type volume.
Refactor accessibility service listening to accomodate
  communicating to the volume controller when the
  a11y service is running.
Make accessibility stream alias conditional on a11y
  service running. Reflect the behavior in the
  volume controller.

Test: enable Talkback and verify logs in Vol controller
Bug 30448020

Change-Id: I80535ba259a22b6d93e62a7b3ca462a19d4c84b7
2016-11-23 16:31:38 -08:00
Jason Monk
97a06a12ed Add switchable theme to tuner
Allows option in tuner to switch between system theme overlays
if multiple exist. Requires a restart to take effect.

Test: Settings -> Tuner -> Other -> Theme
Change-Id: Iea43b9cbb67fd91c6008be594ad4cfd19c3f57ec
2016-11-11 09:01:20 -05:00
Winson Chung
fa7053789f Adding experiment for minimized pinned stack.
- Also refactoring the PIP touch handling to be independent gestures

Test: Enable the setting in SystemUI tuner, then drag the PIP slightly
      offscreen. This is only experimental behaviour, and
      android.server.cts.ActivityManagerPinnedStackTests will be updated
      accordingly if we keep this behavior.

Change-Id: I5834971fcbbb127526339e764e7d76b5d22d4707
2016-11-10 23:09:17 +00:00
Winson Chung
dff5c08bfd Experiment for snapping PIP to closest edge.
Test: Enable in SysUI tuner, drag PIP.  This is only experimental to help
      figure out what UX we want to keep.

Change-Id: I0d6f2f0c5909d6a76aae4a8fb84c5076f6996fdd
2016-11-02 18:25:29 -07:00
Winson Chung
15504af3f7 Experiment with allowing tap to break through to interact with the PIP.
Test: Enable SysUI tuner, tap once on PIP to interact with the activity.
      This is only experimental behaviour, and
      android.server.cts.ActivityManagerPinnedStackTests will be updated
      accordingly if we keep this behavior.

Change-Id: I278ab8c360c44718cfcac0fd761f476a875f9b15
2016-11-02 18:11:36 -07:00
Adrian Roos
ebea7a7e56 AmbientDisplay: Add always on prototype
Test: adb shell settings put secure doze_always_on 1
Change-Id: I3f293b3ef43847b7848af416b44f212fc40514d4
2016-10-31 14:49:52 -07:00
Winson Chung
5cd26ff4d9 Adding option to swipe to dismiss.
- Adding tuner settings for PIP

Test: Manual, open PIP and swipe offscreen to dismiss

Change-Id: I62f8e4c4b96984b9f266dde5efc3c511cf37f7dd
2016-10-26 15:33:00 -07:00
Peeyush Agarwal
d86c106568 Correct the keyboard shortcut for SMS
Earlier, there was a keyboard shortcut for IM. Replace it with SMS +
Meta_S.

Bug: 32137976
Change-Id: Id8978126d16dcbea4eb993cd067a92257895b5da
Fixes: 32137976
Test: manual
2016-10-17 12:42:42 +01:00
Justin Klaassen
8cbf1fb125 Fix contentDescription for NightDisplayTile
Fixes: 32092641
Test: Manually verified TalkBack description for "Night Light" tile.
Change-Id: Id950e3e8111ec21e71c2761ee2874baa769c9474
2016-10-11 21:49:17 +00:00
Jason Monk
ef0d34d32e Add plugin controls to tuner
Allow plugins to be manually turned off from within the tuner. This
screen only shows itself if at some point in time a plugin has been
active on this device.  Plugins can also serface settings there by
receiving the com.android.systemui.action.PLUGIN_SETTINGS action.

Test: Manual
Change-Id: Ifb043c85e383fc072c6445ae322293a6401a6f2c
2016-09-27 12:41:34 -04:00
Tyler Gunn
5a52c9806d resolve merge conflicts of 5ea76c1 to master
Test: Compiled code using make -j32
Change-Id: I0c0a5cd79fba9a9c9cf9306e91dc0e9f1979a299
2016-09-26 12:21:52 -07:00
Tyler Gunn
65ed8f9512 Change data usage alert/disabled messages.
Bug: 31551177
Change-Id: I936645ab5f6ffde9245c8e234ffa01935530431c
2016-09-19 11:20:53 -07:00
Jason Monk
be14cbf18e Add branded VPN messages to go along with branded icons am: 802bc6ee06 am: 57bf03152c
am: cd72f9a1ce

Change-Id: Iad0153394159f46ef3838087a3749b57d60b3986
2016-09-02 19:59:51 +00:00
Jason Monk
802bc6ee06 Add branded VPN messages to go along with branded icons
Change-Id: Id2089d50581a958ebab6af1d5b172ec61b1aced3
Fixes: 31019697
2016-09-01 10:45:08 -04:00
Jorim Jaggi
28b4a699fc Remove swipe-up gesture from Tuner am: 3793aff806 am: 55f4b0e9be
am: 76821e7c36

Change-Id: I772d743a1e1e243a1b34988c4c5dea576ec41b9e
2016-08-25 21:47:02 +00:00
Jorim Jaggi
3793aff806 Remove swipe-up gesture from Tuner
We can't do it anymore with the slippery flag, so remove the entry
in the tuner.

We'll clean up the code in master.

Change-Id: Ib3dee0c947e7925b5847f2edc4801495c659dfa5
Fixes: 30891575
2016-08-23 20:49:18 +00:00
Adrian Roos
dde2b293ba HIC: Add report facility for overzealous anti-falsing am: 7bb38a941b am: 9d28754215
am: 29549a23f1

Change-Id: I121d70753fa466eba853a721409d12003f9c6123
2016-08-04 23:53:09 +00:00
Adrian Roos
9d28754215 HIC: Add report facility for overzealous anti-falsing
am: 7bb38a941b

Change-Id: Ie40c0e42dcdc788757f18f65d8edc3e8ba2a6995
2016-08-04 23:37:29 +00:00
Adrian Roos
d1726e7598 Merge "HIC: Add report facility for overzealous anti-falsing" into nyc-mr1-dev 2016-08-04 23:24:04 +00:00
John Reck
811983b468 Merge "Fix RNA crash" into nyc-mr1-dev am: f09b5d7a78 am: dac945cbaa
am: 07a28dfb53

Change-Id: I8a895e2ebd3d538ab1b8b959e70faf265fb1bf92
2016-08-03 20:29:37 +00:00
Winson
fc73eec235 Adding support for blacklisting apps from Recents transition.
Bug: 30602323

Change-Id: I2a6e75a989264ce72ac552e2c7f82225ccd68adf
2016-08-03 19:28:11 +00:00
Adrian Roos
7bb38a941b HIC: Add report facility for overzealous anti-falsing
Bug: 27405075
Change-Id: I15e5d601af3c7cc067371bbe51c873d2ce15ec83
2016-07-28 12:17:57 -07:00
Jason Monk
ca124785ce Merge \\"Add LTE+ and update 4G+ icons\\" into nyc-mr1-dev am: 5768a5dd30
am: a98d09462a

Change-Id: I8e88b9fee51729347a7273051ff1f388ebac8612
2016-07-14 20:31:24 +00:00
TreeHugger Robot
5768a5dd30 Merge "Add LTE+ and update 4G+ icons" into nyc-mr1-dev 2016-07-14 20:09:00 +00:00
Jason Monk
aa730be72d Add LTE+ and update 4G+ icons
Change-Id: Ic91450207921afbfab24cc02d00639d532495c58
Fixes: 30006697
2016-07-14 09:25:04 -04:00
Justin Klaassen
c9975c0420 Merge \\"Add Night display QSTile\\" into nyc-mr1-dev am: 558393740d
am: 29977c9a7b

Change-Id: I0ba476fc589d86473499e5b2669ad14dd9ff2fc6
2016-07-14 02:16:42 +00:00
Justin Klaassen
137909005c Add Night display QSTile
Bug: 28615069
Bug: 29619615
Change-Id: Ie23bd1ed9266941682eceb5f2086201bf02af765
2016-07-13 15:47:39 -07:00
Justin Klaassen
ea12f1f2bd Merge \\"Remove \\"Night mode\\" from tuner\\" into nyc-mr1-dev am: e615e16ab6
am: 9a087f6954

Change-Id: Ia48d7c96454c2361bb8ad0ce9c76ff3dc36830ba
2016-07-08 20:27:07 +00:00
Justin Klaassen
e81fa85782 Remove "Night mode" from tuner
Bug: 28887927
Change-Id: Ic1c217152e56db63a87a1f1e772696d97b4b58b3
2016-07-08 11:46:27 -07:00
Adam Lesinski
c5e73868a1 Merge "Remove duplicate resource definitions" 2016-06-27 21:49:39 +00:00
Adam Lesinski
60862bd113 Remove duplicate resource definitions
Bug:29462255
Change-Id: I4face025cb060dd85b61587fe7c2f9807b3a7127
2016-06-24 14:59:06 -07:00
TreeHugger Robot
459f594bb1 Merge "Show volume row headers by default." into nyc-mr1-dev 2016-06-24 14:52:40 +00:00
Julia Reynolds
5f83c85182 Show volume row headers by default.
Bug: 28269951
Change-Id: I26acfb26064e7f44e4b1897d940228247b45d7b1
2016-06-24 09:17:55 -04:00
Ajay Nambi
7965fa41c3 Add support for LTE CarrierAgregation
Note this may be redesigned in O to better handle the
various bitrate/channel combinations in a sane way.

bug:27360321
Change-Id: If6ffbd02e3a7f170cc041747e32bb624234c3e09
2016-06-23 11:19:03 -07:00
Selim Cinek
ddf1b399d8 Fixed a few accessibility issues with notifications and groups
Change-Id: I78fa62884eaa0efe825b5eb1e6cac7d88fc05a7f
Fixes: 28069681
2016-05-27 17:04:56 -07:00
Daniel Sandler
4c40888673 Merge "Tap, don't touch." into nyc-dev 2016-04-25 19:21:46 +00:00
Dan Sandler
f4b596860d Tap, don't touch.
Part of global change from touch —> tap for certain screen
gestures.

Change-Id: Ifffee1336793e8304dc03da5c3d36a1fe8ba133f
Fixes: 26750003
2016-04-23 11:14:17 -04:00
TreeHugger Robot
eefff3742d Merge "Fix content description for notification icons" into nyc-dev 2016-04-23 01:45:02 +00:00
Adrian Roos
eba0582af1 Fix content description for notification icons
Change-Id: Icb4c6d8a77211d0c8922e28958609a332b19dfcc
Fixes: 27552350
2016-04-22 17:09:30 -07:00
Jason Monk
3e4a99c382 Add strings for quick settings accessibility
Bug: 15696340
Change-Id: Ie775c90c9fed8078f4db4bde5752a2f2d7f94f25
2016-04-22 14:11:04 -04:00
Julia Reynolds
2feab1644b Announce when volume controls appear and disappear.
Bug: 28120156
Change-Id: I4e17b9cf1cd4a442adb7513168c12e3af24c424f
2016-04-21 15:00:45 -04:00
TreeHugger Robot
206748d10e Merge "A11y: Fix battery icon and clock descriptions" into nyc-dev 2016-04-21 00:25:16 +00:00
Adrian Roos
70dcf8392c A11y: Fix battery icon and clock descriptions
Now announces charging state on the battery icon
and AM/PM on the clock.

Change-Id: Ib8d249e60b555834e5e224287ea332178ce7c165
Fixes: 27552350
2016-04-20 15:51:59 -07:00
Jason Monk
427aa24be2 Daydream -> screen saver
Change-Id: I604530a721797e6d4b28df3782303a79fabcdac7
Fixes: 28268243
2016-04-20 13:44:05 -04:00
Winson
ce9630da86 Tweaking accessibility actions for dock divider.
- Adding tl_full/70%/50%/30%/rb_full

Bug: 27724715
Change-Id: Ie3125ec81e6463696cf56640c6b86f9cfcbda945
2016-04-19 14:46:24 -07:00
Winson
99ef458ff1 Adding hint text for drop targets.
Bug: 28192178
Change-Id: Id7be5129488622b56082d2dfa328b751311cabd7
2016-04-18 18:20:43 -07:00