Commit Graph

586 Commits

Author SHA1 Message Date
Jason Monk
ce2f47ec6b Switch battery saver to sentence case
Test: strings
Change-Id: I01bc6f3621758dc155347946b8a15c885c695b2c
Fixes: 27844148
2017-08-14 10:50:25 -04:00
TreeHugger Robot
eb098f2681 Merge "Change PiP menu activity title to prevent duplicate announcement." into oc-mr1-dev 2017-08-11 21:38:41 +00:00
Julia Reynolds
1e3b38bce1 usb string update
Change-Id: Ib55ce7dbb0e9e5d25e01fd70b99cad5494cd619c
Fixes: 63157187
Test: make
2017-08-11 13:53:26 +00:00
TreeHugger Robot
106dc34fb2 Merge "Fix the strings accordingly for policy transparency dialogs" into oc-mr1-dev 2017-08-11 10:42:24 +00:00
Winson Chung
addb48a2ae Change PiP menu activity title to prevent duplicate announcement.
Bug: 64489467
Test: Hover over PiP in accessibility
Change-Id: I27532f6a7825e57757d8ddab336c5cee5fa92acd
2017-08-10 14:00:54 -07:00
Tony Mak
57d22f6b31 Fix the strings accordingly for policy transparency dialogs
Bug: 64555046

Test: Built and observe the strings.

Change-Id: If0343d701dee24d392b0578131e50b9002433a9b
2017-08-10 15:11:54 +00:00
Beverly
334bc5fc77 Low battery notification has unique sound.
Change-Id: I51c8e099da04d4bf1a55d081c9fce7fc8fb90bd1
Fixes: 63853037
Test: runtest systemui
2017-08-09 16:57:28 -04:00
Jason Monk
54de77e1c6 Merge "Add confirmation dialog when turning off cell data from QS" into oc-dr1-dev
am: 18cb24ba33

Change-Id: Ibdb8fa6a4e9ce57009342c12cf169df959974dd2
2017-07-25 23:27:38 +00:00
Jason Monk
54ff0efbd5 Add confirmation dialog when turning off cell data from QS
Test: manual
Change-Id: I1956750700c8fa2bf0e715b5ec92cf10fa3e9486
Fixes: 36436115
2017-07-25 14:44:28 -04:00
Jack He
0e08fef65a Merge "Add strings for battery level info of connected devices" into oc-dr1-dev am: e269956acb
am: 4429f9a68d

Change-Id: I38134417bc4413a620b76dba12691a9303da1167
2017-06-30 02:37:36 +00:00
Jack He
0e16a861dd Add strings for battery level info of connected devices
* SystemUI: quick_settings_connected_battery_level
* SettingsLib:
	bluetooth_connected_battery_level
	bluetooth_connected_no_headset_battery_level
	bluetooth_connected_no_a2dp_battery_level
	bluetooth_connected_no_headset_no_a2dp_battery_level

Bug: 63027849
Test: make, test using these strings
Change-Id: I9052dad87d2afd30d005d050c6b3bfc4813853df
2017-06-29 16:45:28 -07:00
Rajeev Kumar
07a8445ad0 Fixes the apostrophe and its escaping for zen_priority_introduction,
zen_alarms_introduction, zen_silence_introduction_voice,
pip_notification_message

Change-Id: I6abab7be04f18a1d65604a05b388cb265d6551a5
2017-06-08 16:40:23 -07:00
Julia Reynolds
d7a00aa186 Update zen introduction text
And add alarm text to QS & volume dialog.

Change-Id: I8e3c06d6629473c453e579f23c75acd7cdfd4db1
Fixes: 38303817
Fixes: 31533768
Fixes: 33815404
Test: manual
2017-06-05 11:23:03 -04:00
TreeHugger Robot
a92028966e Merge "Revisions to Inline Controls for unblockable apps" 2017-06-02 13:09:25 +00:00
Geoffrey Pitsch
b43486a2ae Revisions to Inline Controls for unblockable apps
- 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
2017-06-01 13:47:56 -04:00
Mady Mellor
6143b90644 Switch to using plural strings for hours and minutes in the snooze menu
Test: Manual - show the snooze menu, expand to see options
Bug: 38207398
Change-Id: I081464b2205d4241af02f71d2fec0286020fc6d8
2017-05-31 11:34:03 -07:00
Mady Mellor
b7a55a898f Merge "Add 2 hours as an option for snoozing, update default to 1 hour" into oc-dev am: 03a243889c
am: 8da8f55295

Change-Id: I2e117f71446b88956621d64ac9a977675b16370c
2017-05-26 14:53:48 +00:00
Mady Mellor
651fbdec08 Add 2 hours as an option for snoozing, update default to 1 hour
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
2017-05-18 14:36:53 -07:00
Zachary Iqbal
dc05aa049b Added indication text stubs for changes to trust being managed.
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
2017-05-17 19:19:10 -07:00
Mady Mellor
d7637ece5c Merge "Remove PIP tuner items" into oc-dev am: 86339dc8ee
am: 2d11f63de9

Change-Id: I93aef75b94b56bfe2f31958c373a44582df0ec02
2017-05-11 06:56:39 +00:00
TreeHugger Robot
86339dc8ee Merge "Remove PIP tuner items" into oc-dev 2017-05-11 01:13:48 +00:00
Mady Mellor
8c7dc429b5 Remove PIP tuner items
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
2017-05-10 12:55:39 -07:00
Julia Reynolds
c12676b449 Update zen introduction text
And add alarm text to QS & volume dialog.

Fixes: 31533768
Fixes: 33815404
Test: manual
Change-Id: I82f119a8bdbfbc62b0ace752dca0fbc0d5bf8a35
2017-05-10 14:16:41 +00:00
Geoffrey Pitsch
5bc430556d Remove period in Notification Inline secondary text.
Bug: 38115976
Test: manual
Change-Id: I1fb453e8a3d5f2906c07878423fa32d8bfca67c2
2017-05-09 17:08:56 +00:00
Dianne Hackborn
1391e2348b Merge "All kinds of little foreground services fixes." into oc-dev am: 525044e987
am: 596fc8b8d4

Change-Id: I79d7fc47855bdf0043d770b0a59a704260aa55e7
2017-05-05 09:13:24 +00:00
Dianne Hackborn
4ae51e09d8 All kinds of little foreground services fixes.
- 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
2017-05-04 23:31:33 -07:00
Dianne Hackborn
8a40a4ca27 Merge "Work on issue #36891897: Need to ensure foreground services can't..." into oc-dev am: f1a4b50739
am: a766f1d1ec

Change-Id: I82c6b62af3d4eddbd4e97c83b2bb7d4a1657c63d
2017-04-30 17:44:10 +00:00
Dianne Hackborn
83b40f69be Work on issue #36891897: Need to ensure foreground services can't...
...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
2017-04-29 19:41:12 -07:00
Zachary Iqbal
8f4c2426f6 Added indication text stubs for changes to trust.
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
2017-04-28 13:39:50 -07:00
TreeHugger Robot
ddb460c18f Merge "Add ability to fling to dismiss PIP from anywhere" into oc-dev 2017-04-26 20:52:02 +00:00
Adrian Roos
60a7739798 AOD: Remove wake up fully config flag
Fixes: 37270258
Test: Double tap, make sure device does not wake up to lockscreen, only to ambient display
Change-Id: Iaf0c3bfb5dcf566adae7f37b51c866d92bce7a1d
2017-04-25 14:28:41 -07:00
Mady Mellor
47ba140cbf Add ability to fling to dismiss PIP from anywhere
This is by default turned off and is behind a tuner flag.

Allows the PIP to be dismissed if it is flung towards the bottom center
of the screen and the finger is released within the bottom area of the
screen.

Test: Manual - enable tuner setting, have a PIP, position it at top of
      screen, long- fling it towards bottom center of screen, it dismisses.
Bug: 35358628
Change-Id: I2d3d50093f6523c7bb321e0486dab360095a398e
2017-04-25 12:08:08 -07:00
TreeHugger Robot
274442e334 Merge "Add a11y voice for the VPN icon in status bar" into oc-dev 2017-04-24 15:14:12 +00:00
Andrii Kulian
b216d0f09f Merge "Don't put non-resizeable activities on secondary displays" into oc-dev 2017-04-22 00:59:39 +00:00
Charles He
ce28b3838c Add a11y voice for the VPN icon in status bar
Bug: 37530860
Test: Enable Talkback and highlight the VPN icon
Change-Id: I8c63493b168b40e048b67950e5ed487e95bfb5f5
2017-04-21 20:15:09 +01:00
Andrii Kulian
036e3adce7 Don't put non-resizeable activities on secondary displays
There is a contract that a non-resizeable activity cannot get
a configuration different from the global config (or fullscreen
config on primary display). This CL ensures that for launching on
secondary displays and checks if target display's config matches
the global config.
If a forced-resizeable activity is launched to a secondary display
or there was an attempt to launch a non-resizeable activity that
failed, corresponding toast message will be displayed.

Bug: 36777179
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testLaunchNonResizeableActivityOnSecondaryDisplay
Test: #testLaunchNonResizeableActivityWithSplitScreen
Test: #testMoveNonResizeableActivityToSecondaryDisplay
Change-Id: I5346afe740e78e4e5ba9a9694e97ac60b92663e9
2017-04-20 15:42:07 -07:00
Jason Monk
b8abd8d867 Merge changes I8953967a,If17eddad into oc-dev
* changes:
  Add go to web action for instant apps
  Fix when instant app notif is showing
2017-04-20 17:24:25 +00:00
Jason Monk
697b82a47f Add go to web action for instant apps
Test: manual
Change-Id: I8953967ac849f5a5d4129c514172238e17d54df7
Fixes: 35873804
2017-04-20 11:00:37 -04:00
phweiss
b19d240c11 String fixes in QSFooter
Only one of the strings (monitoring_title_device_owned) needs to be
translated again. For the others, only apostrophes are fixed.

Bug: 34369166
Test: string-changes only

Change-Id: I58271393f4d8a83e55fa32885e3113845f5e4f5f
(cherry picked from commit 3e559e6153)
2017-04-20 13:07:48 +00:00
TreeHugger Robot
95cdc61248 Merge "Up the character limit for thermal strings" into oc-dev 2017-04-19 20:24:25 +00:00
TreeHugger Robot
c1d9cdfe79 Merge "Update snooze visuals to match latest design" into oc-dev 2017-04-19 18:41:56 +00:00
TreeHugger Robot
982ce6402b Merge changes I062b6c37,Ie5165364,Ib3cce253 into oc-dev
* changes:
  Add remaining default media icons.
  Disable PiP when a task is locked.
  Fix issue with PiP actions flashing.
2017-04-19 01:29:14 +00:00
Salvador Martinez
1547b69b6c Up the character limit for thermal strings
Some thermal strings needed for warning users
when their phone shut down due to overheating
were too hard to translate with the set char
limit. This CL ups the char limit to allow for
easier translation of this strings.

Test: Manual, see screenshot in comments
Bug: 37452341, 37452235
Change-Id: I5a9e24f413a759d83911a1054da8bfce222cfe9a
2017-04-18 16:51:19 -07:00
Winson Chung
83fbf18ced Add remaining default media icons.
- Fix issue where strings were only in overlay and not in base resources

Bug: 36778575
Test: Launch PiP activity with media session, ensure actions show
Change-Id: I062b6c37ff4789bf375670e8ce872f28c578ffca
2017-04-18 16:25:25 -07:00
Dan Sandler
bdbee729f9 Part of global strings change from cellular —> mobile.
Bug: 33049102
Fixes: 36389122
Test: no
Change-Id: I0438f63f643d144e065b8394bec36fb6e1ec7aa9
2017-04-18 21:09:33 +00:00
Mady Mellor
e09fb7029a Update snooze visuals to match latest design
Also updates it so that the height animates going from collapsed / expanded

Test: manual / runtest systemui
Bug: 36249479
Change-Id: Ice10e42986eddc9b87ba79cd00dfc59fefef5464
2017-04-17 15:23:37 -07:00
Geoffrey Pitsch
d94e788318 Accessibility for Notification Inline Controls
Send WINDOW_STATE_CHANGED event in status bar
Disable falsing when in touch navigation
Accessibility string for enable/disable switch
Bug: 34840327
Test: runtest systemui
Change-Id: I60cc7e49d9e6323e23a17183b8b10c9d857501bb
2017-04-17 17:04:51 -04:00
TreeHugger Robot
dc52fd3168 Merge "Added strings for thermal shutdown warning" into oc-dev 2017-04-13 00:51:25 +00:00
Salvador Martinez
ab932147aa Added strings for thermal shutdown warning
Strings for thermal shutdown warning were missing
so this CL adds them and a proto message value.

Test: SysUI tests still pass
Bug: 30994946
Change-Id: Ifd0b26248c2ebae5bcf32ecbea2566c14be7dc32
2017-04-12 18:41:35 +00:00
Jason Monk
be3235abcd Updates for QS DND tile
- Make detail panels not close when turned off
 - Add auto-rule state for DND tile

Test: manual
Change-Id: I533cf0a27c54e84cd74ede72dcf10e2e5f9a070f
Fixes: 34765805
2017-04-11 17:49:11 +00:00