Commit Graph

2944 Commits

Author SHA1 Message Date
TreeHugger Robot
f77d03f0d9 Merge "Fix wallpaper scaling issues" into sc-dev am: 49b78296ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14316242

Change-Id: Ifb5c04c0d8cdf4fc10bd9dc9500498f6dc55065e
2021-04-27 15:18:54 +00:00
TreeHugger Robot
49b78296ed Merge "Fix wallpaper scaling issues" into sc-dev 2021-04-27 15:13:31 +00:00
Vishnu Nair
44e44a7353 Fix wallpaper scaling issues
BlastBufferQueue adapter will modify the passed in SurfaceControl
properties. This conflicts with updates from the Wallpaper service. To
fix this, create a wrapper layer for the wallpaper BlastBufferQueue.

Fixes: 185561343
Test: rotate wallpaper, confirm wallpaper is scaled correctly

Change-Id: Ie0057652d72e07f811c22afc97e7417cda94bb2d
2021-04-26 16:54:00 -07:00
Ahaan Ugale
485e6a9f6c Merge "Leverage new Audio history sharing for HotwordDetectionService." into sc-dev am: b8144d38cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14279958

Change-Id: I134a8b214ed5c55bac7d11b7ae5ef2a779a865f9
2021-04-26 15:30:45 +00:00
Ahaan Ugale
b8144d38cc Merge "Leverage new Audio history sharing for HotwordDetectionService." into sc-dev 2021-04-26 15:22:04 +00:00
Ahaan Ugale
35f28d1bb2 Leverage new Audio history sharing for HotwordDetectionService.
The Audio Framework now supports sharing audio history, so
VoiceInteractionManagerService no longer needs to handle audio streams
itself.
See I5beba6c1e489148a14ba86165b8ef2fdc78c802a.

Bug: 168305377
Test: atest CtsVoiceInteractionTestCases
Test: manual
Change-Id: Ia7c5830aa5af6c015ae26619e0a90967ddff74e5
2021-04-26 07:50:01 +00:00
TreeHugger Robot
ee8555b637 Merge "Add api to propagating translation capability updates." into sc-dev am: efc7e4c0f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14164553

Change-Id: I9b609dc35f454eaa9edf896bec41f392867953e5
2021-04-23 00:50:15 +00:00
TreeHugger Robot
efc7e4c0f0 Merge "Add api to propagating translation capability updates." into sc-dev 2021-04-23 00:39:27 +00:00
Adam He
e5c140a59d Add api to propagating translation capability updates.
This change adda the apia in the TranslationService that allows to
update the TranslationCapability to the registered clients. This
change doesn't contain the register part in the TranslationManager,
the change will be done on the next change.

Bug: 176208267
Test: atest CtsTranslationTestCases
Test: manual verification
CTS-Coverage-Bug: 182990474

Change-Id: Iec7b3dc30f99985415162394d0e64d8e825ea5d9
2021-04-22 14:54:21 -07:00
Nikita Dubrovsky
0fa3fcdff9 Merge "Javadoc URI permissions handling on Dataset.setContent" into sc-dev am: 69f6b650ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14253746

Change-Id: I802c28c94c28c5fe55fe617165eba8e0bb141814
2021-04-22 01:01:25 +00:00
Nikita Dubrovsky
69f6b650ae Merge "Javadoc URI permissions handling on Dataset.setContent" into sc-dev 2021-04-22 00:55:14 +00:00
TreeHugger Robot
07b6e601a3 Merge "Create a callback method to invoke when the hotword detector is restarted." into sc-dev am: c9a99af53a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14236424

Change-Id: Id79b821994218566e81e208f701fccccf03147c0
2021-04-21 22:06:43 +00:00
Sergey Volnov
50fc906521 Create a callback method to invoke when the hotword detector is
restarted.

Bug: 168305377
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I73076562d822b95b39132cada8bfce904cc231cb
2021-04-21 20:27:46 +01:00
Sergey Volnov
2471c88b75 Merge "Ensure updateState() is available for software hotword." into sc-dev am: 65aed0d0a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14211642

Change-Id: I6f911c6378fd3197d42050dd248107128378067d
2021-04-21 08:39:36 +00:00
Sergey Volnov
65aed0d0a4 Merge "Ensure updateState() is available for software hotword." into sc-dev 2021-04-21 08:25:41 +00:00
Peter Li
f9872254ab Merge "Change API names and constants by API review" into sc-dev am: 993e1907a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14232874

Change-Id: Ief188208763980a2908f641d8b4e6b3235b0c4b5
2021-04-21 03:30:19 +00:00
Peter Li
993e1907a6 Merge "Change API names and constants by API review" into sc-dev 2021-04-21 03:20:56 +00:00
Adam He
899d10eb47 Merge "Remove onError from translationResultCallback." into sc-dev am: 1c3372f37d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14037434

Change-Id: Ie0da4f31c603e25ef35f0dda03ab98f0270deb94
2021-04-21 00:30:40 +00:00
Adam He
1c3372f37d Merge "Remove onError from translationResultCallback." into sc-dev 2021-04-21 00:26:34 +00:00
Nikita Dubrovsky
c9c617f88d Javadoc URI permissions handling on Dataset.setContent
Fix: 178715049
Test: Build (javadoc-only change)
Change-Id: Ia5f24520f514ac4862186798d26aaa47d81c94ca
2021-04-20 13:18:13 -07:00
Adam He
dabbce82d8 Merge "Allow throwing error on creating translation session (context not supported by service)." into sc-dev am: 9349ad48ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14144648

Change-Id: Icb4fe9c0fb4f23e8f9820fc84f55b2ed89a6a0dd
2021-04-20 10:22:41 +00:00
Adam He
9349ad48ce Merge "Allow throwing error on creating translation session (context not supported by service)." into sc-dev 2021-04-20 10:00:42 +00:00
TreeHugger Robot
dd100ed2b2 Merge "Add TestApi to trigger the onDetect function of HotwordDetectionService" into sc-dev am: 3346694817
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14161092

Change-Id: I41200d38286fde2633a9642004d451633f5f3a21
2021-04-20 09:32:06 +00:00
TreeHugger Robot
3346694817 Merge "Add TestApi to trigger the onDetect function of HotwordDetectionService" into sc-dev 2021-04-20 09:23:33 +00:00
TreeHugger Robot
9a63a6263f Merge "Rename destSpecs to targetSpecs" into sc-dev am: e354625105
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13912258

Change-Id: Ia187703101ac6e048851d9e8dbf7a7f81c18a717
2021-04-20 01:33:16 +00:00
TreeHugger Robot
e354625105 Merge "Rename destSpecs to targetSpecs" into sc-dev 2021-04-20 01:21:06 +00:00
lpeter
13d028d884 Change API names and constants by API review
Bug: 179814121
Test: atest FillEventHistoryTest
Test: atest InlineFillEventHistoryTest
Change-Id: Iae9109e57842cda15cc3b11ec3c18e57d6ffea2c
2021-04-20 08:36:30 +08:00
TreeHugger Robot
34a33226dd Merge "Fix a bug in SpellCheckerService." into sc-dev am: 8b7253d316
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14206612

Change-Id: If0d3f69bd05e7b99f17b68b0b1c50d85306fc3b8
2021-04-19 23:18:09 +00:00
TreeHugger Robot
8b7253d316 Merge "Fix a bug in SpellCheckerService." into sc-dev 2021-04-19 23:04:23 +00:00
Yi Jiang
7f942b8a15 Merge "Renames RotationResolutionRequest#getPackageName()" into sc-dev am: 8d7bd3610a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14187671

Change-Id: Ifc030e70c75095270254358c512a7f55b16ef758
2021-04-19 19:32:42 +00:00
Yi Jiang
8d7bd3610a Merge "Renames RotationResolutionRequest#getPackageName()" into sc-dev 2021-04-19 19:22:03 +00:00
TreeHugger Robot
472662de6c Merge "Allow HotwordDetectionService to obtain ContentCaptureManager." into sc-dev am: df8de5061e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14216285

Change-Id: I18bbfd60d60570a96d9672dfa830c6cea07efcc8
2021-04-19 18:44:58 +00:00
Chavi Weingarten
8890beccd3 Merge "Updated DisplayHash APIs" into sc-dev am: 8570e52d00
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14100524

Change-Id: Ia49e144989dbb341dcc2e10cc26a093520e5453f
2021-04-19 18:43:01 +00:00
TreeHugger Robot
df8de5061e Merge "Allow HotwordDetectionService to obtain ContentCaptureManager." into sc-dev 2021-04-19 17:15:50 +00:00
Chavi Weingarten
8570e52d00 Merge "Updated DisplayHash APIs" into sc-dev 2021-04-19 16:30:45 +00:00
Sergey Volnov
f421bf17fc Allow HotwordDetectionService to obtain ContentCaptureManager.
This would allow pushing data into sandboxed ContentCaptureService.

Bug: 168305377
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I798b4f525a5707d4c97ae525ed69bd3864cb261d
2021-04-19 14:23:40 +01:00
lpeter
afef0beebf Add TestApi to trigger the onDetect function of HotwordDetectionService
Bug: 184685043
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Change-Id: I531c1229de908c64e29f1976bd2fd1e70e545853
2021-04-19 14:22:38 +08:00
Alex Buynytskyy
33255cf959 Merge "API feedback: make DataLoader API System." into sc-dev am: 910f855fe0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14187676

Change-Id: Ie4180e92c678c3366f46ade615e7275aba9bef99
2021-04-19 04:04:58 +00:00
Alex Buynytskyy
e7339d98df API feedback: make DataLoader API System.
Bug: 184713911
Fixes: 184713911
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I00107102eb2e98004ed0a5db2a318a052ab60220
2021-04-18 15:48:21 +00:00
Sergey Volnov
307f51a17d Ensure updateState() is available for software hotword.
We accidentally missed propagating this method to the interface before
the previous deadline.
Otherwise the change should be trivial and backwards compatible.

Bug: 168305377
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: Ib85f5264932aeab73ff67a3371f2304d368383ae
2021-04-16 22:23:06 +01:00
Adam He
7f065dedca Merge "Add cancellationSignal to the Translator#translate() api." into sc-dev am: 7ae022ade8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14069971

Change-Id: Ibd9ebb681f6abd1e6f3e324f85518029f7d60407
2021-04-16 21:17:56 +00:00
Adam He
7ae022ade8 Merge "Add cancellationSignal to the Translator#translate() api." into sc-dev 2021-04-16 20:58:59 +00:00
Qi Wang
2616a431e7 Fix a bug in SpellCheckerService.
Previously, the returned value of WordIterator#following is used without
checking, which will cause fatal error when it's WordIterator.DONE.

Fix: 184915852
Test: atest CtsInputMethodTestCases:SpellCheckerTest
Change-Id: I37418bb36bc49e7dfa729ffb7209a6f383b611dd
2021-04-16 12:48:42 +08:00
Chavi Weingarten
827f94d693 Merge "Update Wallpaper to use BLAST" into sc-dev am: e6791edbbf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14192025

Change-Id: I8150b476bfe60adef77efde0d6c6d7f2543a736c
2021-04-15 22:21:29 +00:00
chaviw
1e16caa255 Update Wallpaper to use BLAST
Test: Wallpaper still works
Bug: 170765639
Change-Id: I97a3f412035e1e2977bdefd2389084a74b568f82
2021-04-15 15:10:07 -05:00
Yi Jiang
f2761a61a2 Renames RotationResolutionRequest#getPackageName()
As the API reviewer suggested, change getPackageName() to
getForeGroundPackageName().

Test: m
Bug: 182793543

Change-Id: I40c62d562786b24b0653a32a52445af53dd1ed09
2021-04-14 18:00:56 -07:00
chaviw
10fe18eaf8 Updated DisplayHash APIs
Updated the DisplayHash APIs and docs based on API review

Test: Builds
Bug: 183547053
Bug: 185274179
Change-Id: I23e6491341a3f9cac96c704aa0a93d7d3e8dfebb
2021-04-14 17:24:09 -05:00
Adam He
f00114d03f Allow throwing error on creating translation session (context not
supported by service).

Bug: 176208267
Test: atest CtsTranslationTestCases
Change-Id: Ib1a6b6ead5428b67fcd6fc911a051a70236cc776
2021-04-13 14:26:48 -07:00
Matt Pietal
fc4b20545d Merge "QS Wallet priority placement" into sc-dev am: 6ee6b37c2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14173207

Change-Id: I51e670fbeac60ed14e190410d75828386558e2a3
2021-04-13 19:08:44 +00:00
Matt Pietal
6ee6b37c2f Merge "QS Wallet priority placement" into sc-dev 2021-04-13 19:07:08 +00:00