Commit Graph

29569 Commits

Author SHA1 Message Date
Sarah Chin
ba6bee9e94 Merge "API Review: rename isGlobalModeEnabled" into rvc-dev 2020-03-02 18:11:27 +00:00
TreeHugger Robot
be50af2116 Merge "CellularBatteryStats: Address API council feedback" into rvc-dev 2020-03-02 17:40:09 +00:00
TreeHugger Robot
81958ce9b4 Merge "Add @RequiresPemission compat framework APIs." into rvc-dev 2020-03-02 17:11:55 +00:00
atrost
7bc6bec6a6 Add @RequiresPemission compat framework APIs.
The permission check is already implemented server side.

Test: m
Bug: 150471082
Change-Id: I63d807be84bccb237f69562cdbce22f99a964d1a
2020-03-02 13:20:23 +00:00
Tiger Huang
e06d071446 Unhide API: WindowInsets.Type#displayCutout()
With this CL, the public developers can interact with display cutout via
insets APIs.

Bug: 118118435
Test: build
Change-Id: If5ccacddb079bc5513ccb5820ea1c371e95fe562
2020-03-02 15:44:36 +08:00
SongFerngWang
53515a0ea6 CellularBatteryStats: Address API council feedback
Bug: 144925883
Test: Build pass, device boots up
atest TelephonyMetricsTest

Change-Id: Iac5904a3397a42aa5f015cb53bb63318f5c377a4
Merged-In: Iac5904a3397a42aa5f015cb53bb63318f5c377a4
(cherry picked from commit 84dc30fede)
2020-03-02 05:15:08 +00:00
Kyunglyul Hyun
a448f383d0 Merge "Add "name" to RoutingSessionInfo" into rvc-dev 2020-03-02 02:42:28 +00:00
TreeHugger Robot
bba804e8f5 Merge "Rename setMeteredOverridePasspoint to setPasspointMeteredOverride" into rvc-dev 2020-02-29 13:07:55 +00:00
Sarah Chin
be776fed5e Merge "API review: setNetworkSelectionModeManual" into rvc-dev 2020-02-29 04:49:13 +00:00
Sarah Chin
1f39ebd9e6 API review: setNetworkSelectionModeManual
Move optional ran parameter to end
Make system -> public API

Test: atest FrameworksTelephonyTests
Bug: 150127236
Change-Id: I140477b2778158646dbbcb0d2a32033c61bb97e4
2020-02-28 15:13:16 -08:00
Xiangyu/Malcolm Chen
8972b83893 Merge "Re-order parameters of setUiccApplicationsEnabled." into rvc-dev 2020-02-28 22:22:26 +00:00
TreeHugger Robot
5f3331df90 Merge "Mark NonNull for canManageSubscription parameters." into rvc-dev 2020-02-28 22:17:28 +00:00
TreeHugger Robot
01f0e8f0c3 Merge "Make createLocationInfoSanitizedCopy as @hide." into rvc-dev 2020-02-28 22:16:45 +00:00
Matt Pietal
e4beb133e6 Merge changes I7ac3a378,Id06a24d2 into rvc-dev
* changes:
  Controls API - Docs + method name change
  Controls API - Publisher change - Phase 2
2020-02-28 19:06:28 +00:00
Peter Wang
879f32b1cc Merge "[API Review] Expose sendOrderedBroadcast" into rvc-dev 2020-02-28 19:05:26 +00:00
Quang Luong
aa06e85a29 Rename setMeteredOverridePasspoint to setPasspointMeteredOverride
Renaming as per Android API Council request.

Bug: 150204647
Test: build
Change-Id: Id6c40eef43ce765fe379af68144d342413d3daa4
2020-02-28 11:04:52 -08:00
TreeHugger Robot
fde0af9177 Merge "Make MediaRouter2 callback classes as abstract" into rvc-dev 2020-02-28 11:38:39 +00:00
Hyundo Moon
899535c9ff Make MediaRouter2 callback classes as abstract
This is per API review.

Bug: 149912538
Test: Ran CTS and atest mediaroutertest
Change-Id: Id52bb7b06da4f414099607b1bde781005e47ded3
2020-02-28 18:27:42 +09:00
Sarah Chin
927caf9ff8 API Review: rename isGlobalModeEnabled
Test: atest FrameworksTelephonyTest
Bug: 148603998
Change-Id: Ia23e47047bb8e79e528ba2e37b8ab67e17af1ec7
2020-02-27 16:01:11 -08:00
Malcolm Chen
f0af4a6995 Re-order parameters of setUiccApplicationsEnabled.
To be consistent with other APIs, based on API council's feedback.

Bug: 148179539
Test: build
Change-Id: I1d4a2bf7dfc01842f583e02517986a8bf043bfde
Merged-In: I1d4a2bf7dfc01842f583e02517986a8bf043bfde
2020-02-27 20:09:32 +00:00
Amit Mahajan
cc7682bd15 Merge "Hide TelephonyRegistryManager." into rvc-dev 2020-02-27 18:25:29 +00:00
Kyunglyul Hyun
d02172c6e6 Add "name" to RoutingSessionInfo
The name of dynamic group can be set by providers.

Bug: 150249359
Test: cts tests
Change-Id: I1b74fe5b7976eb0ad6a52fd29203446dde480de8
2020-02-27 19:12:10 +09:00
Peter_Liang
01a592bfd1 Remove the public APIs for allow rich content.
1. Mark @hide for "Drawable loadAnimatedImage(Context)" and "String loadHtmlDescription(PackageManager)".
2. Move common function into util.

Bug: 149516547
Bug: 142532186
Test: maunal test
Change-Id: I4f734a496938f64bcde990268e11a2d1a5be4771
Merged-In: I4f734a496938f64bcde990268e11a2d1a5be4771
(cherry picked from commit a2f7f84938)
2020-02-27 04:19:53 +00:00
TreeHugger Robot
8e5e4e03a9 Merge "Hide CarrierMessagingServiceWrapper for now." into rvc-dev 2020-02-27 04:04:35 +00:00
TreeHugger Robot
658fc6d6d6 Merge "A few inline autofill API tweaks." into rvc-dev 2020-02-27 03:16:38 +00:00
Peter Wang
2361687bec [API Review] Expose sendOrderedBroadcast
with appOp as String and options as Bundle

Bug: 139077993
Bug: 146423958
Test: Build
Change-Id: I5325e08d60016741139251813a5df9b42f2efc82
Merged-In: I5325e08d60016741139251813a5df9b42f2efc82
2020-02-26 15:58:33 -08:00
David Su
f16dce6f20 Merge changes from topic "api-review-getNetworkDisableReasonString" into rvc-dev
* changes:
  Settings: Rename NetworkSelectionStatus#getNetworkDisableReasonString
  Rename NetworkSelectionStatus#getNetworkDisableReasonString
2020-02-26 23:42:53 +00:00
David Su
c4b4ccf575 Merge "Wifi: Clean up APIs" into rvc-dev 2020-02-26 23:42:35 +00:00
TreeHugger Robot
710401a657 Merge "Hide setPolicyDataEnabled" into rvc-dev 2020-02-26 23:26:17 +00:00
Amit Mahajan
7411d22e57 Hide TelephonyRegistryManager.
This was added for telephony mainline, and as such is not needed in
R now.

Test: basic sanity
Bug: 149850449
Change-Id: I2b47ab45839f07494dcad4f1878809a55ddd3087
2020-02-26 23:04:04 +00:00
Amit Mahajan
e75a35d3b3 Hide CarrierMessagingServiceWrapper for now.
Based on api-council feedback there are some changes required.
Will incorporate the changes and expose this class in a later
release.

Test: basic sanity
Bug: 144346062
Change-Id: Icb65f90261ea6000aecd72a1888d5ee23eed6527
2020-02-26 23:02:44 +00:00
Feng Cao
4b0ef392c2 A few inline autofill API tweaks.
* add isPinned() to InlineSuggestionInfo so IME can choose to pin the suggestion
* allow augmented autofill service to set inline actions in the response
* non-api change: pull the autofill hints from the Slice in the InlinePresentation

Test: m -j; atest InlinePresentationTest, atest CtsInputMethodTestCases:InlineSuggestionInfoTest CtsInputMethodTestCases:InlineSuggestionTest
Bug: 137800469

Change-Id: I63b6b843ef056df18c317299e617b8fe21907374
2020-02-26 13:49:54 -08:00
Mingguang Xu
3b117214d5 Merge "Extension API: Replace NetworkScore object with integer in API surface" into rvc-dev 2020-02-26 21:41:03 +00:00
Jack Yu
58979d9557 Merge "Hide API" into rvc-dev 2020-02-26 21:04:56 +00:00
Roshan Pius
256b44d61d Merge changes from topics "remove_oem_configstore", "rename_oem_migration" into rvc-dev
* changes:
  WifiMigration: Add a method for removing config store
  WifiOemMigrationHook: Rename class to address API council feedback
2020-02-26 20:55:40 +00:00
Matt Pietal
e44217b31a Controls API - Docs + method name change
Updated javadoc for service interface. Changed method names to include
a verb.

Bug: 150154816
Test: atest ControlProviderServiceTest
Change-Id: I7ac3a378695c8f90a22ff9266d15163140aab432
2020-02-26 15:49:37 -05:00
Matt Pietal
bb3be6517c Controls API - Publisher change - Phase 2
Complete the removal of consumer-based load API method. Update the
publisher-based 'publisherForAllAvailable()' to be non-null and
abstract, indicating it is now a required method.

Bug: 149398610
Test: atest ControlsBindingControllerImplTest ServiceWrapperTest
ControlsProviderLifecycleManagerTest
Test: ControlProviderServiceTest

Change-Id: Id06a24d2facf7621e8985ebe0396092752b6f59d
2020-02-26 15:46:10 -05:00
Malcolm Chen
0ca109c035 Make createLocationInfoSanitizedCopy as @hide.
As we are not shipping Telephony mainline and it's TBD whether
TelephonyRegistry will be part of mainline or not, we change
createLocationInfoSanitizedCopy from @SystemApi back to @hide.

Bug: 148179832
Test: build
Change-Id: I65dea196ab80aec96b6b35edcc0059cefc2f1b43
2020-02-26 19:59:56 +00:00
Malcolm Chen
277a551652 Mark NonNull for canManageSubscription parameters.
Bug: 148106947
Test: build
Change-Id: I56dc7576c9b44337f0b61164a5cd434d17601ccb
2020-02-26 19:58:42 +00:00
TreeHugger Robot
1e1f821146 Merge "Tuner API: Remove superclass Dvr" into rvc-dev 2020-02-26 19:09:32 +00:00
Jack Yu
f0df0ba2ba Hide API
Hide API that is only used by telephony registry.

Test: Telephony sanity tests
Bug: 149850449
Change-Id: Ie4c46de336097fb7231291f15048329aea0b639c
2020-02-25 17:09:00 -08:00
David Su
e4956075da Rename NetworkSelectionStatus#getNetworkDisableReasonString
Renamed to getNetworkSelectionDisableReasonString
to be more descriptive.

Bug: 146046526
Test: compiles
Change-Id: I8d67906e31e66f4cf839be1637ecb6a58edbbc52
2020-02-25 15:32:43 -08:00
shubang
82530bf904 Tuner API: Remove superclass Dvr
Bug: 149785982
Test: make;
Change-Id: I39721db253ec1212c5cd9774c8466afdf47799d2
2020-02-25 14:04:01 -08:00
Daniel Bright
31952450ba Hide setPolicyDataEnabled
This method was made into a SystemApi for R since
Telephony was going mainline.  The Telephony team
has a more robust solution as other similar APIs were
needed.  Since we are not going mainline, it makes
the most sense to wait for full solution.

Bug: 148165897
Bug: 146654731
Test: make \ flash
Change-Id: I5b38694acf3887e4f3ea2ab725b57fe4be9d5626
2020-02-25 13:24:50 -08:00
TreeHugger Robot
7973854504 Merge "Fix widget restore flow" into rvc-dev 2020-02-25 19:31:08 +00:00
TreeHugger Robot
a074a4b230 Merge "Removed permission check" into rvc-dev 2020-02-25 18:51:58 +00:00
Roshan Pius
4c7baf7ba2 WifiMigration: Add a method for removing config store
Adding a new method to trigger OEM config store removal after migration
is complete.

Bug: 149418926
Test: Compiles
Change-Id: Ie22ff99931cc5f2ccbc47a55a2ac6e3b2baa41d7
2020-02-25 10:18:52 -08:00
Amy Zhang
282b5c2043 Merge "Add @NonNull annotation per API Council's suggestion" into rvc-dev 2020-02-25 18:16:49 +00:00
Makoto Onuki
9577cd78ff Merge "Squash same ApplicationInfo's in Parcel" into rvc-dev 2020-02-25 15:17:14 +00:00
Galia Peycheva
641e2e6361 Create DreamManager System Server TestApi
Bug: 141771803
Bug: 133216167

Test: atest DreamManagerServiceTests
Test: make checkbuild

Merged-In: I937061138bc8ccaf4475674f00331c3fe1c5a495
Change-Id: I937061138bc8ccaf4475674f00331c3fe1c5a495
(cherry picked from commit 4467c53c11)
2020-02-25 12:32:02 +00:00