OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Help on issue #128350014: runInstallCreate from pm command asks..."
TreeHugger Robot [Wed, 13 Mar 2019 02:31:39 +0000 (02:31 +0000)]
Merge "Help on issue #128350014: runInstallCreate from pm command asks..."

5 years agoMerge "Add logging for doze trigger reasons."
TreeHugger Robot [Wed, 13 Mar 2019 02:02:06 +0000 (02:02 +0000)]
Merge "Add logging for doze trigger reasons."

5 years agoMerge changes from topic "gpustats-statsd-2"
TreeHugger Robot [Wed, 13 Mar 2019 02:01:05 +0000 (02:01 +0000)]
Merge changes from topic "gpustats-statsd-2"

* changes:
  Game Driver Metrics: add tests for GpuStatsPuller
  Game Driver Metrics: get gpu app stats with GpuStatsPuller

5 years agoMerge "Always suppress font error during resource loading"
TreeHugger Robot [Wed, 13 Mar 2019 01:05:39 +0000 (01:05 +0000)]
Merge "Always suppress font error during resource loading"

5 years agoMerge "Audio service: restrict conditions to send ACTION_AUDIO_BECOMING_NOISY"
TreeHugger Robot [Wed, 13 Mar 2019 00:55:25 +0000 (00:55 +0000)]
Merge "Audio service: restrict conditions to send ACTION_AUDIO_BECOMING_NOISY"

5 years agoMerge "Test staged rollback for apk and apex install"
Shafik Nassar [Wed, 13 Mar 2019 00:29:09 +0000 (00:29 +0000)]
Merge "Test staged rollback for apk and apex install"

5 years agoMerge "Disable any fullScreenIntent launches in SystemUI."
TreeHugger Robot [Wed, 13 Mar 2019 00:11:57 +0000 (00:11 +0000)]
Merge "Disable any fullScreenIntent launches in SystemUI."

5 years agoMerge "Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted...
Jiyong Park [Tue, 12 Mar 2019 23:50:26 +0000 (16:50 -0700)]
Merge "Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted."" am: 1a14dedcce am: 6623e402b3
am: 1c64a73f91

Change-Id: I1cf5a65959d3a2d4cba292c532afddebf58d9683

5 years agoMerge "[API Feedback] Rename DebugEventReporter" am: 3a6dcad0a3 am: e80b170949
Nathan Harold [Tue, 12 Mar 2019 23:37:57 +0000 (16:37 -0700)]
Merge "[API Feedback] Rename DebugEventReporter" am: 3a6dcad0a3 am: e80b170949
am: 53fb0789fb

Change-Id: If7d117810bd56d6057cb99e79f52def579b5a089

5 years agoMerge "Add Tron logging of explanation for notification importance."
Will Brockman [Tue, 12 Mar 2019 23:26:47 +0000 (23:26 +0000)]
Merge "Add Tron logging of explanation for notification importance."

5 years agoMerge "Correct registerNativeAllocation type" am: fe015a098c am: 90e8135f1e
Hans Boehm [Tue, 12 Mar 2019 23:23:19 +0000 (16:23 -0700)]
Merge "Correct registerNativeAllocation type" am: fe015a098c am: 90e8135f1e
am: ecb7e4a77b

Change-Id: I2ba5370ad1f6f3b8f0ad757c0993b5c399baaea7

5 years agoMerge "Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted...
Jiyong Park [Tue, 12 Mar 2019 23:19:31 +0000 (16:19 -0700)]
Merge "Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted."" am: 1a14dedcce
am: 6623e402b3

Change-Id: Ic58b4c2dee735ff2e07bc1217173c23810c1d14c

5 years ago[automerger skipped] Merge "Change summary text of Wi-Fi calling" am: 68fdc5b7be...
Hall Liu [Tue, 12 Mar 2019 23:14:35 +0000 (16:14 -0700)]
[automerger skipped] Merge "Change summary text of Wi-Fi calling" am: 68fdc5b7be am: 281b94320e
am: 89e874ad03 -s ours
am skip reason: change_id I75b970ed2094c4efcb5a8cf8b89cf3d8c78bb5db with SHA1 2950d382f6 is in history

Change-Id: I3265780291f1f31f29b57c778795fcaae2886e65

5 years agoMerge "[API Feedback] Rename DebugEventReporter" am: 3a6dcad0a3
Nathan Harold [Tue, 12 Mar 2019 23:12:08 +0000 (16:12 -0700)]
Merge "[API Feedback] Rename DebugEventReporter" am: 3a6dcad0a3
am: e80b170949

Change-Id: I2c458c5a5fa2b1f47f9bc92e89a7385ca35d877d

5 years agoMerge "[automerger skipped] Merge "Add carrier's option to cancel CS reject cause...
Android Build Merger (Role) [Tue, 12 Mar 2019 22:58:48 +0000 (22:58 +0000)]
Merge "[automerger skipped] Merge "Add carrier's option to cancel CS reject cause notification" am: 46f5897ae8 am: 58d5921d07 -s ours am: 692616df97 -s ours am skip reason: change_id If4c696e8116094d0cb555fe87c92243af1f34cec with SHA1 93f78f5d81 is in history"

5 years agoMerge "Correct registerNativeAllocation type" am: fe015a098c
Hans Boehm [Tue, 12 Mar 2019 22:58:32 +0000 (15:58 -0700)]
Merge "Correct registerNativeAllocation type" am: fe015a098c
am: 90e8135f1e

Change-Id: Ie379dc6782f77e051d7d3eb56ad8661bb3c33ee7

5 years agoMerge "Camera: Update priority callback documentation"
TreeHugger Robot [Tue, 12 Mar 2019 22:57:58 +0000 (22:57 +0000)]
Merge "Camera: Update priority callback documentation"

5 years ago[automerger skipped] Merge "Add carrier's option to cancel CS reject cause notificati...
Jordan Liu [Tue, 12 Mar 2019 22:57:56 +0000 (15:57 -0700)]
[automerger skipped] Merge "Add carrier's option to cancel CS reject cause notification" am: 46f5897ae8 am: 58d5921d07 -s ours
am: 692616df97 -s ours
am skip reason: change_id If4c696e8116094d0cb555fe87c92243af1f34cec with SHA1 93f78f5d81 is in history

Change-Id: I0452cd77773c1ecb898d032a67bc7cb5ed818a80

5 years agoMerge "Change summary text of Wi-Fi calling" am: 68fdc5b7be
Hall Liu [Tue, 12 Mar 2019 22:51:26 +0000 (15:51 -0700)]
Merge "Change summary text of Wi-Fi calling" am: 68fdc5b7be
am: 281b94320e

Change-Id: Idd9ea6149ec9ddd3d122bcb6d4f9192a774f113d

5 years agoMerge "Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted.""
Jiyong Park [Tue, 12 Mar 2019 22:49:30 +0000 (15:49 -0700)]
Merge "Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted.""
am: 1a14dedcce

Change-Id: Ia70c876b6d95074cc8502b3ff1467cb5dc0d4302

5 years ago[automerger skipped] Merge "Add carrier's option to cancel CS reject cause notificati...
Jordan Liu [Tue, 12 Mar 2019 22:43:42 +0000 (15:43 -0700)]
[automerger skipped] Merge "Add carrier's option to cancel CS reject cause notification" am: 46f5897ae8
am: 58d5921d07 -s ours
am skip reason: SHA1 58d5921d07 skipped by user jminjie

Change-Id: I7fdcc48a5f85c05c6367eef9e47894c7e7ea6531

5 years agoMerge "Revert related work of extractNativeLibs default flip"
TreeHugger Robot [Tue, 12 Mar 2019 22:40:28 +0000 (22:40 +0000)]
Merge "Revert related work of extractNativeLibs default flip"

5 years agoMerge "[API Feedback] Rename DebugEventReporter"
Nathan Harold [Tue, 12 Mar 2019 22:38:26 +0000 (15:38 -0700)]
Merge "[API Feedback] Rename DebugEventReporter"
am: 3a6dcad0a3

Change-Id: Iab9ed0e8160b45628286f6236f1bb5f61ecc74cd

5 years agoMerge "Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted.""
Treehugger Robot [Tue, 12 Mar 2019 22:34:26 +0000 (22:34 +0000)]
Merge "Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted.""

5 years agoRevert^3 "Delay start of bootanimation until after the Runtime APEX is mounted."
Jiyong Park [Thu, 28 Feb 2019 03:21:16 +0000 (12:21 +0900)]
Revert^3 "Delay start of bootanimation until after the Runtime APEX is mounted."

This reverts commit a6bb8916b057bb619aab2aae5cb07e190e97c79d.

Bootanim doesn't need to be delayed because the APEXes from the system partition are now
activated very early in the boot sequence (far before bootanim is started).

See https://android-review.googlesource.com/q/topic:%22apex_earlymount_base%22+(status:open%20OR%20status:merged)

Bug: 125549215
Test: bootanim is started without being delayed
Change-Id: I367b1a5c6bf08dad770cd2bf7f6d67dbf1a813e6

5 years agoGame Driver Metrics: add tests for GpuStatsPuller
Yiwei Zhang [Mon, 11 Mar 2019 22:05:12 +0000 (15:05 -0700)]
Game Driver Metrics: add tests for GpuStatsPuller

Bug: 123529932
Test: atest GpuStatsPuller_test
Change-Id: I325f90d203539b51ee0a9deb2b048b8671e5e89a

5 years agoMerge "[API Feedback] Rename DebugEventReporter"
Nathan Harold [Tue, 12 Mar 2019 22:25:46 +0000 (22:25 +0000)]
Merge "[API Feedback] Rename DebugEventReporter"

5 years agoMerge "Remove interface for dex_boot."
Matt Pape [Tue, 12 Mar 2019 21:58:01 +0000 (21:58 +0000)]
Merge "Remove interface for dex_boot."

5 years agoMerge "Revert "Checkng upper bound in *Array classes.""
TreeHugger Robot [Tue, 12 Mar 2019 21:54:07 +0000 (21:54 +0000)]
Merge "Revert "Checkng upper bound in *Array classes.""

5 years agoGame Driver Metrics: get gpu app stats with GpuStatsPuller
Yiwei Zhang [Mon, 4 Mar 2019 22:29:25 +0000 (14:29 -0800)]
Game Driver Metrics: get gpu app stats with GpuStatsPuller

Bug: 123529932
Test: adb shell cmd stats pull-source 10055
Change-Id: I04320221de6ac457acd0b0533a05ce2f8dfbdde0

5 years agoMerge "wifi.proto: Rename MapEntryInt32Int32 to Int32Count"
David Su [Tue, 12 Mar 2019 21:46:40 +0000 (21:46 +0000)]
Merge "wifi.proto: Rename MapEntryInt32Int32 to Int32Count"

5 years agoMerge "Correct registerNativeAllocation type"
Hans Boehm [Tue, 12 Mar 2019 21:17:39 +0000 (14:17 -0700)]
Merge "Correct registerNativeAllocation type"
am: fe015a098c

Change-Id: Ie202df6d1f36534d5bea0e65aa21570be891b5b4

5 years agoMerge "Moved brightness from Lights to SF."
Michael Wright [Tue, 12 Mar 2019 21:16:25 +0000 (21:16 +0000)]
Merge "Moved brightness from Lights to SF."

5 years agoMerge changes I29d91abd,Ie13d2c1a
Christian Wailes [Tue, 12 Mar 2019 21:07:31 +0000 (21:07 +0000)]
Merge changes I29d91abd,Ie13d2c1a

* changes:
  Fixes initialization bug in USAP pool properties.
  Fixed a nullptr exception in ZygoteProcess.java.

5 years agoMerge "Correct registerNativeAllocation type"
Hans Boehm [Tue, 12 Mar 2019 21:07:03 +0000 (21:07 +0000)]
Merge "Correct registerNativeAllocation type"

5 years agoMerge "Change summary text of Wi-Fi calling"
Hall Liu [Tue, 12 Mar 2019 21:05:33 +0000 (14:05 -0700)]
Merge "Change summary text of Wi-Fi calling"
am: 68fdc5b7be

Change-Id: Ia52d09817e260ad144d37937b5caa48d4ba054e5

5 years agoMerge "Don't check pkg<->uid when called from internal"
TreeHugger Robot [Tue, 12 Mar 2019 21:03:34 +0000 (21:03 +0000)]
Merge "Don't check pkg<->uid when called from internal"

5 years agoMerge "Don't apply broadcast deferral policy to system uids"
TreeHugger Robot [Tue, 12 Mar 2019 21:03:08 +0000 (21:03 +0000)]
Merge "Don't apply broadcast deferral policy to system uids"

5 years agoMerge "Change summary text of Wi-Fi calling"
Hall Liu [Tue, 12 Mar 2019 20:49:21 +0000 (20:49 +0000)]
Merge "Change summary text of Wi-Fi calling"

5 years agoMerge "Add carrier's option to cancel CS reject cause notification"
Jordan Liu [Tue, 12 Mar 2019 20:13:35 +0000 (13:13 -0700)]
Merge "Add carrier's option to cancel CS reject cause notification"
am: 46f5897ae8

Change-Id: I5f95b337c6fca60d8ef66308b606081c5d9451d0

5 years agoMerge "Revert "WM: Cleanup TestAppWindowToken code and promote ZOrderingTests to...
TreeHugger Robot [Tue, 12 Mar 2019 20:12:47 +0000 (20:12 +0000)]
Merge "Revert "WM: Cleanup TestAppWindowToken code and promote ZOrderingTests to non-flaky""

5 years agoMerge "Add carrier's option to cancel CS reject cause notification"
Jordan Liu [Tue, 12 Mar 2019 19:57:35 +0000 (19:57 +0000)]
Merge "Add carrier's option to cancel CS reject cause notification"

5 years agoMerge "WifiManager: fix JavaDocs for SoftAP Start Failure"
TreeHugger Robot [Tue, 12 Mar 2019 19:57:14 +0000 (19:57 +0000)]
Merge "WifiManager: fix JavaDocs for SoftAP Start Failure"

5 years agoMerge "[MAC Randomization] Removed feature flag to align framework global flag"
TreeHugger Robot [Tue, 12 Mar 2019 19:17:50 +0000 (19:17 +0000)]
Merge "[MAC Randomization] Removed feature flag to align framework global flag"

5 years agoAlways suppress font error during resource loading
Seigo Nonaka [Mon, 11 Mar 2019 22:18:12 +0000 (15:18 -0700)]
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

5 years agoMerge "Handle WebView assets correctly when multiple APKs are used."
TreeHugger Robot [Tue, 12 Mar 2019 19:09:41 +0000 (19:09 +0000)]
Merge "Handle WebView assets correctly when multiple APKs are used."

5 years agoCamera: Update priority callback documentation
Emilian Peev [Tue, 12 Mar 2019 19:00:33 +0000 (12:00 -0700)]
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

5 years agoHelp on issue #128350014: runInstallCreate from pm command asks...
Dianne Hackborn [Tue, 12 Mar 2019 18:37:19 +0000 (11:37 -0700)]
Help on issue #128350014: runInstallCreate from pm command asks...

...to run as user -1 but is calling from user 0

Improve the message to give the full uid of the caller to help identify
where such problems are coming from:

Bug: 128350014
Test: manual
Change-Id: Ibb88224e706f6d5c0d5bb495239d4abcfe24f671

5 years agoMerge "AudioPolicy: add synchronous unregister method"
TreeHugger Robot [Tue, 12 Mar 2019 18:30:27 +0000 (18:30 +0000)]
Merge "AudioPolicy: add synchronous unregister method"

5 years agoMerge "Remove UI restriction on hotspot & airplane mode being on together"
Salvador Martinez [Tue, 12 Mar 2019 18:27:37 +0000 (18:27 +0000)]
Merge "Remove UI restriction on hotspot & airplane mode being on together"

5 years agoMerge "Wifi usability: Comments from API review council are addressed"
Mingguang Xu [Tue, 12 Mar 2019 18:21:08 +0000 (18:21 +0000)]
Merge "Wifi usability: Comments from API review council are addressed"

5 years agoFixes initialization bug in USAP pool properties.
Chris Wailes [Mon, 11 Mar 2019 23:20:02 +0000 (16:20 -0700)]
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

5 years agoFixed a nullptr exception in ZygoteProcess.java.
Chris Wailes [Mon, 11 Mar 2019 23:16:49 +0000 (16:16 -0700)]
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

5 years agoRevert "Checkng upper bound in *Array classes."
Paul Scovanner [Tue, 12 Mar 2019 18:03:48 +0000 (18:03 +0000)]
Revert "Checkng upper bound in *Array classes."

This reverts commit 17d453ea85703a5bc26c0669231be4d6f0d8bbac.

Reason for revert: b/127750694

Change-Id: I0ffbf0e64109b3ec724e0687a27b231e335f76b4

5 years agoMerge "Hide packing structure from public API"
TreeHugger Robot [Tue, 12 Mar 2019 17:59:44 +0000 (17:59 +0000)]
Merge "Hide packing structure from public API"

5 years agoMerge "Show signal strength of current active subscription"
Xiangyu/Malcolm Chen [Tue, 12 Mar 2019 17:55:34 +0000 (17:55 +0000)]
Merge "Show signal strength of current active subscription"

5 years agoAdd logging for doze trigger reasons.
Steven Wu [Tue, 12 Mar 2019 17:49:23 +0000 (13:49 -0400)]
Add logging for doze trigger reasons.

Bug: 127827561
Test: manual
Change-Id: I1cc87a104db783a190fc36884a560de1f89c6b56

5 years agoMerge "Tweak DelegatedAdminReceiver API surfaces"
Rubin Xu [Tue, 12 Mar 2019 17:49:32 +0000 (17:49 +0000)]
Merge "Tweak DelegatedAdminReceiver API surfaces"

5 years agoAdd carrier's option to cancel CS reject cause notification
Seongho Kim [Tue, 13 Nov 2018 06:08:34 +0000 (15:08 +0900)]
Add carrier's option to cancel CS reject cause notification

Some carrier still want to cancel CS reject notification automatically
when it gets service. So, we need a way to set carrier's option for it.

Bug: 79889307
Test: Manual
Change-Id: If4c696e8116094d0cb555fe87c92243af1f34cec
Merged-In: If4c696e8116094d0cb555fe87c92243af1f34cec

5 years agoRevert related work of extractNativeLibs default flip
Victor Hsieh [Tue, 12 Mar 2019 17:09:39 +0000 (10:09 -0700)]
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

5 years agoDon't check pkg<->uid when called from internal
Philip P. Moltmann [Tue, 12 Mar 2019 00:01:05 +0000 (17:01 -0700)]
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

5 years agoMerge "Fix line length issues"
TreeHugger Robot [Tue, 12 Mar 2019 17:02:46 +0000 (17:02 +0000)]
Merge "Fix line length issues"

5 years agoMerge "Custom inspection companion for RelativeLayout"
Ashley Rose [Tue, 12 Mar 2019 16:57:10 +0000 (16:57 +0000)]
Merge "Custom inspection companion for RelativeLayout"

5 years agoFix line length issues
Leland Miller [Sat, 9 Mar 2019 01:14:56 +0000 (17:14 -0800)]
Fix line length issues

Needed to pass upload style checks.

Test: Builds and existing tests pass
Change-Id: Ief7eab9c0d9ee7f5b378100bff022ee537fe1c5e

5 years agoMerge "Private DNS API: Follow-up on review"
Eran Messeri [Tue, 12 Mar 2019 16:37:15 +0000 (16:37 +0000)]
Merge "Private DNS API: Follow-up on review"

5 years agoMerge "[DO NOT MERGE] Bluetooth support for Headless User"
Ram Periathiruvadi [Tue, 12 Mar 2019 16:36:19 +0000 (16:36 +0000)]
Merge "[DO NOT MERGE] Bluetooth support for Headless User"

5 years agoMerge changes I72e979ce,I183b8a48
TreeHugger Robot [Tue, 12 Mar 2019 16:25:25 +0000 (16:25 +0000)]
Merge changes I72e979ce,I183b8a48

* changes:
  Add @IntDef for status of committed rollback.
  Use test stubs for RollbackTests, not system stubs.

5 years agoMerge "Update screen lock complexity permission to password complexity"
TreeHugger Robot [Tue, 12 Mar 2019 16:22:11 +0000 (16:22 +0000)]
Merge "Update screen lock complexity permission to password complexity"

5 years agoMerge "Fixed battery percentage not animating when showing/hiding"
Lucas Dupin [Tue, 12 Mar 2019 16:19:51 +0000 (16:19 +0000)]
Merge "Fixed battery percentage not animating when showing/hiding"

5 years agoAdd Tron logging of explanation for notification importance.
Will Brockman [Fri, 8 Mar 2019 16:14:45 +0000 (11:14 -0500)]
Add Tron logging of explanation for notification importance.

Adds the results of CalculateImportance by default on notification
logs, so that we can track the effects of NotificationAssistant and
user and system importance overrides.

Adds tests for the various different sources of importance.

Bug: 127834982
Test: atest frameworks/base/services/tests/uiservicestests/src/com/android/server/notification SystemUITests

Change-Id: I044d1206f5180a028bb55704ced05117bc0a00bb

5 years agoMerge "Clarify the behaviour of isActivePasswordSufficient"
Rubin Xu [Tue, 12 Mar 2019 16:01:42 +0000 (16:01 +0000)]
Merge "Clarify the behaviour of isActivePasswordSufficient"

5 years agoMerge "Cache EGLImage and VkImage used by SurfaceTexture"
TreeHugger Robot [Tue, 12 Mar 2019 15:57:44 +0000 (15:57 +0000)]
Merge "Cache EGLImage and VkImage used by SurfaceTexture"

5 years agoAudioPolicy: add synchronous unregister method
Jean-Michel Trivi [Sun, 3 Mar 2019 00:14:12 +0000 (16:14 -0800)]
AudioPolicy: add synchronous unregister method

Add a method to synchronously unregister an AudioPolicy. This method
   also flushes the AudioRecord and AudioTrack instances that
   were associated with any AudioMix created by this policy.

Bug: 119057550
Test: see bug
Change-Id: Ia58ccdaf8a50580bcdd49aa2f6e204f0f6c7f814

5 years agoHandle WebView assets correctly when multiple APKs are used.
Torne (Richard Coles) [Fri, 8 Feb 2019 20:11:02 +0000 (15:11 -0500)]
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

5 years agoRevert "WM: Cleanup TestAppWindowToken code and promote ZOrderingTests to non-flaky"
Vishnu Nair [Tue, 12 Mar 2019 15:25:38 +0000 (15:25 +0000)]
Revert "WM: Cleanup TestAppWindowToken code and promote ZOrderingTests to non-flaky"

This reverts commit 469dcbf77b3bd41f1e393f62322178bdae1140ba.

Reason for revert: ZOrderingTests are still flaky in postsubmit (go/wm-tests)

Change-Id: I30c8ed06986da7327324e1db749f79c7a7eb4da8

5 years agoMerge "WM: Cleanup TestAppWindowToken code and promote ZOrderingTests to non-flaky"
TreeHugger Robot [Tue, 12 Mar 2019 15:22:45 +0000 (15:22 +0000)]
Merge "WM: Cleanup TestAppWindowToken code and promote ZOrderingTests to non-flaky"

5 years agoMerge "Added Nullable annotations to NotificationManager API"
Fabian Kozynski [Tue, 12 Mar 2019 15:06:38 +0000 (15:06 +0000)]
Merge "Added Nullable annotations to NotificationManager API"

5 years agoMerge "Changes to notification silencing controls."
Nadia Benbernou [Tue, 12 Mar 2019 15:06:14 +0000 (15:06 +0000)]
Merge "Changes to notification silencing controls."

5 years agoMerge "Switch to a better model file if any"
TreeHugger Robot [Tue, 12 Mar 2019 14:55:55 +0000 (14:55 +0000)]
Merge "Switch to a better model file if any"

5 years agoMerge "Improve documentation around HostnameVerifier"
TreeHugger Robot [Tue, 12 Mar 2019 14:53:48 +0000 (14:53 +0000)]
Merge "Improve documentation around HostnameVerifier"

5 years agoMerge "Address API review for SessionInfo, LauncherApps"
TreeHugger Robot [Tue, 12 Mar 2019 14:44:53 +0000 (14:44 +0000)]
Merge "Address API review for SessionInfo, LauncherApps"

5 years agoMerge "Deduplicate actions by their look"
TreeHugger Robot [Tue, 12 Mar 2019 14:31:26 +0000 (14:31 +0000)]
Merge "Deduplicate actions by their look"

5 years agoMerge "Fix issue #123661517: API Review: packageType"
TreeHugger Robot [Tue, 12 Mar 2019 13:48:53 +0000 (13:48 +0000)]
Merge "Fix issue #123661517: API Review: packageType"

5 years agoPrivate DNS API: Follow-up on review
Eran Messeri [Tue, 12 Mar 2019 13:15:36 +0000 (13:15 +0000)]
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

5 years agoTweak DelegatedAdminReceiver API surfaces
Rubin Xu [Mon, 11 Mar 2019 14:51:56 +0000 (14:51 +0000)]
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

5 years agoCache EGLImage and VkImage used by SurfaceTexture
Stan Iliev [Thu, 7 Mar 2019 23:13:55 +0000 (18:13 -0500)]
Cache EGLImage and VkImage used by SurfaceTexture

Reuse EGLImage or VkImage for GraphicBuffer created by
SurfaceTexture. Destroy EGLImage/VkImage, when there is a new
GraphicBuffer or GrContext is about to be destroyed.

Test: Ran Camera lens and other TextureView apps with GL and Vk
Test: Passed TextureView CTS tests
Bug: 123953909
Change-Id: I6ad4aa889060bbb64380d7dbac13676a7339b2f8

5 years agoMerge "Fix partically truncated problem for bar chart"
TreeHugger Robot [Tue, 12 Mar 2019 13:18:33 +0000 (13:18 +0000)]
Merge "Fix partically truncated problem for bar chart"

5 years agoMerge "Remove unused Privacy Indicator strings"
Fabian Kozynski [Tue, 12 Mar 2019 13:00:59 +0000 (13:00 +0000)]
Merge "Remove unused Privacy Indicator strings"

5 years agoMerge "Added atoms for logging"
Fabian Kozynski [Tue, 12 Mar 2019 13:00:10 +0000 (13:00 +0000)]
Merge "Added atoms for logging"

5 years ago[automerger skipped] Merge "[CS] Support "instant failure" from factories" am: eb3e7b...
Chalard Jean [Tue, 12 Mar 2019 12:44:42 +0000 (05:44 -0700)]
[automerger skipped] Merge "[CS] Support "instant failure" from factories" am: eb3e7b3f64 am: 65d66eec82
am: c3b48be493 -s ours
am skip reason: change_id I9bce0f4d85fa8cad7f8a9998819f945b778c5ac5 with SHA1 ae574a8673 is in history

Change-Id: I8f82d119a7a940b190fecd665e47076404d47fd8

5 years agoAdd @IntDef for status of committed rollback.
Richard Uhler [Mon, 11 Mar 2019 14:34:33 +0000 (14:34 +0000)]
Add @IntDef for status of committed rollback.

Per API council request.

Bug: 127282563
Test: atest RollbackTest
Change-Id: I72e979ce3978c72a0783b44a044ad536b35ee09d

5 years agoMerge "[CS] Support "instant failure" from factories" am: eb3e7b3f64
Chalard Jean [Tue, 12 Mar 2019 12:35:00 +0000 (05:35 -0700)]
Merge "[CS] Support "instant failure" from factories" am: eb3e7b3f64
am: 65d66eec82

Change-Id: I2dbee9b36a500ff1140c208997581064dd0b4ef1

5 years agoMerge "Change font style for app entity layout"
TreeHugger Robot [Tue, 12 Mar 2019 12:28:25 +0000 (12:28 +0000)]
Merge "Change font style for app entity layout"

5 years agoMerge "[CS] Support "instant failure" from factories"
Chalard Jean [Tue, 12 Mar 2019 12:25:48 +0000 (05:25 -0700)]
Merge "[CS] Support "instant failure" from factories"
am: eb3e7b3f64

Change-Id: I0c5f2823763857edfc5095686345c764d9be12e1

5 years agoDeduplicate actions by their look
Tony Mak [Tue, 26 Feb 2019 17:45:34 +0000 (17:45 +0000)]
Deduplicate actions by their look

1. Deduplicate actions by their look. Ideally, we should compare
   their labels and icons, but comparing icon is expensive and thus
    we are comparing title + component name instead.

2. Put intent to extras in ConversationAction object

3. Updated LabeledIntent.resolve, so we only support activity intent
   handler.

4. Fixed a minor issue in the browser title chooser.
   If it is resolves to sharesheet / chooser, we will still show the URL.

BUG: 121200744
Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/

Change-Id: Ic7ea31eb0ac5e9386e8e4b428686a0b66726c96b

5 years agoTest staged rollback for apk and apex install
shafik [Mon, 11 Mar 2019 16:27:15 +0000 (16:27 +0000)]
Test staged rollback for apk and apex install

In addition, add some methods to RollbackTestUtils to make old code
reusable for the new test.

Bug: 124043688
Test: atest StagedRollbackTest
Change-Id: I2b259671861c4081f13922f03ea2e251568e06bc

5 years agoUse test stubs for RollbackTests, not system stubs.
Richard Uhler [Fri, 8 Mar 2019 13:27:17 +0000 (13:27 +0000)]
Use test stubs for RollbackTests, not system stubs.

Adds @TestApi for all system apis needed for RollbackTests.

Removes @SystemApi for RollbackManager.expireRollbackForPackage and
RollbackManager.reloadPersistedData, which were always intended to be
used solely for testing.

Bug: 127282563
Test: atest RollbackTest StagedRollbackTest
Change-Id: I183b8a484b4a08f36fc19d64241ab408d28c64ca

5 years agoMerge "[CS] Support "instant failure" from factories"
Chalard Jean [Tue, 12 Mar 2019 12:04:46 +0000 (12:04 +0000)]
Merge "[CS] Support "instant failure" from factories"

5 years agoClarify the behaviour of isActivePasswordSufficient
Rubin Xu [Wed, 30 Jan 2019 12:29:43 +0000 (12:29 +0000)]
Clarify the behaviour of isActivePasswordSufficient

Bug: 123620877
Test: make -j32 ds-docs
Change-Id: Ied91e8f44e07894449aa15902fe6b5e0fbc408d4

5 years agoMerge "Improve the javadoc for cross profile calendar uris."
Alex Kershaw [Tue, 12 Mar 2019 11:48:07 +0000 (11:48 +0000)]
Merge "Improve the javadoc for cross profile calendar uris."