Commit Graph

3132 Commits

Author SHA1 Message Date
Jeff Sharkey
c142a92708 Merge changes from topic "may26-dab" into sc-dev am: 163db52409
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14738430

Change-Id: I22eeac1697b302e632534486f498e1503f170919
2021-05-26 21:08:34 +00:00
Jeff Sharkey
725a2ea256 Clean up "Deprecated at Birth" APIs.
When APIs are refactored mid-release, they can often be left marked
as @Deprecated with the intention of eventually removing them before
the SDK is finalized.

Well, the time has come to finalize the SDK, so let's clean them up.

Bug: 189325658
Test: manual
Change-Id: I48e3e1c1306fbaf071e4acfd9e8107e6ad564ffe
2021-05-26 13:09:00 -06:00
Brad Ebinger
4b097031bf Set all references to SipDelegateImsConfiguration as @removed
SipDelegateImsConfiguration should not be included in the final
API.

Bug: 186118835
Test: atest CtsTelephonyTestCases
Change-Id: I6321ac6d0c9fbcc4258d1a068934d1116b1819cf
2021-05-26 12:55:56 -06:00
Ahaan Ugale
ab5c58b56d Merge "Manual overwrite @removed for genereated builder apis." into sc-dev am: c449e23d4d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14722632

Change-Id: I3e83169d1915cd98ce88572619ee0b9d23b8f11c
2021-05-26 01:08:11 +00:00
Ahaan Ugale
c449e23d4d Merge "Manual overwrite @removed for genereated builder apis." into sc-dev 2021-05-26 01:01:43 +00:00
Brad Ebinger
76765ff8b7 Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs" into sc-dev am: df366773b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14722677

Change-Id: I6eb510480b3a76ff98e6b19169e20511b85b3ce3
2021-05-25 23:03:46 +00:00
Brad Ebinger
df366773b4 Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs" into sc-dev 2021-05-25 22:54:27 +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
Brad Ebinger
a0dcca7cb5 Remove the deprecated SipDelegate methods pertaining to Dialogs
Remove deprecated APIs pertaining to closeDialog now that all
dependencies on this method have been removed.

Bug: 187747944
Test: atest CtsTelephonyTestCases
Merged-In: I2675d3bd15199c75d70560b7ba529f267ac08970
Change-Id: I2675d3bd15199c75d70560b7ba529f267ac08970
2021-05-25 13:51:06 -07:00
Adam He
a8ad787594 Manual overwrite @removed for genereated builder apis.
Fixes: 186475868
Test: atest CtsTranslationTestCases
Change-Id: Ie56e57ac0afb2a3b1c99eb489d38d557fd1e2124
2021-05-25 13:07:12 -07: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
Jeff Sharkey
11f386e9e8 Merge "Retire preliminary FGS deferral control API" into sc-dev am: 023570d056
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14703963

Change-Id: I2b413742e88115d143a13b3caeefcdb231402a6b
2021-05-25 14:36:36 +00:00
Jeff Sharkey
023570d056 Merge "Retire preliminary FGS deferral control API" into sc-dev 2021-05-25 14:27:07 +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
Christopher Tate
baf1aad78e Retire preliminary FGS deferral control API
Now that we've settled the final API for this mechanism, retire the
preliminary one.

Bug: 186475652
Test: atest CtsAppTestCases:ServiceTest
Test: atest CtsAppTestCases:NotificationManagerTest
Change-Id: Ibe911627ad59b991f2e498689f7fa3019c19dc36
2021-05-24 14:28:16 -07:00
Hyunyoung Song
4062c9f6a9 Merge "ApiCouncil review round3 / setHidden, Query.getExtras" into sc-dev am: 46d6e25d25
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14683051

Change-Id: I774d7109e0296adcf2072ddf4659dcf2da3c5d04
2021-05-24 21:22:00 +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
TreeHugger Robot
255e1d22d4 Merge "Update associate API by adding certificate param" into sc-dev am: 06cd94a6de
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14686826

Change-Id: If8298c12710389537d97cfb80a0760cc9501e91a
2021-05-24 21:20:00 +00:00
Hyunyoung Song
46d6e25d25 Merge "ApiCouncil review round3 / setHidden, Query.getExtras" into sc-dev 2021-05-24 21:14:10 +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
TreeHugger Robot
06cd94a6de Merge "Update associate API by adding certificate param" into sc-dev 2021-05-24 21:00:17 +00:00
Guojing Yuan
cc4ffc849b Update associate API by adding certificate param
Fix: 184264581

Test: N/A
Change-Id: Ie28a2e68826744c0f020113d1b85b5a4b2d54c7f
2021-05-24 18:04:27 +00:00
Chris Ye
5997058272 Merge "Add capabilities to android.hardware.lights.Light." into sc-dev am: b3d0a2afe3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14552279

Change-Id: I66c3b69bb7af59439555fc2875877c753419f657
2021-05-24 18:00:36 +00:00
Chris Ye
b3d0a2afe3 Merge "Add capabilities to android.hardware.lights.Light." into sc-dev 2021-05-24 17:34:58 +00:00
Hyunyoung Song
c94e76051f ApiCouncil review round3 / setHidden, Query.getExtras
Bug: 186756959
Test: atest CtsSearchUiServiceTestCases
Change-Id: I2d13556fd71ddf8ae4e44879a91039a698667001
2021-05-24 09:29:49 -07: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
Chris Ye
9f98e33d8e Add capabilities to android.hardware.lights.Light.
Add capabilities of MONO, RGB and PLAYER_ID to
android.hardware.lights.Light, and the APIs to query the capabilities.

Bug: 181743615
Test: atest InputDeviceLightsManagerTest, atest LightsManagerTest, atest android.hardware.input.cts.tests
Change-Id: I266c83584d63815e1a71897e5975d6c13e8543bb
2021-05-22 18:28:14 -07:00
Joe Huang
d0c1d9ccab Merge "SatellitePvt API council review" into sc-dev am: 9d78bec9fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14672887

Change-Id: I707aa5bdb3846158fcaf6ca811a08e3710a4c2f0
2021-05-22 05:02:30 +00:00
Joe Huang
9d78bec9fa Merge "SatellitePvt API council review" into sc-dev 2021-05-22 04:46:24 +00:00
Soonil Nagarkar
54d0f31169 Merge "Update location bypass allowlist" into sc-dev am: 20b934e7db
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14671675

Change-Id: Ib4409ee4eaf30fa6e0e2706437fbd41938a48876
2021-05-22 04:39:07 +00:00
Soonil Nagarkar
20b934e7db Merge "Update location bypass allowlist" into sc-dev 2021-05-22 04:04:54 +00:00
TreeHugger Robot
368439e9f1 Merge "Update signature on remove sensor privacy listener API" into sc-dev am: 59bdbf467f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14649887

Change-Id: Ic8b9bd8ebaae2781794b204f95736e048cba83b3
2021-05-22 02:10:28 +00:00
TreeHugger Robot
59bdbf467f Merge "Update signature on remove sensor privacy listener API" into sc-dev 2021-05-22 02:02:21 +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
Nate Myren
286db646fe Merge "Add PrivacyIndicator APIs to WindowInsets" into sc-dev am: 4421186590
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14273325

Change-Id: Ibef0b8fe751d69ad6d622594d3dee5e0a744bc0f
2021-05-22 00:18:14 +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
Nate Myren
4421186590 Merge "Add PrivacyIndicator APIs to WindowInsets" into sc-dev 2021-05-22 00:13:34 +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
Evan Severson
6c8326f02a Update signature on remove sensor privacy listener API
If a listener can be registered for multiple sensors they should be able
to be removed individually.

Test: Build
Bug: 181681375
Change-Id: I04b867de8140adc8db0137e7d13c0f8d1a966a5e
2021-05-21 19:54:11 +00:00
Joe Huang
8945fbb3a1 SatellitePvt API council review
Remove getFlags/setFlags, determining the flag in Java side

Bug: 188798284
Test: atest CtsLocationPrivilegedTestCases, also try setting different flags in HAL to see if CTS can be passed.
Change-Id: I231148b62404ee4873da60546eebb75d83fae9a7
2021-05-22 02:02:53 +08:00
Hai Zhang
f0b67496fe Merge "Expose platform permission group mapping as public API." into sc-dev am: 5044308999
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14670362

Change-Id: I5f6ab1d7f5ebbf42df80dda67c2e338b942cdfc8
2021-05-21 17:50:06 +00:00
Hai Zhang
5044308999 Merge "Expose platform permission group mapping as public API." into sc-dev 2021-05-21 17:26:10 +00: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
Soonil Nagarkar
1ea818347e Update location bypass allowlist
Create a new DeviceConfig entry to replace the prior Settings entry on
which the location ignore settings allowlist is based. This allows us to
allowlist based on attribution tag, and eliminate holes for large
applications.

Test: manual + CTS + GTS
Bug: 187421886
Change-Id: I31e61db79b93e202bd8c66efae1bb5aaf0c88ff5
2021-05-21 09:25:47 -07:00