Commit Graph

27846 Commits

Author SHA1 Message Date
Jiyong Park
e309516406 Add API stubs for module APIs
The following two stub libraries are added:

- android_module_app_stubs_current: @SystemApis that are available for
modules implemented as apps. @SystemApis with client=PRIVILEGED_APPS
and client=MODULE_APPS are included here.

- android_module_lib_stubs_current: @SystemApis that are available for
modules implemented as bootclasspath jars. @SystemApis with
client=PRIVILEGED_APPS, MODULE_APPS, and MODULE_LIBRARIES are all
included here.

For now, the compatibility check against the last release API is not
done, but this is not a problem because this is the first time these
APIs are released.

Bug: 139391334
Bug: 140202860
Bug: 146727827
Test: m

Change-Id: I0254a5f7751c58029fa7a8d5c342b731a7deb69a
2020-01-13 10:13:06 +09:00
Nick Chalko
6f886056d0 Merge "Mark @NonNull where possible in TvTrackInfo" 2020-01-12 05:53:34 +00:00
Nick Chalko
63cdbb59f1 Mark @NonNull where possible in TvTrackInfo
Test: m framework-minus-apex
Change-Id: I4acdb1c9871ee71294e2ebfec2c7444de95861b7
Bug: 112835103
2020-01-12 05:53:07 +00:00
Nicholas Ambur
55c162edcd Merge "add audioCapabilities to SoundTrigger properties" 2020-01-11 16:39:55 +00:00
TreeHugger Robot
8465bef0b7 Merge "softap: Add blocked/allowed client list support" 2020-01-11 14:34:34 +00:00
Kyunglyul Hyun
616096e8d0 Unhide MediaRouter2 and MediaRoute2ProviderService
This CL covers APIs for discovering routes published by
MediaRoute2ProviderService.

Bug: 147402721
Test: atest mediaroutertest
Change-Id: I978a6489ae1bcfcd6bb427d4a939c49ff3420e2d
2020-01-11 16:09:35 +09:00
Yanli Wan
0c581ec46d Merge "Add support to start financed device provisioning" 2020-01-11 05:24:17 +00:00
TreeHugger Robot
2dbacb6ca4 Merge "Add SystemApi for querying audio routing" 2020-01-11 03:10:52 +00:00
TreeHugger Robot
c54923ca57 Merge "Add new @SystemApis for RCS dependencies" 2020-01-11 02:54:22 +00:00
Jeff Sharkey
498a9d30f7 Merge "Add support for "SceneCaptureType" Exif tag." 2020-01-11 01:01:16 +00:00
TreeHugger Robot
96fe7c6631 Merge "Add WifiOemConfigStoreMigrationHook class for OEM migration" 2020-01-11 00:21:04 +00:00
Yanli Wan
01c9255ec4 Add support to start financed device provisioning
* Add intent action used to trigger financed device provisioning
* Add financed device provisioning precondition check

Bug: 135486391
Test: atest DevicePolicyManagerTest
Change-Id: Id0f65816026cd195481022b6b75c3232996ec6e7
2020-01-10 16:14:57 -08:00
Nicholas Ambur
7092a56116 add audioCapabilities to SoundTrigger properties
Bug: 146363190
Test: atest SoundTriggerMiddlewareImplTest
&& GTS assist test suite

Change-Id: Ib8a3b809fa6738152d31499b5072a2e9d39ab0a0
2020-01-10 16:00:58 -08:00
Automerger Merge Worker
7e3b1a95ec Merge "Expose permission READ_PRECISE_PHONE_STATE as public API" am: 8f5a92df20 am: ef35bbd484 am: 41c0b69c1e
Change-Id: Ie01d1924e937967b43c87625e179e1d4f0bfaf0a
2020-01-10 23:43:34 +00:00
Automerger Merge Worker
41c0b69c1e Merge "Expose permission READ_PRECISE_PHONE_STATE as public API" am: 8f5a92df20 am: ef35bbd484
Change-Id: Ifa4c16eee0937afab9d2f7ba185729c2814927ce
2020-01-10 23:31:43 +00:00
Rambo Wang
8f5a92df20 Merge "Expose permission READ_PRECISE_PHONE_STATE as public API" 2020-01-10 23:13:57 +00:00
Automerger Merge Worker
9694a16c04 Merge "Revert "Make MmsManager public"" am: 393af8c53c am: 685a0ab43b
Change-Id: I64d9e9a55f8124bdfe8bcd7aba8e8f74a42b0051
2020-01-10 23:01:18 +00:00
Sarah Chin
393af8c53c Merge "Revert "Make MmsManager public"" 2020-01-10 22:44:46 +00:00
Shuo Qian
2f1b6c4162 Merge "Make hidden API isDataCapable for Telephony" 2020-01-10 22:17:43 +00:00
Ryan Mitchell
c624c56f33 Merge "Make attrresourcesMap public" 2020-01-10 22:11:45 +00:00
Nate Jiang
1efe5eb871 Merge "Rename API setIsUserAllowedToManuallyConnect to setCredentialSharedWithUser" 2020-01-10 22:01:21 +00:00
Sarah Chin
88246a507f Merge "Revert "Make MmsManager public"" 2020-01-10 21:47:07 +00:00
Brad Ebinger
f8e4614a91 Add new @SystemApis for RCS dependencies
As part of mainline, remove telephony dependencies from RcsService
and PresencePolling apps.

Bug: 147319232
Test: atest CtsTelephonyTestCases
Change-Id: Id25bfffc1c40db8b183206dc598165272da7356c
2020-01-10 13:24:12 -08:00
Automerger Merge Worker
dffdb984c3 Merge "Make the BluetoothMap class @SystemApi" am: 7de3328d4e am: 0b9386c52d am: defec369b6
Change-Id: Iafc1967c0127bfbe25b115982f57c09088aeb6ed
2020-01-10 21:23:24 +00:00
Jeff Sharkey
5e27c6437c Add support for "SceneCaptureType" Exif tag.
Partners have requested that we start indexing this well-defined
Exif tag.

Bug: 139146203
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I4f0e376cd4a80454d4350e9e313cb190709ecbf9
2020-01-10 14:16:52 -07:00
Automerger Merge Worker
defec369b6 Merge "Make the BluetoothMap class @SystemApi" am: 7de3328d4e am: 0b9386c52d
Change-Id: I75eff4043effbd13f1facbbbead512f164721cb4
2020-01-10 21:12:15 +00:00
TreeHugger Robot
7135c036ba Merge "Make isManagedProfile public." 2020-01-10 21:09:46 +00:00
TreeHugger Robot
d8468f82fe Merge "Adding additional listeners (onNotificationVisibilityChanged, onPanelHidden, onPanelRevealed) to NotificationAssistantService." 2020-01-10 20:59:29 +00:00
Treehugger Robot
7de3328d4e Merge "Make the BluetoothMap class @SystemApi" 2020-01-10 20:53:20 +00:00
Automerger Merge Worker
02d105fd25 Merge "Add setConnectionPolicy to HidDevice and Pan. Clean up documentation for the method in Pbap." am: 06410db097 am: 20acd0b7a7 am: cc626683b8
Change-Id: Ie234869b5d50c7cbfba0bee5c6596c472f32838c
2020-01-10 20:35:48 +00:00
Automerger Merge Worker
cc626683b8 Merge "Add setConnectionPolicy to HidDevice and Pan. Clean up documentation for the method in Pbap." am: 06410db097 am: 20acd0b7a7
Change-Id: I3ea4fa8fa743c159c1aef5d7f80bc42ebc8d7d70
2020-01-10 20:35:17 +00:00
Jean-Michel Trivi
56b97b74ed Add SystemApi for querying audio routing
Add a new @SystemApi for querying audio playback routing for
a given AudioAttributes.
  Note that unlike the (@UnsupportedUsage) getDevicesForStream API,
this method takes into account any current dynamic policy (unless
it is based on uid).

Bug: 144440677
Test: atest AudioServiceHostTest
Change-Id: I0431e792a209865ffa771a521c2f0792c07ce5d4
2020-01-10 12:32:01 -08:00
Treehugger Robot
06410db097 Merge "Add setConnectionPolicy to HidDevice and Pan. Clean up documentation for the method in Pbap." 2020-01-10 20:19:36 +00:00
TreeHugger Robot
741d40abf2 Merge "Add createRequestInteractAcrossProfilesIntent API." 2020-01-10 19:52:46 +00:00
Sarah Chin
ee13f12c40 Revert "Make MmsManager public"
This reverts commit 0339a82c0a.

Reason for revert: RP1A.200110.001 cannot send/receive MMS

Bug: 147475284
Change-Id: I5952168aba996a10554406a9f1675ac3b04fa41f
2020-01-10 19:36:04 +00:00
Sarah Chin
5dd05a4931 Revert "Make MmsManager public"
This reverts commit 2137c9bd39.

Reason for revert: Reverted internally

Change-Id: I6bed6facba681fa4abee739be50e21700b37c84a
Merged-In: I5952168aba996a10554406a9f1675ac3b04fa41f
2020-01-10 19:34:12 +00:00
Roshan Pius
9dc9affb96 Add WifiOemConfigStoreMigrationHook class for OEM migration
Add a helper class (not part of the wifi mainline module) to migrate
config store data from existing OEM devices. This will be used when the
device upgrades from a build containing OEM impl of wifi to a
build containing wifi mainline module. OEM should implement this
class if they had any non-AOSP changes in the config store
format/field names on their devices.

Bug: 142394776
Test: Compiles
Change-Id: Ie11e0ffe8e4b8f1edcaa23d35284c3b564dc97f4
2020-01-10 11:12:28 -08:00
Kholoud Mohamed
8b678a4ca3 Merge "Change bindServiceAsUser from system to public API" 2020-01-10 18:54:02 +00:00
Roshan Pius
3f5478a3a0 Merge changes I121b9246,Ib8227067
* changes:
  AndroidManifest.xml: Mark NETWORK_SETTINGS_RESET broadcast as protected
  Intent: Promote broadcast flag needed by wifi to @SystemApi
2020-01-10 18:39:32 +00:00
Roshan Pius
51fcccb3bb Intent: Promote broadcast flag needed by wifi to @SystemApi
FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT is used by wifi mainline
module, promoting to a @SystemApi.

Bug: 147374337
Test: Compiles
Change-Id: Ib822706700533c0b79833504dad5c8d5253d5d55
2020-01-10 10:25:31 -08:00
Nate(Qiang) Jiang
2f8fec07b9 Rename API setIsUserAllowedToManuallyConnect to setCredentialSharedWithUser
Bug: 146423406
Test: atest android.net.wifi

Change-Id: I699b8e48e009d82a5a1cd237dca7c5b1ec54f0f2
2020-01-10 10:20:30 -08:00
TreeHugger Robot
0df353738f Merge "Add support for conversation notification channels" 2020-01-10 17:46:58 +00:00
Ryan Mitchell
636edc234a Make attrresourcesMap public
attr/resourcesMap allows overlays to configure which resources are
used to overlay a target APK. This attribute should be public.

Bug: 135943783
Test: builds
Change-Id: Iab3fdc04af16835565c339ab85e95296943ec5d7
2020-01-10 09:39:24 -08:00
lesl
d26a9f75ee softap: Add blocked/allowed client list support
Bug: 142752869
Test: atest frameworks/base/wifi/tests/
Test: Manuel test, enable softap with feature enable. check client
connect log and use test code to simulate the real use case.
Change-Id: I05b0c0d376ec8437556a66e372c2693b5ce5f266
2020-01-11 01:24:36 +08:00
Automerger Merge Worker
ae6dd8d253 Merge "Make MmsManager public" am: b93ab62135 am: 4fbe9dd076
Change-Id: Icf438f6d3ff46655beae6c71aef06343bff13186
2020-01-10 17:16:58 +00:00
Nicholas Ambur
bcc216f212 Merge "add supportedModelArch to SoundTrigger properties" 2020-01-10 17:09:00 +00:00
Nicholas Ambur
b2a5c29796 Merge "add parameter control to AlwaysOnHotwordDetector" 2020-01-10 17:08:00 +00:00
Nate Jiang
9785b64c11 Merge "show suggestion in Wifi picker" 2020-01-10 16:54:33 +00:00
kholoud mohamed
5b2dfe3744 Add createRequestInteractAcrossProfilesIntent API.
Creates intent to open the relevant settings page for the
user to enable/disable the INTERACT_ACROSS_PROFILES appop.

BUG: 140728653
BUG: 136249261
Test: atest CrossProfileAppsPermissionHostSideTest

Change-Id: Ia86ae5c8318190374ee73377b81cfade3b0e34c8
2020-01-10 16:47:55 +00:00
TreeHugger Robot
6d30a0fbe3 Merge "softap: remove set/getWpa2Passphrase" 2020-01-10 16:47:44 +00:00