Commit Graph

8048 Commits

Author SHA1 Message Date
TreeHugger Robot
7c952e8bfd Merge "Camera: Add support for extension progress callbacks" 2022-11-08 22:23:47 +00:00
Tyler Gunn
454d80ad81 Merge "Revert "telecom-bluetooth DND bug"" 2022-11-08 15:44:56 +00:00
Tyler Gunn
455fbf69c3 Revert "telecom-bluetooth DND bug"
Revert submission 19521928-telecomBluetoothDndBug

Reason for revert: Causes crash on call reported in b/258128736
Reverted Changes:
If275c2370:telecom-bluetooth DND bug
I873823def:telecom-bluetooth DND bug

Change-Id: Ib876bf0a82c2657a14080b77ff6c49b177f67637
2022-11-08 15:40:26 +00:00
TreeHugger Robot
2da6bafe25 Merge "Deprecate iDen network type" 2022-11-08 00:14:14 +00:00
Thomas Stuart
1b7a1f0967 Merge "telecom-bluetooth DND bug" 2022-11-07 17:31:24 +00:00
Zeyin Wu
44c8a5b43b Merge "Add setContainerTitle API" 2022-11-07 16:42:17 +00:00
Sandeep Jawalkar
94f9574f29 Merge "Defining EuiccCardManager.RESULT_PROFILE_DOES_NOT_EXIST constant" 2022-11-07 09:12:04 +00:00
Zeyin Wu
bf86a1b0ba Add setContainerTitle API
Test: atest android.view.accessibility.cts.AccessibilityNodeInfoTest
Bug: 191984454
Change-Id: I82874c095aab641257a9735654294a06abac3e45
2022-11-06 22:40:27 +00:00
Hai Zhang
fc09d61b99 Merge "Add knownCerts to system API and copy constructor." 2022-11-05 21:02:51 +00:00
Hai Zhang
ea82335c13 Add knownCerts to system API and copy constructor.
PermissionInfo.PROTECTION_FLAG_KNOWN_SIGNER is already @SystemApi, and
we need system API for accessing the actual certs in the modularized
permission subsystem.

The copy constructor missed knownCerts in ag/13504004 and is fixed now.
knownCerts isn't deep copied in the copy constructor because
PackageItemInfo.metaData isn't deep copied either.

Bug: 182523293
Test: atest CtsContentTestCases:PermissionInfoTest
Change-Id: I784764fdf7238f6b10455ff40c693de0823a94cb
2022-11-05 20:56:42 +00:00
TreeHugger Robot
cae1ecbc2d Merge "DM: add SWITCHING_TYPE_RENDER_FRAME_RATE_ONLY" 2022-11-05 11:14:11 +00:00
Nagendra Prasad Nagarle Basavaraju
a0bd82a164 Merge "Expose Country & CountryDetector API's" 2022-11-05 01:20:50 +00:00
Emilian Peev
f2c8dff01c Camera: Add support for extension progress callbacks
Enable capture process progress callback that can be
triggered by the extension implementation

Bug: 255536242
Test: Camera CTS

Change-Id: I6af4f189e08f07013b80fbf4de579da0ebaf3d7f
2022-11-04 12:59:26 -07:00
Taran Singh
48cba7c99a Merge "API for realtime Scribe gesture preview" 2022-11-04 18:12:07 +00:00
Hunsuk Choi
c4622bdf01 Merge changes from topic "sync-call-info-for-srvcc"
* changes:
  Fix javadoc description of notifySrvccStarted
  Add system apis to support SRVCC
2022-11-04 17:39:15 +00:00
TreeHugger Robot
5566e8c925 Merge "Resolve API feedback and remove references to SliceStore" 2022-11-04 16:24:47 +00:00
sandeepjs
f23581da3b Defining EuiccCardManager.RESULT_PROFILE_DOES_NOT_EXIST constant
some of the ES10x procedures are returning the error code same as the one defined for EuiccCardManager.RESULT_PROFILE_NOT_FOUND(#1) in the platform(eUICC always returns positive integers as error code),
Hence deprecating it and defining new constant with -4 as value to avoid confusion.

Test: build and manual
Bug: 242288148

Change-Id: Ib7629042202ec709d02d59e57c64ea525ba02cfc
2022-11-04 16:18:11 +00:00
David Zhao
bd45073af0 Merge "Unhide notifyRecordingStarted API" 2022-11-03 22:59:03 +00:00
David Zhao
1a77f0874b Merge "Unhide requestStartRecording APIs" 2022-11-03 22:58:00 +00:00
Ady Abraham
1e55b7fb83 DM: add SWITCHING_TYPE_RENDER_FRAME_RATE_ONLY
Add a new switching type to allow render frame rate switching
while disabling display mode switching.

Test: atest DisplayModeDirectorTest
Test: atest FrameRateOverrideHostTest
Bug: 257070931
Change-Id: I9666d9a6a617a14eec45226503d707ca934c9318
2022-11-03 15:30:00 -07:00
Taran Singh
95baa907de API for realtime Scribe gesture preview
Introduce new API to support gesture preview as user is operating over
text.

Bug: 254726230
Bug: 254727073
Test: InputConnectionEndToEndTest

Change-Id: I6c2ac5a5aaeaeab78411d24870f573670304e898
2022-11-03 18:04:00 +00:00
Austin Borger
46afac613a Merge "Add annotations to Camera2 simple objects' methods." 2022-11-03 16:50:50 +00:00
John Reck
ae963f8b4f Merge "Add missing nullability annotations" 2022-11-03 14:29:30 +00:00
Nagendra Prasad Nagarle Basavaraju
9fe25438f0 Expose Country & CountryDetector API's
To Support new mainline module expose getCountryIso,
getSource,addCountryListener,detectCountry API's as
System API

Bug: 252989268
CTS-Coverage-Bug: 255511190
Test: manual test && make update-api
Change-Id: I6c4b2980ee04e56e8d0bb9ddda0391e3e23ada7e
2022-11-03 07:06:30 +00:00
David Zhao
c555dd0189 Unhide notifyRecordingStarted API
Bug: 252888452
Test: atest
Change-Id: Ie40b57389d3f1a03fe098cd17d07286f6bb029ab
2022-11-03 00:35:01 +00:00
Sarah Chin
e4dd9fee8f Resolve API feedback and remove references to SliceStore
Rename PURCHASE_PREMIUM_CAPABILITY_RESULT_NOT_DEFAULT_DATA to
PURCHASE_PREMIUM_CAPABILITY_RESULT_NOT_DEFAULT_DATA_SUB

Split KEY_PREMIUM_CAPABILITY_MAXIMUM_NOTIFICATION_COUNT_INT_ARRAY
into KEY_PREMIUM_CAPABILITY_MAXIMUM_DAILY_NOTIFICATION_COUNT_INT
and KEY_PREMIUM_CAPABILITY_MAXIMUM_MONTHLY_NOTIFICATION_COUNT_INT

Rename SliceStore to SlicePurchaseController. Remove all references to
SliceStore.

Test: atest TelephonyManagerReadNonDangerousPermissionTest
Test: manually verify premium capability purchase behavior
Bug: 255552152
Change-Id: I653db7566c91942faadcec24fb7bb340236ebdc0
2022-11-02 13:29:42 -07:00
Vlad Popa
b043c35d13 Merge "APC: expose the mute state for system APIs" 2022-11-02 19:42:35 +00:00
John Reck
3e79a16b56 Add missing nullability annotations
It's never valid to draw to a null Canvas

Test: make
Change-Id: Iaad788cb9e5f1ff2965d2fac23f7ba7a00069b81
2022-11-02 15:18:46 -04:00
TreeHugger Robot
b84c3cbe22 Merge "Add signal type to GnssCapabilities (frameworks/base)" 2022-11-02 16:07:21 +00:00
Ziqi Chen
6745a77c6c Merge "Add a new API CursorAnchorInfo#getTextAppearanceInfo()." 2022-11-02 08:18:02 +00:00
czq
50f792e09d Add a new API CursorAnchorInfo#getTextAppearanceInfo().
Add a new group of information related to text appearance in
CursorAnchorInfo, which is extracted from TextView.

Bug: 231894524

Test: atest android.view.inputmethod.cts.CursorAnchorInfoTest#testBuilder
atest android.view.inputmethod.cts.CursorAnchorInfoTest#testEquality
atest android.view.inputmethod.cts.InputMethodServiceTest#testOnUpdateCursorAnchorInfo

Change-Id: I8b96f055506b0a426dcfc6334db867dda7073868
2022-11-02 11:40:08 +08:00
Yohei Yukawa
515e3ce276 Merge "Clarify required permission in IMM#getInputMethodListAsUser()" 2022-11-02 00:05:48 +00:00
Raphael Kim
73fcd46cca Merge "Force associated devices to be strongly typed and expose AssociatedDevice." 2022-11-01 22:58:19 +00:00
Yu-Han Yang
d4dea7daee Add signal type to GnssCapabilities (frameworks/base)
Bug: 253319784
Test: atest GnssCapabilitiesTest
Change-Id: I550ca8a957d0dfd8bd4702739415fb2fa9994a61
2022-11-01 22:48:33 +00:00
Sarah Chin
c40a1e9b2b Merge "Add support for network boost purchase, failure, and expiry" 2022-11-01 20:30:26 +00:00
Yohei Yukawa
05e924b2ab Clarify required permission in IMM#getInputMethodListAsUser()
This is a follow up CL to our previous CL [1], which exposed

  InputMethodManager#getInputMethodListAsUser(int userId) [2]

as an @TestApi.

One thing to clarify is that INTERACT_ACROSS_USERS_FULL permission is
required when and only when "userId" is different from the one of the
calling process.  To make it clear, this CL adds "conditional = true"
like other @RequiresPermission usages in InputMethodManager.

This is just about (Test) API annotation.  There must be no observable
behavior change.

 [1]: I4b73d9374d7a2ce4c9dfc48682a43d5d48b39042
      ec8b1449f2
 [2]: I5b50b5fe143c74c87b331bda3e5bcc4d6248436e
      d20eef826c

Bug: 256239860
Test: presubmit
Change-Id: I14867e528d4292f1f8713b1d9b491fc5ed6c1abb
2022-11-01 13:08:35 -07:00
Nate Myren
1a2f6fcaaa Merge "Add READ_MEDIA_VISUAL_USER_SELECTED permission and appop" 2022-11-01 19:54:47 +00:00
Sally Yuen
fa16d9b083 Merge "Add AccessibilityDisplayProxy and register/unregister methods" 2022-11-01 19:38:20 +00:00
Vlad Popa
39ca328582 APC: expose the mute state for system APIs
Add the possibility for system APIs to query if an app is muted and what
are the sources that are muting a specific player/track.

Test: atest android.media.audio.cts.AudioPlaybackConfigurationTest
Bug: 248145607
Change-Id: If40faa860c2663c9ca8436df0e7b8c10464d535b
2022-11-01 20:02:40 +01:00
TreeHugger Robot
d6ffb3b531 Merge "Require TEST_INPUT_METHOD instead in IMM#addVirtualStylusIdForTestSession()" 2022-11-01 17:57:00 +00:00
Yohei Yukawa
943864be04 Merge "Make TEST_INPUT_METHOD @TestAPI" 2022-11-01 17:19:02 +00:00
Gil Cukierman
a811ccf1b7 Merge changes from topic "cukie-2genterprise-user-restriction" am: 6c70a328e5 am: b1a26bf520 am: af4dee0cce
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2221241

Change-Id: I8d46f7ad5447e825b090bc001d625509d29ab48b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 15:39:08 +00:00
Gil Cukierman
d67d27a123 Add DISALLOW_CELLULAR_2G As a New User Restriction am: a247dae4d4 am: c8188d9619 am: 17ca43b84e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2218172

Change-Id: I6fe8995787fdc06857763496c39d97cea5baf1a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 15:38:21 +00:00
Gil Cukierman
b1a26bf520 Merge changes from topic "cukie-2genterprise-user-restriction" am: 6c70a328e5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2221241

Change-Id: I13a9dea21f64bcc63bdb79430c3ac34863b2fa19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 14:22:06 +00:00
Gil Cukierman
c8188d9619 Add DISALLOW_CELLULAR_2G As a New User Restriction am: a247dae4d4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2218172

Change-Id: I130b049513d0bbd099549ff38867fa85be6514f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 14:21:53 +00:00
Gil Cukierman
6c70a328e5 Merge changes from topic "cukie-2genterprise-user-restriction"
* changes:
  Add TelephonyManager.ALLOWED_NETWORK_TYPES_REASON_USER_RESTRICTION
  Add DISALLOW_CELLULAR_2G As a New User Restriction
2022-11-01 13:51:58 +00:00
TreeHugger Robot
bb210c0fdd Merge "Executor version of setWindow() and setExactAndAllowWhileIdle()" 2022-11-01 07:44:22 +00:00
Haoyu Zhang
167691ce12 Merge "Introduce TextBoundsInfo" 2022-11-01 05:00:28 +00:00
Jackal Guo
62185c378a Merge "Revise the return type of #getLabel" 2022-11-01 03:59:19 +00:00
Soonil Nagarkar
00790871c0 Executor version of setWindow() and setExactAndAllowWhileIdle()
We need executor APIs.

Test: atest CtsAlarmManagerTestCases:BasicApiTests

Bug: 255004822
Change-Id: I64cd8330a4874e7652ef043a67942da2907a7ab1
2022-10-31 19:26:04 -07:00