Commit Graph

24908 Commits

Author SHA1 Message Date
TreeHugger Robot
3c4d3948e9 Merge "API Feedback on setActiveConfigsChangedOperation" 2019-03-28 00:22:06 +00:00
Kevin Rocard
cba4b211e5 Merge "Introduce a system APC with its corresponding opt-out" 2019-03-27 20:41:06 +00:00
TreeHugger Robot
49cf94e9d4 Merge "media: rename KEY_MAX_BFRAMES to KEY_MAX_B_FRAMES" 2019-03-27 20:30:47 +00:00
TreeHugger Robot
a84de93887 Merge "Address API council review comments." 2019-03-27 19:43:37 +00:00
Julia Reynolds
5da81d68c8 Merge "Add link for bubble settings." 2019-03-27 19:36:42 +00:00
Nader Jawad
40a43424ee Merge "Added framework APIs to leverage new BlendMode API" 2019-03-27 16:39:03 +00:00
Julia Reynolds
3bdcce76cd Add link for bubble settings.
Test: cts
Bug: 129068779
Change-Id: I61613e023e20bc807d04cfc3ab91074249d7f3b7
2019-03-27 12:25:03 -04:00
Wonsik Kim
d18e1f34fe media: rename KEY_MAX_BFRAMES to KEY_MAX_B_FRAMES
Rename it to be consistent with use of I_FRAME.

Bug: 129344870
Test: builds
Change-Id: I816439074837452cdbd9ed2a734ea237517ad26f
2019-03-27 08:49:58 -07:00
TreeHugger Robot
8f9239810d Merge "Update desired heights docs based on feedback from CL after it was submitted" 2019-03-27 14:02:41 +00:00
Joe Onorato
8f3f4816ea Fix api council feedback
Bug: 126700270
Test: treehugger
Change-Id: Ib274c7c7975b6260b018d63216e03fd8eff57223
2019-03-26 21:29:09 -07:00
Po-Chien Hsueh
43037e40e7 Merge "Add a permission, INSTALL_DYNAMIC_SYSTEM" 2019-03-27 03:21:19 +00:00
Po-Chien Hsueh
244e560c09 Merge "Send URL using Uri instead of String" 2019-03-27 03:20:25 +00:00
Nader Jawad
dadf251a0d Added framework APIs to leverage new BlendMode API
Updated various framework APIs to leverage the new BlendMode API
that parallels the corresponding porterduff mode equivalent.

Added new Drawable#onApplyBlendMode API that provides a backward
compatible solution for Drawable implementations that leverage
the new BlendMode API as well as fall back on the traditional
setTintMode(PorterDuff.Mode) API for instances where it is not
implemented

Bug:126726419
Test: Re-ran CTS graphics test cases
Change-Id: I119a7f57dce0a095c0a73cf83dc50b82beff5e32
2019-03-26 16:44:10 -07:00
Wei Wang
114922a8fa Address API council review comments.
Rename the setters and getter for location package extra. The getter is
not used by prebuilt apps, so they are renamed directly. The setter is
used by GmsCore, so mark as @removed for now.

Bug: 123587501
Test: Manual

Change-Id: Ia5167d20aff92242036e3642a176fe2ab03d8a52
2019-03-26 16:11:18 -07:00
Chen Xu
493080e883 Merge "move short code definitions to SmsManager Test API" 2019-03-26 22:07:41 +00:00
TreeHugger Robot
1f8d933b32 Merge "Add NonNull/Nullable annotations" 2019-03-26 20:26:35 +00:00
Felipe Leme
df1aa85444 Merge "Defined new APIs to whitelist content capture for specific URLs." 2019-03-26 16:01:10 +00:00
Todd Kennedy
63ff464661 Add NonNull/Nullable annotations
Change-Id: Id2a343765b29226a13ba41102df4bca739112192
Fix: 126701786
Test: Manual
2019-03-26 13:27:03 +00:00
Alex Kershaw
2384444f75 Merge "Add @NonNull to parameter." 2019-03-26 11:14:25 +00:00
Po-Chien Hsueh
d0f5ee6cef Merge "Pass exception detail to API user" 2019-03-26 06:54:19 +00:00
chen xu
9c7fad9235 move short code definitions to SmsManager Test API
Bug: 127560420
Test: cts
Change-Id: I6a5ba2439713105b25913ba8eb081abfaafd1a2e
2019-03-25 21:51:26 -07:00
Jeff Sharkey
9fbd2a9262 Merge "Respond to API council feedback." 2019-03-26 02:58:51 +00:00
Mady Mellor
8a529e2288 Update desired heights docs based on feedback from CL after it was submitted
Test: atest BubbleControllerTest
Bug: 127713900
Change-Id: I7187f597d2079cf62f1c3875f9fc1a9665a1bd0d
2019-03-25 17:44:28 -07:00
Jeff Sharkey
aa28dff4cb Respond to API council feedback.
Naming tweaks and hide API that should move to androidx.

Bug: 128427993
Test: none
Change-Id: Ic54452fdedbe72e5fa71897cc2b22e9598664c02
2019-03-25 18:01:10 -06:00
Felipe Leme
790be0463b Defined new APIs to whitelist content capture for specific URLs.
Test: m update-api # not implemented yet
Fixes: 129267994

Change-Id: Ibd83368ce79e8dfe901164f921304091c41428fc
2019-03-25 15:35:57 -07:00
TreeHugger Robot
44dbdbc348 Merge "Add an api to get active staged session" 2019-03-25 22:02:05 +00:00
TreeHugger Robot
c046eb7272 Merge "Adding permission annotation as per API review" 2019-03-25 22:00:45 +00:00
Jeff Sharkey
fb0756fa40 Merge "Clean up scan calls used for testing." 2019-03-25 20:57:22 +00:00
Zimuzo Ezeozue
245e9c0af9 Merge "Add ExplicitHealthCheckService API" 2019-03-25 19:46:10 +00:00
Sunny Goyal
ddd089a0e8 Adding permission annotation as per API review
Bug: 126180005
Test: N/A
Change-Id: Ie88dce300e5e12ca519c20e8e37060e6ebe4d1ad
2019-03-25 18:38:12 +00:00
Jeff Sharkey
4b457c3915 Clean up scan calls used for testing.
We've converged on explicit scanVolume() and scanFile() methods
which tests should be calling.  These are more robust than the
previous broadcast-based events, which could hang for a long time.

Bug: 127323913
Test: atest --test-mapping packages/apps/MediaProvider
Change-Id: I4f7918c70a67bcafab69ae2a71ee8e4bdaff01eb
2019-03-25 10:55:18 -06:00
Nikita Ioffe
00a08f12fe Add an api to get active staged session
This was requested during review of ag/6638240

Test: CtsStagedInstallHostTestCases
Bug: 127296534
Change-Id: Ifcc6270dc1655b1b07a0879c140f30967df8910d
2019-03-25 16:42:08 +00:00
Lucas Dupin
49f040258d Merge "Simplify the AttentionService API" 2019-03-25 16:36:27 +00:00
Zimuzo
a3bb67d1ed Add ExplicitHealthCheckService API
The ExplicitHealthCheckService implementation will live in ExtServices
so it can be updated outside of a platform update. It will contain
logic to assist the PackageWatchdog with observing packages, e.g
ensuring that the device can successfully connect to WiFi after a
mainline update.

Test: Builds
Bug: 120598832
Change-Id: If658567ca41bb0328e279735897fc50ab76abc11
2019-03-25 16:25:30 +00:00
Po-Chien Hsueh
6762e2b661 Add a permission, INSTALL_DYNAMIC_SYSTEM
We already have a permission, MANAGE_DYNAMIC_SYSTEM, whose protection
level is signature. Only platform applications holding it can interact
directly with DynamicSystemService, a wrapper of native GsiService. In
our design, DynamicSystemInstallationService is the sole platform app
holding it.

Then we need another permission for non-platform but privileged apps.
This new permission doesn't give apps access to DynamicSystemService,
but only to system API DynamicSystemClient. DynamicSystemClient works
with underneath DynamicSystemInstallationService and allows privileged
apps to install DynamicSystem images and get status updates in our
designed manner.


Bug: 128982216
Test: verified using DynamicSystemClient.
Change-Id: I3e67322511e3ab08db87bfad40d8c3d3cf6fdfe5
2019-03-25 15:55:39 +00:00
Remi NGUYEN VAN
525878a4be Merge "Add nullability annotations" am: a1ee1fc888 am: 3d48153a8f
am: b141a800ac

Change-Id: I43088399da1d81556ab903ef1ca716439129f00d
2019-03-25 06:56:43 -07:00
Remi NGUYEN VAN
b141a800ac Merge "Add nullability annotations" am: a1ee1fc888
am: 3d48153a8f

Change-Id: Ic81850c2976e7412e85856c5d1336f30d0691125
2019-03-25 06:42:49 -07:00
Remi NGUYEN VAN
3d48153a8f Merge "Add nullability annotations"
am: a1ee1fc888

Change-Id: I47ec92d406b16eaff049ad4a5af1b1b407418e4d
2019-03-25 06:33:40 -07:00
Treehugger Robot
a1ee1fc888 Merge "Add nullability annotations" 2019-03-25 13:19:19 +00:00
Antoan Angelov
4d7990f458 Merge "Remove PROVISIONING_MODE_MANAGED_PROFILE_ON_FULLY_MANAGED_DEVICE" 2019-03-25 12:53:43 +00:00
Junyu Lai
356c5dfd42 Merge "Fix SocketKeepalive APIs which do not meet API review requirement" am: 8324c3e7e5 am: 08e1787088
am: d24f3fc8b1

Change-Id: I873a82de90efce6f3baa17761c0576dc9c8210be
2019-03-25 04:16:18 -07:00
Junyu Lai
d24f3fc8b1 Merge "Fix SocketKeepalive APIs which do not meet API review requirement" am: 8324c3e7e5
am: 08e1787088

Change-Id: Iead39e877aec917ff3c409fda1ff0c4dbaa21fcb
2019-03-25 04:06:39 -07:00
Junyu Lai
08e1787088 Merge "Fix SocketKeepalive APIs which do not meet API review requirement"
am: 8324c3e7e5

Change-Id: Id82be12a54e676c4ad18900ae910e6d08079e62c
2019-03-25 03:57:32 -07:00
Remi NGUYEN VAN
f6ae002aba Merge "Add nullable annotations to startActivityAsUser" am: 743a4b7872
am: 2704d2f4f6

Change-Id: I9f52f733b219acaae437c452bc238f6933bb0cec
2019-03-25 03:50:40 -07:00
Junyu Lai
8324c3e7e5 Merge "Fix SocketKeepalive APIs which do not meet API review requirement" 2019-03-25 10:42:37 +00:00
Remi NGUYEN VAN
2704d2f4f6 Merge "Add nullable annotations to startActivityAsUser"
am: 743a4b7872

Change-Id: Ifa44f448fd37ecc2051a16d979717b8aeaa05ebf
2019-03-25 03:41:34 -07:00
Treehugger Robot
743a4b7872 Merge "Add nullable annotations to startActivityAsUser" 2019-03-25 10:29:22 +00:00
Remi NGUYEN VAN
ef8f79292f Add nullable annotations to startActivityAsUser
This change is already in internal branches.

Test: m
Bug: 128935825
Change-Id: I6f6c939c26215fbc113a6edafbdf865d365c9105
Merged-In: I9b61d833a68528f168611c83a8539eb095a42e01
2019-03-25 16:59:27 +09:00
junyulai
0c66697770 Fix SocketKeepalive APIs which do not meet API review requirement
Per API review, change the use of FileDescriptor to
ParcelFileDescriptor.
This change also fix nullability according to API review
feedbacks.

Fix: 126698610
Fix: 126699425
Fix: 126699232
Fix: 126700278

Test: 1. m -j
      2. atest FrameworksNetTests --generate-new-metrics 50
      3. m -j doc-comment-check-docs
Change-Id: I19476c50dd1ca290bf3f41973829da2bd229796a
2019-03-25 15:56:35 +08:00
Remi NGUYEN VAN
45ecef3b4c Add nullability annotations
Add nullability annotations on the following methods:
 - StaticIpConfiguration#getRoutes
 - ValidationProbeEvent#getProbeName

Test: m
Bug: 128935825
Change-Id: I1c17d200f3125e684c4e4d67b2f7f079eda310b6
2019-03-25 16:46:34 +09:00