Commit Graph

567 Commits

Author SHA1 Message Date
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
TreeHugger Robot
5393a0e2d9 Merge changes If96c0146,I0d68ad60 into oc-dev
* changes:
  Improved accessibility behavior of the notification shelf
  Fixed a bug where the indeterminate progressbar janky
2017-04-07 15:59:17 +00:00
Selim Cinek
aca84c0b2a Improved accessibility behavior of the notification shelf
The content description of the shelf was hiding the icons,
so we removed it again.
Also added an expand action to make it clear that you can expand it.
Also made scrolling in the normal shade better again by marking it
to hide it's children.

Test: manual, test accessibility on the lockscreen
Change-Id: If96c014609f3fa1b7eedb5e89acd8fe55d5b9c69
Fixes: 36660851
2017-04-05 16:28:56 -07:00
Julia Reynolds
3aeddedc17 Show a link to app settings in notification guts.
Test: runtest systemui, cts
Change-Id: I7204102d5c83d589af5d3da57f72068491c12daa
2017-04-05 22:40:37 +00:00
Jason Monk
5383f72840 Add some strings that will be needed for QS changes
Test: make
Bug: 34765805
Change-Id: I8824314ffe7c91502dc6b516506a98507cdf03ab
2017-04-03 18:27:01 -04:00
Mady Mellor
8565eab156 Merge "Update PIP dismiss to show scrim + info text at the bottom of the screen" into oc-dev 2017-03-31 17:27:41 +00:00
Mady Mellor
60421c9d45 Update PIP dismiss to show scrim + info text at the bottom of the screen
- Rather than testing how far off screen the PIP is, instead tests how far
  past the nav bar / on screen bars the PIP is to determine if it is a
  dismiss
- When dragging PIP around screen, display info text + scrim at bottom
  these are above the PIP in z-order
- On lift up or when PIP is dismissed, info text + scrim also hide
- Alters dismiss animation to use end point on trajectory of finger and
  use FlingAnimationUtils when flinging

Test: Drag PIP around screen, notice dismiss scrim + text appear, dismiss
      PIP and scrim / text also disappear
Bug: 35358628
Change-Id: Ibc0f6a884903f7d1b3ca2fd5c20647b4acf15a71
2017-03-30 17:30:38 -07:00
TreeHugger Robot
c16142239f Merge "Removing duplicate string in Recents." into oc-dev 2017-03-29 19:51:57 +00:00
Winson Chung
5cd54168e7 Removing PiP notification channel.
- Using the General channel instead.

Bug: 36670134
Test: Ensure no PiP channel in settings
Change-Id: If186a2565bb6911c6e15b25788908fd909a54287
2017-03-29 09:57:43 -07:00
Winson Chung
80f7b015ca Removing duplicate string in Recents.
- Use the same string when showing incompatible apps as the string that
  we show when launching an incompatible app.

Bug: 35373622
Test: Launch recents with incompatible app while docked, verify string
Change-Id: I8d9a7d6e96a384ccff80ab6ff8a5e53c13d8d420
2017-03-29 05:07:08 +00:00
Mady Mellor
2e1387886a Disable PIP minimize and put it behind a tuner item
Test: Have PIP, try to minimize it (does not minimize).
      Enable tuner item, have PIP, try to minimize it (success!)
Bug:35358768
Change-Id: Iee9c26055decd06dc27233ff21edb6905eef9d23
2017-03-27 13:07:58 -07:00
Philipp Weiß
f3f5e9f7bb Merge "Add strings for link beneath CA Certs disclosures" 2017-03-24 17:07:39 +00:00
phweiss
d63f4d0eea Add strings for link beneath CA Certs disclosures
And fixing typos in other strings.

Bug: 34369166
Test: Only string fixes
Change-Id: If60b653dc387975ae7a6a7fcddcbd17773c854f3
2017-03-24 15:28:15 +01:00
TreeHugger Robot
4110be3a15 Merge "Enterprise string clean-up for O" 2017-03-24 14:27:55 +00:00
phweiss
02397ee147 Add strings for quick settings security footer
Strings are unused for now, CL that will display them comes later.

Bug: 34369166
Test: Only added strings, nothing to test
Change-Id: I0bb3e46b264d5da9d0da31149bf04f8276c08e93
2017-03-24 11:53:03 +00:00
Charles He
6111298d81 Enterprise string clean-up for O
Bug: 34326838
Test: make
Change-Id: I70db223ea4ef77e791eb7ce98638909442a593aa
2017-03-24 11:36:34 +00:00
TreeHugger Robot
7c1e1433ac Merge "Moved the waiting for fingerprint string to the hint" 2017-03-24 02:13:10 +00:00
TreeHugger Robot
f5604e101b Merge "Notification Inline strings for non-upgraded apps" 2017-03-23 22:19:40 +00:00
Selim Cinek
947c77cb82 Moved the waiting for fingerprint string to the hint
We don't want to bake in the button into the text, so we're
switching the description to the hint text.

Test: manual
Change-Id: Ib0e4a86a11390ce5d3bcb0de9bc31861ad9ee84d
Fixes: 36557742
2017-03-23 14:20:32 -07:00
Geoffrey Pitsch
ee8c81ee56 Notification Inline strings for non-upgraded apps
Also fix string typo - "1 of n notification categories"

Test: runtest systemui
Change-Id: I6f48f2ffde4896341ee0a435b9b1dc6a1255ea48
2017-03-23 14:59:05 -04:00