Commit Graph

3036 Commits

Author SHA1 Message Date
Jay Aliomer
5c585e5bdc Merge "Return colors of areas even if they are not in current page" into sc-dev am: 1e70989c61 am: 3dc3abe28d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14827878

Change-Id: Ic9a15ad77ccb7003b9605457d61d0665eae6f812
2021-06-07 20:02:48 +00:00
Jay Aliomer
1e70989c61 Merge "Return colors of areas even if they are not in current page" into sc-dev 2021-06-07 19:45:12 +00:00
Lucas Dupin
accc34eff5 Merge "Dim wallpaper by setting wallpaper layer transparency." into sc-dev am: 76fda9db9a am: 74d1b5f9d1 am: 3b825ec4f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14486205

Change-Id: I36d84eff6aa17cb70c025ca38db999f97bf86e8c
2021-06-04 11:06:15 +00:00
Lucas Dupin
3b825ec4f8 Merge "Dim wallpaper by setting wallpaper layer transparency." into sc-dev am: 76fda9db9a am: 74d1b5f9d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14486205

Change-Id: I3ee0a5d3d851a7af9583122b908dba533a781754
2021-06-04 10:44:25 +00:00
Lucas Dupin
76fda9db9a Merge "Dim wallpaper by setting wallpaper layer transparency." into sc-dev 2021-06-03 23:49:25 +00:00
Jay Aliomer
10e5e4547e Return colors of areas even if they are not in current page
Bug: b/189827568
Test: manual
Change-Id: I917c7b8e61cd18d04075600f4337806deb7f41bf
2021-06-03 17:40:05 -04:00
Shan Huang
fdb14de009 Dim wallpaper by setting wallpaper layer transparency.
Guard it using persist.debug.enable_wallpaper_dimming flag.

Test: Manual, atest WallpaperServiceTest, WallpaperServiceTests
Bug: 185890335

Change-Id: Id1aaf1dc5e5dbf3df5c9b3b4333af329685f3551
2021-06-04 00:36:39 +08:00
TreeHugger Robot
f39265b3e3 Merge "Implement a callback to report HotwordDetectionService status" into sc-dev am: 822d0b7f77 am: 12b3ebd8bb am: b147cd9387
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14747457

Change-Id: I70892830ebfbc08b8f7a1734ed5bf63475b91b34
2021-06-03 09:48:52 +00:00
TreeHugger Robot
b147cd9387 Merge "Implement a callback to report HotwordDetectionService status" into sc-dev am: 822d0b7f77 am: 12b3ebd8bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14747457

Change-Id: I22be3807228a0cdcf9c3737d97d0d6bdb8cdb77e
2021-06-03 09:32:42 +00:00
TreeHugger Robot
822d0b7f77 Merge "Implement a callback to report HotwordDetectionService status" into sc-dev 2021-06-03 09:15:11 +00:00
lpeter
645623e732 Implement a callback to report HotwordDetectionService status
When the application uses VoiceInteractionService to create a
SoftwareHotwordDetector, we need to report the HotwordDetectionService
status to the application, but we pass null callback into the
updateStateLocked function, it means that we will not receive the
HotwordDetectionService status.

In this change, we implement IHotwordRecognitionStatusCallback and
pass the callback into updateStateLocked function. When we receive
the HotwordDetectionService status, we will pass the status to the
application.

Bug: 183239093
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Change-Id: I1a1b8abe5c7e82eddaa2f0a83f54110df74d1efb
2021-06-03 12:03:56 +08:00
Shashwat Razdan
8961980efa Merge "Removing logspam from SmartspaceService" into sc-dev am: 96b300dbc0 am: 1987db0f60 am: dcc16b34f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14794073

Change-Id: I2025ec27a45ac24c99d4f205d1dcd3296875769b
2021-06-02 04:48:47 +00:00
Shashwat Razdan
dcc16b34f4 Merge "Removing logspam from SmartspaceService" into sc-dev am: 96b300dbc0 am: 1987db0f60
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14794073

Change-Id: I991c860323ba4fcc41f017864391c1d1ed96d30b
2021-06-02 04:29:13 +00:00
Shashwat Razdan
96b300dbc0 Merge "Removing logspam from SmartspaceService" into sc-dev 2021-06-02 03:53:33 +00:00
Shashwat Razdan
c539aa5c15 Removing logspam from SmartspaceService
Test: CTS tests
Bug: 189885848
Change-Id: I6c9ec07ee659df781e5230a8641c3aa0d7ddd210
2021-06-02 00:09:49 +00:00
Sergey Volnov
fdd8f55445 Merge "Hotword: Add onStopDetection() for software detectors." into sc-dev am: 76660ef721 am: 20a30b3855 am: ac235e9a60
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14718524

Change-Id: I8d4a47536d42264f72854390c5d48f47964d97a8
2021-05-25 22:39:36 +00:00
Sergey Volnov
ebfddc542d Merge "Make builder public for HotwordRejectedResult." into sc-dev am: 12d855bbb5 am: 982328c402 am: b6c928d1f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14720630

Change-Id: I9b254cbe081450b130cdff4ef075bc4a9136c350
2021-05-25 22:39:19 +00:00
Sergey Volnov
20a30b3855 Merge "Hotword: Add onStopDetection() for software detectors." into sc-dev am: 76660ef721
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14718524

Change-Id: Id52a02d9e7c53b3d8fe373397452d20c36fa6a1c
2021-05-25 22:09:01 +00:00
Sergey Volnov
982328c402 Merge "Make builder public for HotwordRejectedResult." into sc-dev am: 12d855bbb5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14720630

Change-Id: Icd398bb1550d1c35af78f070dab7e4867ae18eb7
2021-05-25 21:50:47 +00:00
Sergey Volnov
76660ef721 Merge "Hotword: Add onStopDetection() for software detectors." into sc-dev 2021-05-25 21:41:58 +00:00
Ahaan Ugale
31f241cc63 Hotword: Add onStopDetection() for software detectors.
For DSP-based detection, stopRecognition() disables detection at the
sound trigger layer. For software detection, the HotwordDetectionService
must be notified so it can stop detection.

Bug: 189236104
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I220d2255e5e500c22723f6e2fbc34860a529f216
2021-05-25 18:59:29 +00:00
Sergey Volnov
a0906a1759 Make builder public for HotwordRejectedResult.
This is the P0 feature we found 10 minutes ago from the client team:
there is currently no way to create HotwordRejectedResult.

Bug: 189189762
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I6260a43dda89ba812ac1a6d6b5486145d6777f84
2021-05-25 18:30:41 +00:00
TreeHugger Robot
69b9a19be5 Merge "Address API council feedback: s/isPersonalizedHotwordDetection/isHotwordDetectionPersonalized/." into sc-dev am: 6ec781dea5 am: 8adbfe0624 am: e12c57d5a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14703100

Change-Id: I6f36dc8fbf586d0f94c6a313c859ad73628ca6a2
2021-05-25 14:54:37 +00:00
TreeHugger Robot
8adbfe0624 Merge "Address API council feedback: s/isPersonalizedHotwordDetection/isHotwordDetectionPersonalized/." into sc-dev am: 6ec781dea5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14703100

Change-Id: I7a8efe1aad76e3a74ba8062be30958a379ee4a96
2021-05-25 14:01:27 +00:00
Sergey Volnov
8d488e7fa0 Address API council feedback:
s/isPersonalizedHotwordDetection/isHotwordDetectionPersonalized/.

Bug: 189189762
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: Ibd39eb95c9e3066e251288f9b2dc3c8278f2b1d6
2021-05-25 12:58:04 +01:00
Adam He
5a38b7b0be Merge "Make APIs abstract once AiAi has implemented them." into sc-dev am: 102dd28dd0 am: 4ce1449467 am: f34da02a3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14631836

Change-Id: I06b23be2ff9729ba27036f29f1db030aefb6ce08
2021-05-24 21:57:05 +00:00
Adam He
f34da02a3e Merge "Make APIs abstract once AiAi has implemented them." into sc-dev am: 102dd28dd0 am: 4ce1449467
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14631836

Change-Id: Icb8a9ba6cc59d1c8682730ff14a66c16c3320663
2021-05-24 21:41:45 +00:00
Adam He
f58ee5eaa0 Merge "Make APIs abstract once AiAi has implemented them." into sc-dev am: 102dd28dd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14631836

Change-Id: I59cd1fe6205ed0fa4e4bc8349e98ddd2eb6696ec
2021-05-24 21:21:11 +00:00
Adam He
102dd28dd0 Merge "Make APIs abstract once AiAi has implemented them." into sc-dev 2021-05-24 21:06:16 +00:00
Sergey Volnov
4dea0b1cdc Merge "HotwordDetectionService: Remove deprecated-at-birth APIs." into sc-dev am: 3cff27f756 am: 83b5743901 am: 4b0f200517
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14676746

Change-Id: I05e5df0741b9155da61d73e9bea5697a20c59048
2021-05-24 11:56:11 +00:00
Sergey Volnov
4b0f200517 Merge "HotwordDetectionService: Remove deprecated-at-birth APIs." into sc-dev am: 3cff27f756 am: 83b5743901
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14676746

Change-Id: I09f46a1c0d18090c99548267f7626f00f33c17d2
2021-05-24 11:33:18 +00:00
Sergey Volnov
f7be45e4f7 Merge "HotwordDetectionService: Remove deprecated-at-birth APIs." into sc-dev am: 3cff27f756
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14676746

Change-Id: I0b2191cbfeba7f79375f5684db496a2b30f9b3f1
2021-05-24 08:58:05 +00:00
Sergey Volnov
3cff27f756 Merge "HotwordDetectionService: Remove deprecated-at-birth APIs." into sc-dev 2021-05-24 08:48:07 +00:00
Adam He
a5db52f9ed Make APIs abstract once AiAi has implemented them.
Bug: 187871949
Test: atest CtsTranslationTestCases
Change-Id: I2f332d7ed2b952f193d2b6df4a034c79035a71fd
2021-05-21 18:32:13 -07:00
Ahaan Ugale
d2008eef63 Merge "Adjust HotwordDetectedResult with up-to-date information." into sc-dev am: fb45d8ed94 am: 6d8667355c am: ae22636292
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14666659

Change-Id: Ic1b82497fb312bd6f7b19479fb70564e56f991e9
2021-05-22 00:47:11 +00:00
Ahaan Ugale
ae22636292 Merge "Adjust HotwordDetectedResult with up-to-date information." into sc-dev am: fb45d8ed94 am: 6d8667355c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14666659

Change-Id: I03a31fc2436ee3b9a61a4f063bafd613eb871f0a
2021-05-22 00:33:16 +00:00
Ahaan Ugale
d0291e05a9 Merge "Adjust HotwordDetectedResult with up-to-date information." into sc-dev am: fb45d8ed94
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14666659

Change-Id: I5c781330a9041ccf93207a7fd2b5ca1ebf95715d
2021-05-22 00:17:43 +00:00
Ahaan Ugale
fb45d8ed94 Merge "Adjust HotwordDetectedResult with up-to-date information." into sc-dev 2021-05-22 00:11:26 +00:00
Sergey Volnov
966917e513 Adjust HotwordDetectedResult with up-to-date information.
Asked for API exception in b/168305377#comment49.

Bug: 168305377
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I50c39c430950f21950210feffc287203b49780c6
2021-05-21 14:08:00 -07:00
Ahaan Ugale
8ed012f320 HotwordDetectionService: Remove deprecated-at-birth APIs.
Fix: 182788844
Test: atest CtsVoiceInteractionTestCases
Change-Id: I9050c110702f5785410e2fb847e239ce041eb9e6
2021-05-21 09:52:41 -07:00
TreeHugger Robot
fbb73c1d7c Merge "Soft remove deprecated translation apis." into sc-dev am: cc0987b12a am: d0922047d0 am: 2494782a3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14606780

Change-Id: I61414a3eb757f8fa7e49450011ce16f662e9dbaa
2021-05-21 09:01:32 +00:00
TreeHugger Robot
d0922047d0 Merge "Soft remove deprecated translation apis." into sc-dev am: cc0987b12a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14606780

Change-Id: I156df433e5e47061213caa273c3cbc7a7c5734e6
2021-05-21 08:47:40 +00:00
TreeHugger Robot
cc0987b12a Merge "Soft remove deprecated translation apis." into sc-dev 2021-05-21 08:39:35 +00:00
Adam He
6ebd5b236d Soft remove deprecated translation apis.
Bug: 186475868
Test: atest CtsTranslationTestCases
Change-Id: I87395052e9e5574f4ba11652c484cedec95c0cfb
2021-05-20 18:14:56 -07:00
TreeHugger Robot
e7e7374c5c Merge "Deprecate Context#createApplicationContext" into sc-dev am: ee438f960a am: d95a9ebbfb am: 891659ba75
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14528644

Change-Id: I396eb97e5b36556757caf269b0e565459c62828b
2021-05-20 04:17:25 +00:00
TreeHugger Robot
214e26eced Merge changes from topic "revert-13738532-client_suggestions_fillrequest-sc-dev-EQZRQWLQUO" into sc-dev
* changes:
  [DO NOT MERGE] Remove the Client Suggestions APIs
  [DO NOT MERGE] Remove Client suggestions implementations
2021-05-20 01:23:24 +00:00
TreeHugger Robot
8af24bc17c Merge "Show sensor usage dialog for assistant" into sc-dev am: 49f6ccf69e am: bc1e5930ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14442497

Change-Id: Ib6df20c1711930e06e215e316303a49dfb86e743
2021-05-20 00:21:34 +00:00
chaviw
e836493e28 Add getter to retrieve interval between requests.
Added a getter instead of getting the interval between requests data
from the xml file. This was in response to API council feedback

Test: DisplayHashManagerTest
Fixes: 184890915
Change-Id: I8f903cada26b6fc4cd8c12a5c97089705bc821e3
(cherry picked from commit 566d81d802)
2021-05-19 13:09:11 -07:00
TreeHugger Robot
ee438f960a Merge "Deprecate Context#createApplicationContext" into sc-dev 2021-05-19 15:35:09 +00:00
TYM Tsai
94a825887b [DO NOT MERGE] Remove the Client Suggestions APIs
Bug: 188618287
Test: atest CtsAutoFillServiceTestCases
Change-Id: I178e0443278383120d9e6e3321ec96be8e5705c1
2021-05-19 23:24:32 +08:00