Commit Graph

26184 Commits

Author SHA1 Message Date
TreeHugger Robot
d9294a0a43 Merge "unhide getConsolidatedNotificationPolicy" 2019-10-16 05:10:10 +00:00
Saki Oomori
02fca08ccc Add new carrier config to extend DisconnectCause to play busy tone
am: 63bb856162

Change-Id: I80224cbf453b156676458538cd0bc5c05be4a296
2019-10-15 21:23:30 -07:00
Saki Oomori
63bb856162 Add new carrier config to extend DisconnectCause to play busy tone
This carrier config is used to specify additional DisconnectCause for
playing busy tone.

Bug: 116189822
Test: manual - Checked that busy tone is played according to
"KEY_DISCONNECT_CAUSE_PLAY_BUSYTONE_INT_ARRAY".
Change-Id: I58afb08ddc718bfb23d6c8b4f248c4c05d084829
2019-10-15 18:43:01 -07:00
TreeHugger Robot
50beaa7608 Merge "Make getEcno() public." 2019-10-15 17:26:25 +00:00
TreeHugger Robot
6b905bca2f Merge "Explicitly take flags in createContextAsUser()" 2019-10-15 04:11:04 +00:00
Marco Nelissen
7b8bf4a841 Merge "Adding Dolby Vision AV1 profile to frameworks/base" 2019-10-15 04:03:33 +00:00
Vikas Balapal Maheswarappa
8550ce26e9 Adding Dolby Vision AV1 profile to frameworks/base
Bug: 129367182
Test: build
Change-Id: If273ffeaa14f2698b7f8d143a2a504bee5058dbe
2019-10-14 17:43:44 -07:00
Sarah Chin
11c0ef2c5e Merge "5G meteredness for telephony framework" 2019-10-14 23:31:42 +00:00
Jordan Liu
9bbcca844b Merge "Pass bearerData and serviceCategory to CB module for CDMA" 2019-10-14 20:38:09 +00:00
Makoto Onuki
e5449f0b34 Explicitly take flags in createContextAsUser()
Bug: 142472686
Test: atest android.content.cts.ContextTest#testCreateContextAsUser
Change-Id: Id2e3d5ffe5887a4916e0872a7e85d62cbb439744
2019-10-14 11:09:00 -07:00
Roshan Pius
20bce169a5 Merge "Window: Mark SHOW_FOR_ALL_USERS flag as @SystemApi" 2019-10-14 18:03:23 +00:00
Roshan Pius
5abf660431 Merge "Add a new wifi protection level" 2019-10-14 16:41:19 +00:00
Beverly
d994e2e3c3 unhide getConsolidatedNotificationPolicy
Test: atest android.app.cts.NotificationManagerTest#testConsolidatedNotificationPolicy
Test: atest android.app.cts.NotificationManagerTest#testConsolidatedNotificationPolicyMultiRules
Bug: 141767508
Change-Id: Ie13223760d1434d8a277ffe99e7e8e07718ae639
2019-10-14 11:26:43 -04:00
Jeff Sharkey
93c7e3553b Merge "Progress towards per-volume database separation." 2019-10-14 15:24:59 +00:00
Adrian Roos
51984add12 Merge "API: enable API lint on public and system APIs" am: f8928da8c3 am: 85bd7e7e16
am: 1775ad789b

Change-Id: Ibd39bf253a3dcff26a75082feac4c799a1b75962
2019-10-14 06:51:08 -07:00
Adrian Roos
1775ad789b Merge "API: enable API lint on public and system APIs" am: f8928da8c3
am: 85bd7e7e16

Change-Id: Ia2fe27f2919b96ae7414aa964f7497bd5cf9bbcf
2019-10-14 06:44:10 -07:00
Adrian Roos
85bd7e7e16 Merge "API: enable API lint on public and system APIs"
am: f8928da8c3

Change-Id: I4e567d59fc3008b42f3f0ccc4ac0bec37abca211
2019-10-14 06:31:37 -07:00
Ivan Chiang
176b8d09e1 Merge "Allow providers block folders in ACTION_OPEN_DOCUMENT_TREE" 2019-10-14 13:15:30 +00:00
Roshan Pius
73266f2f64 Add a new wifi protection level
Wifi mainline module needs some permissions which are currently only
granted to signature components. Since mainline modules are not going to
be signed with OEM's signature, we need a new protection level to grant
some of these permissions to the wifi mainline APK.

Bug: 142234604
Test: Verified that wifi can get INTERACT_ACROSS_USERS_FULL permission
Change-Id: I26b0edff62497b5e08c2f2f504b0cd5f950682ad
2019-10-12 20:23:10 +00:00
Adrian Roos
487c646dc0 API: enable API lint on public and system APIs
Bug: 142459906
Test: make checkapi
Change-Id: I1457917dbdff1c1738c17b4d9683a79add971b34
Merged-In: I1457917dbdff1c1738c17b4d9683a79add971b34
2019-10-12 20:45:39 +02:00
Adrian Roos
51c34e8e6c Revert "Revert "API: enable API lint on public and system APIs""
This reverts commit fbaa860e03 and
relands b4f91321d1, with updated
baselines.

Bug: 142459906
Test: make droid
Change-Id: I7736b2caa1c06db7ac837e53fffa8d3b38c4b579
2019-10-12 17:58:39 +02:00
Roshan Pius
a3f89c6882 Window: Mark SHOW_FOR_ALL_USERS flag as @SystemApi
Bug: 142090228
Test: Compiles
Change-Id: I850c7759dc909727f73e40fb6331871a9de25f20
2019-10-12 08:32:44 -07:00
Chen Xu
176dd6b7aa Merge "add a new telephony protection level" 2019-10-12 05:58:56 +00:00
TreeHugger Robot
b7d4e8ccf6 Merge "Add a Test API to verify if gmscore is the network location provider." 2019-10-12 04:24:39 +00:00
Amit Mahajan
3a3c09610a Make getEcno() public.
Test: atest CellInfoTest#verifyCellSignalStrengthWcdma
Bug: 139417139
Change-Id: Ic70af2ca0d60fbf43a929982d8b6853c7b7da049
2019-10-11 21:33:20 +00:00
Chen Xu
45c183d201 add a new telephony protection level
for oems which take telephony mainline module, all telephony related
apks will be signed with non-platform certificate. that said apks won't
be able to grant platform signature permission. Solution is to add a new
telephony protection level.

Bug: 141479803
Test: cts & manual
Change-Id: Ib3be016080d42fd76e7c131f4e44d815ce431e6e
2019-10-11 13:46:01 -07:00
Aurimas Liutikas
8657e7811f Merge "Revert "API: enable API lint on public and system APIs"" 2019-10-11 20:43:37 +00:00
Aurimas Liutikas
fbaa860e03 Revert "API: enable API lint on public and system APIs"
This reverts commit b4f91321d1.

Reason for revert: broke the build. New errors got added in the meantime 
https://android-build.googleplex.com/builds/submitted/5935261/aosp_blueline-userdebug/latest/view/logs/build_error.log

Change-Id: I540f0464588f7558ec9a6c898d81753c3bb1dea9
2019-10-11 20:40:40 +00:00
Soonil Nagarkar
597703c518 Merge "Expose NO_GPS_LOCATION APIs to system and test" 2019-10-11 20:32:45 +00:00
Wei Wang
9f52d55eb2 Add a Test API to verify if gmscore is the network location provider.
Bug:136079152
Test: adb shell am instrument -w -e class com.google.android.location.gts.LocationManagerTest com.google.android.location.gts/androidx.test.runner.AndroidJUnitRunner
Change-Id: Ibe8ffc6148ea22bef279f75275719075d26f346c
2019-10-11 13:18:53 -07:00
TreeHugger Robot
097d896b5e Merge "API: enable API lint on public and system APIs" 2019-10-11 19:36:45 +00:00
Brad Ebinger
35919d5807 Merge "Fix annotations in ImsSmsImplBase" am: 90f4c2abe4 am: f9f5ebd9ca am: 0b37c14f40
am: 5525fd1924

Change-Id: Ia1f86f758e81e50c0a51d59d74d21fb1f695be67
2019-10-11 11:34:46 -07:00
Soonil Nagarkar
79c47e27fe Expose NO_GPS_LOCATION APIs to system and test
These APIs are required for use by CTS tests and location providers.

Bug: 142481153
Test: manual
Change-Id: I09815477c2ac822a310b360145c8297170d24150
2019-10-11 11:30:45 -07:00
Brad Ebinger
5525fd1924 Merge "Fix annotations in ImsSmsImplBase" am: 90f4c2abe4 am: f9f5ebd9ca
am: 0b37c14f40

Change-Id: Ie7ec40e4c37657a9a811fed180d56413213d85ef
2019-10-11 11:27:38 -07:00
Brad Ebinger
0b37c14f40 Merge "Fix annotations in ImsSmsImplBase" am: 90f4c2abe4
am: f9f5ebd9ca

Change-Id: I84f58daaf2ba037ea9a4feac97006ce848eadf4a
2019-10-11 11:18:25 -07:00
Brad Ebinger
f9f5ebd9ca Merge "Fix annotations in ImsSmsImplBase"
am: 90f4c2abe4

Change-Id: I81e572a926e92d75d83fbf3b169772635c733c15
2019-10-11 11:11:17 -07:00
Winson Chiu
8e4f087cc1 Merge "Add ResourceLoader API with .apk and .arsc support" 2019-10-11 18:05:00 +00:00
Adrian Roos
b4f91321d1 API: enable API lint on public and system APIs
Bug: 142459906
Test: make checkapi
Change-Id: I1457917dbdff1c1738c17b4d9683a79add971b34
2019-10-11 19:48:04 +02:00
Brad Ebinger
90f4c2abe4 Merge "Fix annotations in ImsSmsImplBase" 2019-10-11 17:47:54 +00:00
Kweku Adams
47718be3e6 Merge "Add API to whitelist multiple apps at once." 2019-10-11 17:27:41 +00:00
Jeff Sharkey
1a4223e543 Merge "Reveal color standard, transfer, and range." 2019-10-11 17:21:01 +00:00
Xiangyu/Malcolm Chen
07ec79849b Merge "Rename and publicize getMaxPhoneCount; and deprecate getPhoneCount." 2019-10-11 02:06:47 +00:00
Jeff Sharkey
588c15e56e Reveal color standard, transfer, and range.
We've already been parsing them for many years, and they're well
defined by other public APIs, so let's reveal them in MediaStore.

Also get some storage-related documentation updated to guide
developers towards replacements in a post-scoped-storage world.

Bug: 140247264, 139185855, 141523097, 139185322
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Id39a74a9972a330b3f83913b2eef5100ec59627d
2019-10-10 17:44:57 -06:00
Mady Mellor
11bab7ba60 Merge "Remove embedded & document launch always restrictions from a bubble" 2019-10-10 23:10:36 +00:00
Winson
9947f1e4fa Add ResourceLoader API with .apk and .arsc support
ResourceLoaders allow inserting another .apk/.arsc into AssetManager's
resource resolution search. The effect is similar to overlays,
where a entry of >= config later in the path list will return that
ApkAsset's resource value instead.

Because loading from an .arsc is supported, which doesn't contain
any actual files, ResourceLoader exposes loadDrawable and
loadXmlResourceParser to allow an application load those files from
anywhere or create them in code.

The data being loaded is either pushed into an .apk or .arsc that
mocks itself as the package being "overlaid" and is passed in
through ResourcesProvider, an interface with static methods that
supports loading from a readable path on disk or a FileDescriptor.

The APIs are accessed through a Context's getResources(), which
has been changed to be unique per "Context-scope", which is usually
the lifetime of the Java object. The exception is that Activities
who get their Resources object persisted across recreations
maintain that logic for persisting ResourceLoaders.

Bug: 135270223

Test: atest FrameworksResourceLoaderTests

Change-Id: I6929f0828629ad39a21fa155e7fec73bd75eec7d
2019-10-10 15:41:03 -07:00
Ryan Mitchell
d61d44da96 Merge changes I1740dcdc,I12f965b5
* changes:
  Parse <overlay> and abstract resource mapping
  Improve idmap2 xml parsing
2019-10-10 22:36:44 +00:00
Wei Jia
46d352505d Merge "CodecCapabilities: add low latency decoding feature" 2019-10-10 21:47:05 +00:00
Malcolm Chen
32f799da52 Rename and publicize getMaxPhoneCount; and deprecate getPhoneCount.
To have better names reflecting what getPhoneCount / getMaxPhoneCount
actually represent, we replace them with getActiveModemCount and
getSupportedModemCount. As getPhoneCount is public API, we mark
it as @Deprecated.

Bug: 141388730
Test: build
Change-Id: If086c50ae803b384691f709057bceeac2fc1d9d5
2019-10-10 14:36:35 -07:00
Brad Ebinger
50c7b1bedf Fix annotations in ImsSmsImplBase
Bug: 141568452
Test: manual
Change-Id: Iad595b75d47dc9fd356e6362e3adbcb5815e375d
2019-10-10 13:25:03 -07:00
Makoto Onuki
701edd6c0c Merge "Add Context.createContextAsUser()" 2019-10-10 18:52:49 +00:00