Commit Graph

91452 Commits

Author SHA1 Message Date
Jeremy Klein
0869d3ec9b Merge "Rename entitlement callback to adhere to API guidelines." am: 0102e3d548 am: 33a9d34e8a
am: 9eeac7326d

Change-Id: Iba73611c9330463f4517ac1555b6ee000d740c71
2019-03-12 23:57:05 -07:00
Stanley Tng
db74e56e22 Merge "Add @NonNull annotations to LE CoC APIs" am: 8b57ab7989 am: 68e00291e0
am: f36e4f26a4

Change-Id: I674f926ff2822d311fd6f6a0cbf061a2e815b093
2019-03-12 23:37:09 -07:00
Jeremy Klein
9eeac7326d Merge "Rename entitlement callback to adhere to API guidelines." am: 0102e3d548
am: 33a9d34e8a

Change-Id: I29bbf7cbbc0d87a9831762342d81496e6983df68
2019-03-12 23:36:36 -07:00
Stanley Tng
f36e4f26a4 Merge "Add @NonNull annotations to LE CoC APIs" am: 8b57ab7989
am: 68e00291e0

Change-Id: If0de3820ab36ddeaeb57d332f332a84963c8ad5d
2019-03-12 23:05:26 -07:00
TreeHugger Robot
b4a5cf74b3 Merge "Add uid information in PackageListObserver" 2019-03-13 05:45:34 +00:00
Jeremy Klein
33a9d34e8a Merge "Rename entitlement callback to adhere to API guidelines."
am: 0102e3d548

Change-Id: If58d5724000fba5e1d794a98ccc89b73ce842f4a
2019-03-12 22:39:53 -07:00
Stanley Tng
68e00291e0 Merge "Add @NonNull annotations to LE CoC APIs"
am: 8b57ab7989

Change-Id: I16c1d5c6c7c31b0c96172f0baaed361eae8f4a5e
2019-03-12 22:30:47 -07:00
Chalard Jean
c94bd038f1 Merge "Tell the factory it is already serving a request." am: ae79013ec2
am: b8b94ba4c0

Change-Id: I8c89110d3b8d55fb8c516a966f4726d4059a098e
2019-03-12 22:21:24 -07:00
Nadav Bar
21f2ecfaaa Merge "Adding the on-device captions service toggle into the volume rocker." 2019-03-13 04:54:28 +00:00
Treehugger Robot
0102e3d548 Merge "Rename entitlement callback to adhere to API guidelines." 2019-03-13 04:48:24 +00:00
Chalard Jean
b8b94ba4c0 Merge "Tell the factory it is already serving a request."
am: ae79013ec2

Change-Id: I4c3948c2e7098668cf881d3f31fda87be1250828
2019-03-12 21:42:18 -07:00
Mathieu Chartier
1f99f64c9c Merge "Call notifyStartupCompleted from reportFullyDrawn" 2019-03-13 03:23:19 +00:00
Stanley Tng
97341da063 Add @NonNull annotations to LE CoC APIs
Added NonNull annotations to the 4 LE Connection-oriented channel API in
BluetoothDevice and BluetoothAdapter.

Bug: 126701988
Bug: 126701989
Test: Compile only
Change-Id: I2d4dc8fbd06e30c782123e01f8481d249e40ee02
2019-03-13 02:27:38 +00:00
Xin Li
a5fe44c6b5 Merge "DO NOT MERGE - Merge PPRL.190305.001 into master" 2019-03-13 02:26:04 +00:00
TreeHugger Robot
c91fa25bee Merge "Always suppress font error during resource loading" 2019-03-13 01:05:39 +00:00
TreeHugger Robot
63d37cc4bd Merge "Camera: Update priority callback documentation" 2019-03-12 22:57:58 +00:00
TreeHugger Robot
c00ee56966 Merge "Revert related work of extractNativeLibs default flip" 2019-03-12 22:40:28 +00:00
Matt Pape
5bb71f49b3 Merge "Remove interface for dex_boot." 2019-03-12 21:58:01 +00:00
TreeHugger Robot
5d682a61ae Merge "Revert "Checkng upper bound in *Array classes."" 2019-03-12 21:54:07 +00:00
Michael Wright
a8b13fdf17 Merge "Moved brightness from Lights to SF." 2019-03-12 21:16:25 +00:00
Christian Wailes
cbee8d1b23 Merge changes I29d91abd,Ie13d2c1a
* changes:
  Fixes initialization bug in USAP pool properties.
  Fixed a nullptr exception in ZygoteProcess.java.
2019-03-12 21:07:31 +00:00
TreeHugger Robot
dcd431b6cb Merge "Don't check pkg<->uid when called from internal" 2019-03-12 21:03:34 +00:00
Jeremy Klein
9f2e0f035a Rename entitlement callback to adhere to API guidelines.
The method for OnTetheringEntitlementResultListener needs to be
onTetheringEntitlementResult in order to meet our API guidelines:

"Use Listener when there is a single callback method and there will
never be any others. It should be an interface whose name is the same
as the callback method plus Listener."

Bug: 126392011
Change-Id: I9a883765541ae853c4eb3bd52c9d93a7af16e661
Test: Manual build
2019-03-12 13:36:21 -07:00
Mathieu Chartier
63e14c10b3 Call notifyStartupCompleted from reportFullyDrawn
ART will now know when startup is startup is finished.

Test: manual
Bug: 120671223
Bug: 123377072

Change-Id: I1134f66792bddc9ab33606fa4c2807b3918d5261
2019-03-12 12:50:50 -07:00
TreeHugger Robot
83234be184 Merge "[MAC Randomization] Removed feature flag to align framework global flag" 2019-03-12 19:17:50 +00:00
Seigo Nonaka
96e93959fb Always suppress font error during resource loading
I suppressed the font error during resource loading only if the
targetSdkVersion is API 28 or before, but it turned out that this
makes developers hard to use font resources since:
- We don't give a list of supported font files and OEM may extend/shrink
  the font support.
- There is no way to resolve this error during layout inflation.

So, now always supress the IllegalArgumentException during building
Typeface in resource loading.

Bug: 127714175
Test: atest CtsTextTestCases
Test: atest CtsGraphicsTestCases
Test: atest FontsContractTest
Test: atest CtsWidgetTestCases
Change-Id: I08b9f27aaf25ff491fa36d0a4befb3c6e64abfcf
2019-03-12 12:13:14 -07:00
TreeHugger Robot
f9b3d8093b Merge "Handle WebView assets correctly when multiple APKs are used." 2019-03-12 19:09:41 +00:00
Emilian Peev
c474a8b320 Camera: Update priority callback documentation
Describe the callback purpose so it is consistent
with the rest of the callbacks.

Bug: 128427361
Test: Successful build
Change-Id: Ia97dbd33eb65f8166865ce0b297a83d4728507ff
2019-03-12 12:04:46 -07:00
Chris Wailes
84efefd666 Fixes initialization bug in USAP pool properties.
This patch fixes an initialization order bug in the USAP pool policy
management code.  Previously, bad values were used when initializing the
USAP pool when it was enabled on device boot.  This patch ensures that
the policy system properties have been checked before the pool is
initialized.

Test: Boot with USAP pool enabled
Change-Id: I29d91abd511bc35c7a70a3a56668c7ee2290864b
2019-03-12 11:19:42 -07:00
Chris Wailes
b203ac2fe8 Fixed a nullptr exception in ZygoteProcess.java.
This patch fixes a nullptr exception in ZygoteProcess caused by
ChildZygoteProcess not providing the ZygoteState with a secondary zygote
socket address.

Test: Launch Chrome with the USAP pool enabled
Change-Id: Ie13d2c1a84a79fbc45b4913aeb1d78b442201479
2019-03-12 11:19:39 -07:00
Paul Scovanner
91ec970564 Revert "Checkng upper bound in *Array classes."
This reverts commit 17d453ea85.

Reason for revert: b/127750694

Change-Id: I0ffbf0e64109b3ec724e0687a27b231e335f76b4
2019-03-12 18:03:48 +00:00
TreeHugger Robot
75f61c5919 Merge "Hide packing structure from public API" 2019-03-12 17:59:44 +00:00
Rubin Xu
9c3f325c64 Merge "Tweak DelegatedAdminReceiver API surfaces" 2019-03-12 17:49:32 +00:00
Victor Hsieh
543059895f Revert related work of extractNativeLibs default flip
... in order to remove unnecessary code.

9e4da717 Revert "Flip default of extractNativeLibs if targets Q+"
fe693a07 Revert "Fix default of extractNativeLibs in parseBaseApplication"
86e2783d Revert "Partial revert to not flip the default of extractNativeLibs"

Test: atest CtsDynamicLinkerTestCases
Bug: 128335904
Change-Id: I0e43608a76b3891e84c1622c7a98e2a1dab91985
2019-03-12 10:28:12 -07:00
Philip P. Moltmann
724150d8ce Don't check pkg<->uid when called from internal
The PermissionManagerService calls AppOpsService before the package
manager is up. Hence AppOpsService cannot verify package properties.
This is not needed in the calls from PermissionManagerService as this
component can be trusted to provide correct data.

Fixes: 127470436
Test: Upgraded from P->Q with a pre-M installed
Change-Id: Ide529f13ab2cc3b7551e99c94935c0cb537a817b
2019-03-12 17:16:20 +00:00
Ashley Rose
a0fda08403 Merge "Custom inspection companion for RelativeLayout" 2019-03-12 16:57:10 +00:00
Eran Messeri
c7f498fe0b Merge "Private DNS API: Follow-up on review" 2019-03-12 16:37:15 +00:00
TreeHugger Robot
fbdd7930a0 Merge changes I72e979ce,I183b8a48
* changes:
  Add @IntDef for status of committed rollback.
  Use test stubs for RollbackTests, not system stubs.
2019-03-12 16:25:25 +00:00
TreeHugger Robot
794d22d0a7 Merge "Update screen lock complexity permission to password complexity" 2019-03-12 16:22:11 +00:00
Rubin Xu
9df5cd4afd Merge "Clarify the behaviour of isActivePasswordSufficient" 2019-03-12 16:01:42 +00:00
Torne (Richard Coles)
527fa8f4de Handle WebView assets correctly when multiple APKs are used.
Add all splits and shared libraries used by the WebView implementation
to the application's asset path, instead of just the base APK. Fix the
asset manipulation code path in WebViewFactory to reuse the modern
implementation in WebViewDelegate (using appendLibAssetForMainAssetPath)
instead of relying on addAssetPathAsSharedLibrary.

Add a new variant of appendLibAssetForMainAssetPath which accepts
multiple paths at once, to make it more efficient.

Bug: 124116212
Test: atest CtsWebkitTestCases
Change-Id: Ie55525d78089a4595c5b0b126e4ff1530303afe8
2019-03-12 11:41:09 -04:00
Fabian Kozynski
40a3958d69 Merge "Added Nullable annotations to NotificationManager API" 2019-03-12 15:06:38 +00:00
TreeHugger Robot
d6cc8426f4 Merge "Switch to a better model file if any" 2019-03-12 14:55:55 +00:00
TreeHugger Robot
bb1e77f261 Merge "Improve documentation around HostnameVerifier" 2019-03-12 14:53:48 +00:00
TreeHugger Robot
e927626ad6 Merge "Address API review for SessionInfo, LauncherApps" 2019-03-12 14:44:53 +00:00
TreeHugger Robot
0887b3d7e6 Merge "Deduplicate actions by their look" 2019-03-12 14:31:26 +00:00
Eran Messeri
ff9c10593e Private DNS API: Follow-up on review
To follow up on the previous review, rename the success constant from
"success" to "no error" since the enum it's associated with now refers
to error codes.

Bug: 124301971
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testPrivateDnsPolicy
Change-Id: I6b82dd44cbf2c18fb8c1673a272f22f0e8b39dbb
2019-03-12 13:40:14 +00:00
Rubin Xu
72623f6d5c Tweak DelegatedAdminReceiver API surfaces
* Add nullability annotaitons to new and existing (DeviceAdminReceiver) APIs
* Make onReceive() final
* Javadoc for uid paramater
* Throw exception if method is not implemented

Bug: 123926441
Test: make -j32 update-api
Change-Id: Ib068b1d7f8f5abe903720b8e247c5e00bf8161c2
2019-03-12 13:24:15 +00:00
Chalard Jean
05ab6811d0 Tell the factory it is already serving a request.
This is a cherry-pick of ag/607226 that has been rebased on
top of four years of changes and with comments addressed.

Gives each factory a serial number and propagates it to every
NetworkAgent so when a score comes back indicating a request is
being handled the factory can account for it properly.

Without this, a new request that's already handled by a network
offered by a factory will not cause an increment of the factorys
ref count. Concretely this results in issues like the RAT icon
not being displayed in spite of the network actually being up
and usable.

This will be ported to AOSP as soon as possible, but immediately
some master-only WiFi tests need to be adjusted with this change
which would not let me submit to AOSP.

Bug: 18637384
Bug: 29030667
Test: manual
Test: atest frameworks/opt/telephony/tests/telephonytests
Test: atest frameworks-net
Test: atest CtsNetTestCases CtsHostsideNetworkTests
Change-Id: I597ac588f76dd507512ff02868fd1310b7e63f7e
Merged-In: I597ac588f76dd507512ff02868fd1310b7e63f7e
2019-03-12 21:47:21 +09:00
Richard Uhler
a4b70300e4 Add @IntDef for status of committed rollback.
Per API council request.

Bug: 127282563
Test: atest RollbackTest
Change-Id: I72e979ce3978c72a0783b44a044ad536b35ee09d
2019-03-12 12:36:03 +00:00