Commit Graph

116434 Commits

Author SHA1 Message Date
Alex Johnston
83bd3e37fc Merge "Update setOrganizationColor javadoc" into rvc-dev am: a077a8a0cc
Change-Id: I2d3684d7a6e68be39fd14d600ce3b201b926582f
2020-04-28 08:51:17 +00:00
Alex Johnston
a077a8a0cc Merge "Update setOrganizationColor javadoc" into rvc-dev 2020-04-28 08:36:57 +00:00
Chris Li
182f17606e Merge "Cache isSystemOrSystemUI on ContextImpl creation" into rvc-dev am: 9859a326c1
Change-Id: Icbf8fcfad9eb2645faf1eff0cdbb6b0388b1773f
2020-04-28 04:26:23 +00:00
Chris Li
9859a326c1 Merge "Cache isSystemOrSystemUI on ContextImpl creation" into rvc-dev 2020-04-28 04:02:05 +00:00
TreeHugger Robot
3f14388d35 Merge "Revert "Q Upstream: Use ParcelFileDescriptor for storing large clip data."" into rvc-dev am: 046df72d9a
Change-Id: I902e7f98cc560680e8106ddc938e1768e44b48ac
2020-04-28 02:19:54 +00:00
TreeHugger Robot
046df72d9a Merge "Revert "Q Upstream: Use ParcelFileDescriptor for storing large clip data."" into rvc-dev 2020-04-28 02:12:12 +00:00
TreeHugger Robot
421a8d9b8a Merge "Support WRAP_CONTENT in InlineSuggestion#inflate" into rvc-dev am: 5e9aed81d0
Change-Id: I4d9228cfb3eb50fec08a722a9b219206c8ad379e
2020-04-27 23:56:03 +00:00
TreeHugger Robot
5e9aed81d0 Merge "Support WRAP_CONTENT in InlineSuggestion#inflate" into rvc-dev 2020-04-27 23:52:59 +00:00
Diego Vela
5860cd711b Merge "Fix default constructor for DisplayAdjustments" into rvc-dev am: 7383ef7a6c
Change-Id: I4c965094b2b56d54cfff80ac212cb06691641c2e
2020-04-27 23:45:05 +00:00
Diego Vela
7383ef7a6c Merge "Fix default constructor for DisplayAdjustments" into rvc-dev 2020-04-27 23:41:45 +00:00
Sally Yuen
a97f82cc15 Merge "Fix system action API issues in SystemActions" into rvc-dev am: f8331a8a91
Change-Id: I4d46d8f86d6573f1ea17330305b7ceaa877db435
2020-04-27 23:08:32 +00:00
Sally Yuen
f8331a8a91 Merge "Fix system action API issues in SystemActions" into rvc-dev 2020-04-27 23:06:10 +00:00
Feng Cao
bd26abbc5b Support WRAP_CONTENT in InlineSuggestion#inflate
Test: atest android.autofillservice.cts.inline
Bug: 154887895

Change-Id: Ie420bd40e8f0fb7d6e6b1e47ed0f41dc3f85b25e
2020-04-27 15:12:14 -07:00
Evan Rosky
bfdaff3dfe Merge "Connect systemwindow root with accessibility" into rvc-dev am: db49a262de
Change-Id: Iffae57e9ad7ccc46633fe1de876486e5b224af8a
2020-04-27 22:06:13 +00:00
Evan Rosky
db49a262de Merge "Connect systemwindow root with accessibility" into rvc-dev 2020-04-27 21:52:07 +00:00
Philip P. Moltmann
f7e57c85fd Merge "Fix typos in permissions.md" into rvc-dev am: fa658e0206
Change-Id: I46c7173fb461454ec74cb00c2a339f638aa3d347
2020-04-27 21:33:47 +00:00
Philip P. Moltmann
fa658e0206 Merge "Fix typos in permissions.md" into rvc-dev 2020-04-27 21:18:40 +00:00
sallyyuen
93edd11724 Fix system action API issues in SystemActions
1) Actions are only registered when the service starts. If the locale
changes, the labels need to be translated, so re-register the actions
when this happens.

2) When its shortcut isn't visible the a11y menu action is a no-op. The
list should be an accurate representation of what actions are available.
Pass SystemActions into NavigationBarFragment, which keeps track of the
shortcut availability,  to unregister/register the action.

To do this, SystemActions exposes register/unregister to the fragment
and makes SYSTEM_ACTION_ID_ACCESSIBILITY_MENU public.

3) Remove Toggle Split Screen from SystemActions. The trigger isn't
system-level but is rather buried in the Recents UI in a button for each
app, and the a11y user can access this like everyone else.
SystemActionPerformer will still handle the legacy action call in
performSystemAction.

4) Rename "Accessibility Menu" to "On-screen Accessibility Shortcut"

Bug: 152636060, 152635646, 154833492
Test: Manual TalkBack test
Change-Id: I9b037f91c8d3b6f193fc9aee95ef73b7f3fbf315
2020-04-27 13:05:57 -07:00
TreeHugger Robot
ae8cd271d5 Merge "Keep the intent resolver button bar stuck to the bottom." into rvc-dev am: 1ef9f259c4
Change-Id: I8a7874b3e4d0eb97a197b7db7fdb908e6806e7bb
2020-04-27 19:57:50 +00:00
TreeHugger Robot
3e0b168209 Merge "Update one-line layout for conversation notifs" into rvc-dev am: 9153a323fd
Change-Id: I205d7a4f054601d19d0d06430a1ead7f01cdfdee
2020-04-27 19:57:26 +00:00
Mehdi Alizadeh
4b4fbae455 Merge "Adds unit tests for ShortcutChangeCallback APIs" into rvc-dev am: 082d0c47b7
Change-Id: I4f921e008b140d71b043782dda30dbd7369aca9a
2020-04-27 19:56:15 +00:00
TreeHugger Robot
1ef9f259c4 Merge "Keep the intent resolver button bar stuck to the bottom." into rvc-dev 2020-04-27 19:53:32 +00:00
TreeHugger Robot
9153a323fd Merge "Update one-line layout for conversation notifs" into rvc-dev 2020-04-27 19:53:23 +00:00
Mehdi Alizadeh
082d0c47b7 Merge "Adds unit tests for ShortcutChangeCallback APIs" into rvc-dev 2020-04-27 19:34:25 +00:00
Chavi Weingarten
12d3e33d1b Merge "Added takeScreenshot API to WindowOrganizer" into rvc-dev am: 5d2781b772
Change-Id: I18a2c1e5318f30c7ca90c1e3435b9951a4dae513
2020-04-27 19:20:22 +00:00
Chavi Weingarten
5d2781b772 Merge "Added takeScreenshot API to WindowOrganizer" into rvc-dev 2020-04-27 18:59:49 +00:00
Chris Li
e7f4f30698 Cache isSystemOrSystemUI on ContextImpl creation
When creating Context without a container Context, cache the value of #isSystemOrSystemUI().

Fix: 154161051
Test: atest FrameworksCoreTests:ContextTest
Change-Id: I1d16173c7da06a73d1338e3d6e75f5b56fcdbe23
2020-04-27 11:35:31 -07:00
TreeHugger Robot
1bbe0b4efc Merge "Inform receivers of restart attempt previous visibility" into rvc-dev am: 756662fb2f
Change-Id: I75848eccd8e398e3029faa20a64e58dfd970ee44
2020-04-27 18:35:21 +00:00
TreeHugger Robot
756662fb2f Merge "Inform receivers of restart attempt previous visibility" into rvc-dev 2020-04-27 18:29:46 +00:00
Miranda Kephart
3779daf428 Merge "Keep screenshot process bound" into rvc-dev am: c8f22beefe
Change-Id: I46142f80e3e9ab1ada6259c9716ec7fb9171a186
2020-04-27 18:06:31 +00:00
Diego Vela
7aedfae0b1 Merge "Update Documentation for onActivityResult." into rvc-dev am: 7c59c63943
Change-Id: Id885797db3cc7b3a141d96eaab3bb03c0c0a2f00
2020-04-27 18:06:02 +00:00
Aran Ink
ccdef33bd1 Merge "Add dismissImmediate to ListPopupWindow to prevent window leaks in GlobalActionsDialog." into rvc-dev am: 82e9872732
Change-Id: Ibb87bc73f7e419a92ae1d518072b902f50cddbad
2020-04-27 18:05:18 +00:00
Mehdi Alizadeh
b7c0bedadc Merge "Include cache-only and pinned-only shortcuts as Sharing shortcuts as well" into rvc-dev am: 666796b0fa
Change-Id: I5e7c4f894cb6ed3aa06be673c7dd48da99286a2f
2020-04-27 18:04:43 +00:00
Miranda Kephart
c8f22beefe Merge "Keep screenshot process bound" into rvc-dev 2020-04-27 18:00:43 +00:00
Diego Vela
7c59c63943 Merge "Update Documentation for onActivityResult." into rvc-dev 2020-04-27 17:58:29 +00:00
Aran Ink
82e9872732 Merge "Add dismissImmediate to ListPopupWindow to prevent window leaks in GlobalActionsDialog." into rvc-dev 2020-04-27 17:57:15 +00:00
Mehdi Alizadeh
666796b0fa Merge "Include cache-only and pinned-only shortcuts as Sharing shortcuts as well" into rvc-dev 2020-04-27 17:47:23 +00:00
arangelov
27b997491e Keep the intent resolver button bar stuck to the bottom.
Fixes: 154939990
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Test: manual
Change-Id: Ia450701650dfca55488ed7bf1f9bebcae5b72c2c
2020-04-27 18:40:47 +01:00
Rob Carr
6008585fa0 Merge "BLAST: Two start-up optimizations" into rvc-dev am: 9005cdcf01
Change-Id: I34258f14bce08ef29067d2be563b396f3e96eb9d
2020-04-27 17:30:48 +00:00
Taran Singh
cfbe05276f Merge "Add test for ImeInsetsSourceConsumer" into rvc-dev am: 88191952ec
Change-Id: Ibb292869e3bd82308dd805f6935cfe1159c9e822
2020-04-27 17:29:32 +00:00
Rob Carr
9005cdcf01 Merge "BLAST: Two start-up optimizations" into rvc-dev 2020-04-27 17:20:42 +00:00
Taran Singh
88191952ec Merge "Add test for ImeInsetsSourceConsumer" into rvc-dev 2020-04-27 17:08:05 +00:00
chaviw
5ef1e93671 Added takeScreenshot API to WindowOrganizer
Added requests to take screenshot of a Window that's organized
by the client. The resulting screenshot will be attached to a
SurfaceControl and reparented to the requested window's parent. The
client will be responsible for showing, setting z order, etc. They can
also re-parent to another place in the hierarchy. The default is to
parent to the window's parent since that's usually where a screenshot is
placed.

Test: Builds
Bug: 152114574
Change-Id: I5c829e029f3528fdb382842e9f0474097e01cb2e
Merged-In: I5c829e029f3528fdb382842e9f0474097e01cb2e
2020-04-27 16:45:27 +00:00
TreeHugger Robot
6a76b2a29e Merge "Implement direct share targets quota based onto app share score in ChooserTarget ranking protorype." into rvc-dev am: 2133dc6e73
Change-Id: I3a0a2781b7537ff56ebc63dad19530c6e28f5a28
2020-04-27 16:28:15 +00:00
TreeHugger Robot
3dc3e75e95 Merge "Allow tests for more PermissionControllerManager methods" into rvc-dev am: bac5755dad
Change-Id: I80fd665bc10d8c8a36a5ea37e2ce2111297fa7ea
2020-04-27 16:24:34 +00:00
TreeHugger Robot
2133dc6e73 Merge "Implement direct share targets quota based onto app share score in ChooserTarget ranking protorype." into rvc-dev 2020-04-27 16:17:27 +00:00
TreeHugger Robot
bac5755dad Merge "Allow tests for more PermissionControllerManager methods" into rvc-dev 2020-04-27 16:16:28 +00:00
Evan Rosky
8d1c24e0a5 Inform receivers of restart attempt previous visibility
This way receivers like recents know whether the activity
was already visible before a restart attempt.

Bug: 154575664
Test: added test. Can also launch a running activity into
      split-primary and it won't expand it.
Change-Id: If59ee1615fa36bbe3af9412194a7f96b9377528a
2020-04-27 09:13:31 -07:00
Philip P. Moltmann
14be93f59a Fix typos in permissions.md
Bug: 151379035
Change-Id: I1335ca5a0ed22b8a39a57adc22c6b3b0b5d6e06d
2020-04-27 16:10:39 +00:00
Steve Elliott
936df15c79 Update one-line layout for conversation notifs
Fixes: 152770837
Test: manual, visual
Change-Id: I8433d5e26be4e6fe0c16acc87b29bac334011cbf
2020-04-27 11:49:13 -04:00