OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Add a no-op animation for non-changing apps during change transition"
TreeHugger Robot [Fri, 25 Jan 2019 05:27:31 +0000 (05:27 +0000)]
Merge "Add a no-op animation for non-changing apps during change transition"

5 years agoMerge "Always show battery percentage on AOD"
TreeHugger Robot [Fri, 25 Jan 2019 05:19:33 +0000 (05:19 +0000)]
Merge "Always show battery percentage on AOD"

5 years agoMerge "Verify permissions are only held by media stack."
Jeff Sharkey [Fri, 25 Jan 2019 04:20:27 +0000 (04:20 +0000)]
Merge "Verify permissions are only held by media stack."

5 years agoMerge "rework BinaryPushStateChanged atom"
Chenjie Yu [Fri, 25 Jan 2019 04:07:07 +0000 (04:07 +0000)]
Merge "rework BinaryPushStateChanged atom"

5 years agoMerge "Invert custom views in dark mode"
Lucas Dupin [Fri, 25 Jan 2019 04:00:05 +0000 (04:00 +0000)]
Merge "Invert custom views in dark mode"

5 years agoMerge "Hide content on all displays when the device is locked."
TreeHugger Robot [Fri, 25 Jan 2019 03:59:27 +0000 (03:59 +0000)]
Merge "Hide content on all displays when the device is locked."

5 years agoMerge "Add test for display configuration listener"
TreeHugger Robot [Fri, 25 Jan 2019 03:57:36 +0000 (03:57 +0000)]
Merge "Add test for display configuration listener"

5 years agoMerge "Moving the device provisioned callback to the correct thread."
TreeHugger Robot [Fri, 25 Jan 2019 03:56:47 +0000 (03:56 +0000)]
Merge "Moving the device provisioned callback to the correct thread."

5 years agoMerge "[view compilation] Add separate compilation property"
Mathieu Chartier [Fri, 25 Jan 2019 03:36:10 +0000 (03:36 +0000)]
Merge "[view compilation] Add separate compilation property"

5 years ago[view compilation] Add separate compilation property
Mathieu Chartier [Thu, 24 Jan 2019 19:13:35 +0000 (11:13 -0800)]
[view compilation] Add separate compilation property

Add separate compilation pm.precompile_layouts property for
precompiled layouts that controls compilation. Previously
this was controlled by view.precompiled_layout_enabled.

Movitation:
Enable view compilation without loading to get extra coverage.

Exempt-From-Owner-Approval: Cherry-pick from AOSP
Bug: 111895153
Test: manual
Change-Id: Ica79ec076714f76d6ae75d398a2f62d7dd85a6a6

5 years agoAlways show battery percentage on AOD
Lucas Dupin [Fri, 18 Jan 2019 00:34:22 +0000 (16:34 -0800)]
Always show battery percentage on AOD

Fixes: 123362085
Test: visual
Change-Id: Ib94efbb9b84bad75ba0a485fff827acb397a8b5f

5 years ago[automerger skipped] Merge "Enables the use of the blastula pool." am: 33a09948e5...
Christian Wailes [Fri, 25 Jan 2019 02:40:54 +0000 (18:40 -0800)]
[automerger skipped] Merge "Enables the use of the blastula pool." am: 33a09948e5 am: b649fda0ef
am: a6fc60e47c -s ours
am skip reason: change_id I46c32ad09400591e866b6c6121d5a9b0332092f3 with SHA1 ba4c2eb189 is in history

Change-Id: Id829a7772c49e928d648ff3537f321a1b162561d

5 years agoMerge "Pre-render input method (IME transitions 1/n)"
Tarandeep Singh [Fri, 25 Jan 2019 02:36:52 +0000 (02:36 +0000)]
Merge "Pre-render input method (IME transitions 1/n)"

5 years agoMerge "[automerger skipped] Merge "Added Java Language methods for blastula managemen...
Android Build Merger (Role) [Fri, 25 Jan 2019 02:33:22 +0000 (02:33 +0000)]
Merge "[automerger skipped] Merge "Added Java Language methods for blastula management." am: 0d9156a9c0 am: 8a2facfa4c am: 3763cc1859 -s ours am skip reason: change_id Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d with SHA1 cb0b37fc26 is in history"

5 years ago[automerger skipped] Merge "Added Java Language methods for blastula management....
Christian Wailes [Fri, 25 Jan 2019 02:32:51 +0000 (18:32 -0800)]
[automerger skipped] Merge "Added Java Language methods for blastula management." am: 0d9156a9c0 am: 8a2facfa4c
am: 3763cc1859 -s ours
am skip reason: change_id Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d with SHA1 cb0b37fc26 is in history

Change-Id: I4fdb0d59329f8f2fd8684c9476c4097b30cd6ac4

5 years agoMerge "Enables the use of the blastula pool." am: 33a09948e5
Christian Wailes [Fri, 25 Jan 2019 02:31:37 +0000 (18:31 -0800)]
Merge "Enables the use of the blastula pool." am: 33a09948e5
am: b649fda0ef

Change-Id: I489ce1f3a9aa072d9627376448bb6bf25b026d5e

5 years agoMerge "QSFooterImpl shows multiple carriers"
TreeHugger Robot [Fri, 25 Jan 2019 02:30:51 +0000 (02:30 +0000)]
Merge "QSFooterImpl shows multiple carriers"

5 years agoInvert custom views in dark mode
Lucas Dupin [Fri, 25 Jan 2019 00:42:52 +0000 (16:42 -0800)]
Invert custom views in dark mode

Invert custom view colors (in Y'UV space) if its background isn't dark,
we're in dark mode, and app doesn't target Q.

Change-Id: I74f557315c5e7e91ee7ec01d1535dac40f921524
Fixes: 112767229
Test: send custom notification from pre Q app with black background
Test: send custom notification from pre Q app with white background
Test: send custom notification from pre Q app with green background
Test: send custom notification from Q app with white background

5 years agoMerge "Added Java Language methods for blastula management." am: 0d9156a9c0
Christian Wailes [Fri, 25 Jan 2019 02:23:22 +0000 (18:23 -0800)]
Merge "Added Java Language methods for blastula management." am: 0d9156a9c0
am: 8a2facfa4c

Change-Id: Iec674c1318ae87310ff3327fc5f10d48e3191af5

5 years agoMerge "Enables the use of the blastula pool."
Christian Wailes [Fri, 25 Jan 2019 02:22:15 +0000 (18:22 -0800)]
Merge "Enables the use of the blastula pool."
am: 33a09948e5

Change-Id: Ibe2aa45a1df74674b82127f0c8588694c39461cf

5 years agoMerge "Added Java Language methods for blastula management."
Christian Wailes [Fri, 25 Jan 2019 02:14:40 +0000 (18:14 -0800)]
Merge "Added Java Language methods for blastula management."
am: 0d9156a9c0

Change-Id: I7833c149e1aac2b0621da6d4f33b4fe800fb0a3e

5 years agoMerge "Enables the use of the blastula pool."
Christian Wailes [Fri, 25 Jan 2019 02:06:47 +0000 (02:06 +0000)]
Merge "Enables the use of the blastula pool."

5 years agoMerge "Added Java Language methods for blastula management."
Christian Wailes [Fri, 25 Jan 2019 02:06:28 +0000 (02:06 +0000)]
Merge "Added Java Language methods for blastula management."

5 years agoMerge "Fixes an issue where the ambient layout could be null"
TreeHugger Robot [Fri, 25 Jan 2019 02:00:45 +0000 (02:00 +0000)]
Merge "Fixes an issue where the ambient layout could be null"

5 years agoMerge "Fixed View.getContentCaptureSession(ContentCaptureManager)."
Felipe Leme [Fri, 25 Jan 2019 01:57:15 +0000 (01:57 +0000)]
Merge "Fixed View.getContentCaptureSession(ContentCaptureManager)."

5 years agoAdd test for display configuration listener
Yunfan Chen [Thu, 24 Jan 2019 08:30:33 +0000 (17:30 +0900)]
Add test for display configuration listener

To test process controller register and unregister to ActivityDisplay as
a listener.

Test: atest WindowProcessControllerTests
Bug: 113253755
Change-Id: Ife9aeed22b9d8b5faf6cbddb12b28c6b76d4bf87

5 years agoMerge "Using actual display id"
Jackal Guo [Fri, 25 Jan 2019 01:21:40 +0000 (01:21 +0000)]
Merge "Using actual display id"

5 years agoMerge "Add temp debug logging for app ops"
Chad Brubaker [Fri, 25 Jan 2019 01:15:33 +0000 (01:15 +0000)]
Merge "Add temp debug logging for app ops"

5 years agoHide content on all displays when the device is locked.
wilsonshih [Tue, 11 Dec 2018 08:10:16 +0000 (16:10 +0800)]
Hide content on all displays when the device is locked.

Currently we cannot show Keyguard on private display. To prevent
security regression, we should hide the content when device is locked.

Bug: 120669490
Test: atest ActivityManagerMultiDisplayTests
Test: atest ActivityManagerDisplayLockedKeyguardTests
Test: atest ActivityManagerDisplayKeyguardTests

Change-Id: I94a5099b91f15b3871da497a8bc7cb66713d9b64

5 years ago[automerger skipped] Merge "A get method for NR status in ServiceState" am: c09b41cad...
Pengquan Meng [Fri, 25 Jan 2019 01:13:20 +0000 (17:13 -0800)]
[automerger skipped] Merge "A get method for NR status in ServiceState" am: c09b41cada am: 145fc05417
am: 690885cb6b -s ours
am skip reason: change_id I07749ff00fc9d53796208ca78721b498ed4c16fd with SHA1 bbcd9123aa is in history

Change-Id: Idd05448f5b712787496d1077beb2d1cc9cd20618

5 years agoMerge "Enable Wi-Fi connectivity features"
Johnson Lu [Fri, 25 Jan 2019 01:05:30 +0000 (01:05 +0000)]
Merge "Enable Wi-Fi connectivity features"

5 years agoMerge changes If54fa3a8,Ie7bd1459 am: 166c3aa030 am: dab15ff5f8
Lorenzo Colitti [Fri, 25 Jan 2019 01:04:27 +0000 (17:04 -0800)]
Merge changes If54fa3a8,Ie7bd1459 am: 166c3aa030 am: dab15ff5f8
am: 4461bd8f0f

Change-Id: I0641072657f0d190a7e6780242cd5fd594baf865

5 years agoMerge "A get method for NR status in ServiceState" am: c09b41cada
Pengquan Meng [Fri, 25 Jan 2019 01:03:41 +0000 (17:03 -0800)]
Merge "A get method for NR status in ServiceState" am: c09b41cada
am: 145fc05417

Change-Id: I36d4378149959c7d4c04b0b90a070d8b6686f8a7

5 years agoMerge "Fix IPMS tests timeout." am: 1f9d80f6ee am: 618ff5185a
Chalard Jean [Fri, 25 Jan 2019 00:55:28 +0000 (16:55 -0800)]
Merge "Fix IPMS tests timeout." am: 1f9d80f6ee am: 618ff5185a
am: d7bb3192af

Change-Id: I3c27bb789b8c44d6e2c46dabe65bf19452453257

5 years agoMerge changes If54fa3a8,Ie7bd1459 am: 166c3aa030
Lorenzo Colitti [Fri, 25 Jan 2019 00:54:10 +0000 (16:54 -0800)]
Merge changes If54fa3a8,Ie7bd1459 am: 166c3aa030
am: dab15ff5f8

Change-Id: If68ce4578c30fdb1e5d87f67bcaaec125f647b2c

5 years agoMerge "A get method for NR status in ServiceState"
Pengquan Meng [Fri, 25 Jan 2019 00:53:22 +0000 (16:53 -0800)]
Merge "A get method for NR status in ServiceState"
am: c09b41cada

Change-Id: Ifc6f7ef34c6e84c361c02493a1afb3dcaa6ae25a

5 years agoEnables the use of the blastula pool.
Chris Wailes [Sat, 12 Jan 2019 01:13:00 +0000 (17:13 -0800)]
Enables the use of the blastula pool.

This commit adds the code necessar to initialize and use the blastula
pool during application launching.  Highlights include:
* Modifying ZygoteState to allow the creation of blastula session
sockets
* Modified application startup to track if a web view process is being
created.
* Initialization of the blastula pool during Zygote initialization.
* Blastula lifecycle management via reporting pipes and event FDs.
* Launching of applications via the blastula pool.

The creation, maintenance, and use of the blastula pool can be disabled
by setting Zygote.BLASTULA_POOL_ENABLED to false.  When this feature is
disabled applications will launch as they did before this patch.

Topic: zygote-prefork
Test: make & flash & launch app & check log message
Bug: 68253328
Change-Id: I46c32ad09400591e866b6c6121d5a9b0332092f3
Merged-In: I46c32ad09400591e866b6c6121d5a9b0332092f3

5 years agoAdded Java Language methods for blastula management.
Chris Wailes [Sat, 12 Jan 2019 01:04:41 +0000 (17:04 -0800)]
Added Java Language methods for blastula management.

This commit adds Java Language wrappers for native blastula management
functions.  No changes are made to the application lifecycle.

Topic: zygote-prefork
Test: make & flash & launch apps & check log for messages
Bug: 68253328
Change-Id: Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d
Merged-In: Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d

5 years agoMerge changes If54fa3a8,Ie7bd1459
Lorenzo Colitti [Fri, 25 Jan 2019 00:46:51 +0000 (16:46 -0800)]
Merge changes If54fa3a8,Ie7bd1459
am: 166c3aa030

Change-Id: I492f9fab4b7e69d214911820f7d4c0a00540bac7

5 years agoMerge "Fix IPMS tests timeout." am: 1f9d80f6ee
Chalard Jean [Fri, 25 Jan 2019 00:46:01 +0000 (16:46 -0800)]
Merge "Fix IPMS tests timeout." am: 1f9d80f6ee
am: 618ff5185a

Change-Id: Ie8d1934205810586812714e5a63f10dc5fa01841

5 years agoMerge "Unhide APIs of Android HDMI Framework for Q."
TreeHugger Robot [Fri, 25 Jan 2019 00:45:37 +0000 (00:45 +0000)]
Merge "Unhide APIs of Android HDMI Framework for Q."

5 years agoMerge "A get method for NR status in ServiceState"
Pengquan Meng [Fri, 25 Jan 2019 00:40:48 +0000 (00:40 +0000)]
Merge "A get method for NR status in ServiceState"

5 years agoMerge "Use old API only if no share targets are published"
Mehdi Alizadeh [Fri, 25 Jan 2019 00:37:26 +0000 (00:37 +0000)]
Merge "Use old API only if no share targets are published"

5 years agoMerge "Fix IPMS tests timeout."
Chalard Jean [Fri, 25 Jan 2019 00:36:27 +0000 (16:36 -0800)]
Merge "Fix IPMS tests timeout."
am: 1f9d80f6ee

Change-Id: Ia73f410da8c42e9933dd290deacb82909b4348a6

5 years agoMerge changes I841d2621,I456f6695
TreeHugger Robot [Fri, 25 Jan 2019 00:26:53 +0000 (00:26 +0000)]
Merge changes I841d2621,I456f6695

* changes:
  Fix a couple of issues with insets
  Implement WindowInsets.isVisible

5 years agoMerge changes If54fa3a8,Ie7bd1459
Lorenzo Colitti [Fri, 25 Jan 2019 00:25:51 +0000 (00:25 +0000)]
Merge changes If54fa3a8,Ie7bd1459

* changes:
  Extract network observer code from NetworkManagementService.
  Change the signature of notifyInterfaceClassActivity.

5 years agoMerge "Define DeviceConfig for storage features."
Jeff Sharkey [Fri, 25 Jan 2019 00:19:16 +0000 (00:19 +0000)]
Merge "Define DeviceConfig for storage features."

5 years agoVerify permissions are only held by media stack.
Jeff Sharkey [Fri, 25 Jan 2019 00:17:44 +0000 (17:17 -0700)]
Verify permissions are only held by media stack.

The WRITE_MEDIA_STORAGE permission is a very powerful permission that
grants raw storage access to all devices, and as such it's only
appropriate to be granted to the media stack. Any apps with a
user-visible component (such as Camera or Gallery apps) must go
through public MediaStore APIs, to ensure that users have meaningful
permission controls.

For example, if the end user revokes the "Music" permission from an
app, but that app still has raw access to music via
WRITE_MEDIA_STORAGE, that would be a privacy incident.

Bug: 118402224
Test: atest android.permission.cts.ProviderPermissionTest
Change-Id: Iaf649689ff9e6d4eabbdb242852c179500654b56

5 years agoMerge "Fix IPMS tests timeout."
Treehugger Robot [Fri, 25 Jan 2019 00:15:50 +0000 (00:15 +0000)]
Merge "Fix IPMS tests timeout."

5 years agoFixes an issue where the ambient layout could be null
Selim Cinek [Fri, 25 Jan 2019 00:09:41 +0000 (16:09 -0800)]
Fixes an issue where the ambient layout could be null

Change-Id: I0dd190b2349445fbaafe4a5b612619e2dd002539
Fixes: 123247127

5 years agoAdd a no-op animation for non-changing apps during change transition
Evan Rosky [Tue, 15 Jan 2019 18:33:58 +0000 (10:33 -0800)]
Add a no-op animation for non-changing apps during change transition

Without this, other closing apps during a change transition would
immediately turn invisible because they had no animation. By adding
a no-op, it basically keeps everything visible and stationary until
the transition finishes.

Bug: 113252739
Test: Manual, wallpaper remains visible while maximizing freeform app
Change-Id: I968280ae2915eb571b33a73a1f182228bc8fec74

5 years agoMerge "Non-framework location access visibility and control (framework3)"
Anil Admal [Thu, 24 Jan 2019 23:52:22 +0000 (23:52 +0000)]
Merge "Non-framework location access visibility and control (framework3)"

5 years agoMerge "Convert PrivacyItemController to Dependency"
TreeHugger Robot [Thu, 24 Jan 2019 23:47:33 +0000 (23:47 +0000)]
Merge "Convert PrivacyItemController to Dependency"

5 years agoPre-render input method (IME transitions 1/n)
Tarandeep Singh [Fri, 9 Nov 2018 17:15:57 +0000 (18:15 +0100)]
Pre-render input method (IME transitions 1/n)

Pre-render input method views and window when EditText receives focus.
This is a pre-requisite for implementing better IME transitions.

Strategy:
Once EditText receives focus, startInput is called. If optimization is
available, IME views and window (SoftInputWindow) are created and
rendered. Until user taps on EditText or showSoftInput() is called, IME
window remains invisible. This pre-rendered window is kept around until
EditorInfo changes or new connection is started (onStartInput).
IME window's visibility will be set using new Insets controller API
rather than conventional client-side dialog.show().

Behavior:
- This is just IME side preparation CL. No performance improvements yet.
- There should be no user perceptible behavior change.
- As long as IME developers were following official lifecycle, they
  shouldn't perceive any behavior change.

Availability:
This optimization, once fully implemented, will be available when:
 - Device is not "Low memory"
 - AND Master flag DebugFlags.FLAG_PRE_RENDER_IME_VIEWS is set.
 - ViewRootImpl.USE_NEW_INSETS_API is enabled

Bug: 118599175
Bug: 111084606
Test: atest CtsInputMethodTestCases
Test: atest CtsInputMethodServiceHostTestCases
Test: atest ActivityManagerMultiDisplayTests
Test: Tested with 4 IMEs and didn't preceive any behavior change.
Scenarios tested:
  1. With and without hardware keyboard
  2. Screen rotation w/ fullscreen mode.
  3. split-screen

Change-Id: I1a6300fe167eb205ee2b4214a6e270a52ebae062

5 years agoMerge "Fix NPE in parcel constructor" am: 23a6598fe4 am: 12b8ba1667
Jordan Liu [Thu, 24 Jan 2019 23:45:08 +0000 (15:45 -0800)]
Merge "Fix NPE in parcel constructor" am: 23a6598fe4 am: 12b8ba1667
am: 94b6f9771a

Change-Id: I4ca46815212716392ce1128bd6da432f0d3984af

5 years agoMoving the device provisioned callback to the correct thread.
Brad Stenning [Thu, 24 Jan 2019 20:33:10 +0000 (12:33 -0800)]
Moving the device provisioned callback to the correct thread.

Test: manual

Bug: 116479940
Change-Id: I4cfdfac7d949ac177b7bc9da066e7497506c971c
(cherry picked from commit 2f6f9984aba0516f3a665d8ad98c79168e05a1b6)

5 years agoMerge "Fix NPE in parcel constructor" am: 23a6598fe4
Jordan Liu [Thu, 24 Jan 2019 23:28:50 +0000 (15:28 -0800)]
Merge "Fix NPE in parcel constructor" am: 23a6598fe4
am: 12b8ba1667

Change-Id: I7be389cacc368dd60506cbf0824350ac4247a016

5 years agorework BinaryPushStateChanged atom
Chenjie Yu [Thu, 17 Jan 2019 04:48:30 +0000 (20:48 -0800)]
rework BinaryPushStateChanged atom

Bug: 119685453
Test: will add gts
Change-Id: I60e83b2e0fcf63bab1ec695db90ed9f7a2846571

5 years agoMerge "Add a new bugreport error code" am: 1bed967833 am: 9bf1411e38
Nandana Dutt [Thu, 24 Jan 2019 23:23:29 +0000 (15:23 -0800)]
Merge "Add a new bugreport error code" am: 1bed967833 am: 9bf1411e38
am: c5cba98282

Change-Id: Idcc8acd35a5c93c48998ff709a483dc649a09d72

5 years agoMerge "Fix NPE in parcel constructor"
Jordan Liu [Thu, 24 Jan 2019 23:17:03 +0000 (15:17 -0800)]
Merge "Fix NPE in parcel constructor"
am: 23a6598fe4

Change-Id: I686adb8ab08b17681a10caacca47a926477487d1

5 years agoMerge "resolve merge conflicts of fb54fde4023d1837cddf167ae6d503cb064060ad to master"
Dan Albert [Thu, 24 Jan 2019 23:00:19 +0000 (23:00 +0000)]
Merge "resolve merge conflicts of fb54fde4023d1837cddf167ae6d503cb064060ad to master"

5 years agoMerge "Move color modes to ColorDisplayService"
Christine Franks [Thu, 24 Jan 2019 22:54:09 +0000 (22:54 +0000)]
Merge "Move color modes to ColorDisplayService"

5 years agoMerge "Fix NPE in parcel constructor"
Jordan Liu [Thu, 24 Jan 2019 22:50:43 +0000 (22:50 +0000)]
Merge "Fix NPE in parcel constructor"

5 years agoMerge "[WIFI][LOCATION] Convert API from Coarse -> Fine for >= Q"
Etan Cohen [Thu, 24 Jan 2019 22:49:12 +0000 (22:49 +0000)]
Merge "[WIFI][LOCATION] Convert API from Coarse -> Fine for >= Q"

5 years agoMerge "Add a new bugreport error code" am: 1bed967833
Nandana Dutt [Thu, 24 Jan 2019 22:46:28 +0000 (14:46 -0800)]
Merge "Add a new bugreport error code" am: 1bed967833
am: 9bf1411e38

Change-Id: Ie153b43c6bc698d8daaf93f3bda1ce589307c6b3

5 years agoresolve merge conflicts of fb54fde4023d1837cddf167ae6d503cb064060ad to master
Dan Albert [Thu, 24 Jan 2019 22:46:02 +0000 (14:46 -0800)]
resolve merge conflicts of fb54fde4023d1837cddf167ae6d503cb064060ad to master

Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I7256999a13b713607cfb4c844bf1bc7b37b827a7

5 years agoMerge "Remove unnecessary wtf from ContentService"
Makoto Onuki [Thu, 24 Jan 2019 22:45:28 +0000 (22:45 +0000)]
Merge "Remove unnecessary wtf from ContentService"

5 years agoFixed View.getContentCaptureSession(ContentCaptureManager).
Felipe Leme [Thu, 24 Jan 2019 22:42:03 +0000 (14:42 -0800)]
Fixed View.getContentCaptureSession(ContentCaptureManager).

This method was meant to optimize the ContentCaptureManager lookup, but it was not recursively
callign itself....

With this change and using System.out / System.nanotime() to measure:

$ adb shell am start android.contentcaptureservice.cts/.BlankWithTitleActivity

16 calls, taking 260.051us before and 30.311us after

$ adb shell am start android.contentcaptureservice.cts/.LoginActivity

24 calls, taking 290.261us before and 41.403us after

Bug: 123307965
Bug: 121039624
Test: atest ContentCaptureSession
Test: manual verification using system.out for timing
Change-Id: Ida5015ed117cae8ab4484a55f74cbc20fdc6df7f

5 years agoMerge "Add a new bugreport error code"
Nandana Dutt [Thu, 24 Jan 2019 22:35:59 +0000 (14:35 -0800)]
Merge "Add a new bugreport error code"
am: 1bed967833

Change-Id: Id99ec17d82435ac3eb108d2bce56cbca8f1140eb

5 years agoMerge "Fix inconsistent data usage cycle start time."
Doris Ling [Thu, 24 Jan 2019 22:29:05 +0000 (22:29 +0000)]
Merge "Fix inconsistent data usage cycle start time."

5 years agoMerge "Add a new bugreport error code"
Treehugger Robot [Thu, 24 Jan 2019 22:21:16 +0000 (22:21 +0000)]
Merge "Add a new bugreport error code"

5 years agoQSFooterImpl shows multiple carriers
Fabian Kozynski [Fri, 18 Jan 2019 16:43:29 +0000 (11:43 -0500)]
QSFooterImpl shows multiple carriers

QSFooter now shows up to two subscriptions with corresponding signal
rate graphic.

Modified CarrierTextCallback to pass an info struct.

Pending design guidelines.

Test: manual using DSDS
Bug: 113343186
Change-Id: Ic98d52ae59139132533a86fcc279a4f64c98c91e

5 years agoKeep PluginManager reference to avoid NPE am: 5d378dfeac
Lucas Dupin [Thu, 24 Jan 2019 22:04:07 +0000 (14:04 -0800)]
Keep PluginManager reference to avoid NPE am: 5d378dfeac
am: 75eb1d78b9

Change-Id: If0a1779a70ee980cf78ae868a174f07b474e00d5

5 years agoMerge "Revert "Whitelist packages from VPN lockdown."" am: 9f73671651
Dan Albert [Thu, 24 Jan 2019 21:58:15 +0000 (13:58 -0800)]
Merge "Revert "Whitelist packages from VPN lockdown."" am: 9f73671651
am: 2f94ef95c4

Change-Id: I933a58f97b48f7a2db372cff6fb43318c840c6f8

5 years agoMerge "Increase ShaderCache max size to accomodate Vulkan pipeline cache"
TreeHugger Robot [Thu, 24 Jan 2019 21:49:44 +0000 (21:49 +0000)]
Merge "Increase ShaderCache max size to accomodate Vulkan pipeline cache"

5 years agoUse old API only if no share targets are published
Mehdi Alizadeh [Wed, 23 Jan 2019 20:49:53 +0000 (12:49 -0800)]
Use old API only if no share targets are published

In ShareSheet, when querying Direct Share Targets using both old and new
APIs, only query via old API if the app is not publishing any share
targets in its resources (publishing via ShrotcutManager)

Bug: 111698461
Test: Manual test using test app
Change-Id: I4be46110ac4ae6de64a9675a19df5994c4fa65c8

5 years agoMerge "Add documentation for ContentSuggestionsManager classes."
Zak Cohen [Thu, 24 Jan 2019 21:48:59 +0000 (21:48 +0000)]
Merge "Add documentation for ContentSuggestionsManager classes."

5 years agoMerge "Add per-display RemoteAnimation overrides and flag to disable snapshots"
Evan Rosky [Thu, 24 Jan 2019 21:46:37 +0000 (21:46 +0000)]
Merge "Add per-display RemoteAnimation overrides and flag to disable snapshots"

5 years agoMerge "Fixes a crash when logging"
TreeHugger Robot [Thu, 24 Jan 2019 21:46:31 +0000 (21:46 +0000)]
Merge "Fixes a crash when logging"

5 years agoA get method for NR status in ServiceState
Pengquan Meng [Fri, 7 Dec 2018 01:48:05 +0000 (17:48 -0800)]
A get method for NR status in ServiceState

Bug: 111453000
Bug: 123099654
Test: build
Merged-In: I07749ff00fc9d53796208ca78721b498ed4c16fd
Change-Id: I07749ff00fc9d53796208ca78721b498ed4c16fd

5 years agoMerge "Revert "Whitelist packages from VPN lockdown.""
Dan Albert [Thu, 24 Jan 2019 21:45:19 +0000 (13:45 -0800)]
Merge "Revert "Whitelist packages from VPN lockdown.""
am: 9f73671651

Change-Id: Ibaf799dc2664a6b3b743030da956679a3414ad9d

5 years agoMerge "Update EuiccManager APIs used for eSIM activation flow"
TreeHugger Robot [Thu, 24 Jan 2019 21:35:47 +0000 (21:35 +0000)]
Merge "Update EuiccManager APIs used for eSIM activation flow"

5 years agoMerge "Refactor logic out of CarrierText"
Fabian Kozynski [Thu, 24 Jan 2019 21:32:43 +0000 (21:32 +0000)]
Merge "Refactor logic out of CarrierText"

5 years agoDefine DeviceConfig for storage features.
Jeff Sharkey [Thu, 24 Jan 2019 21:32:31 +0000 (14:32 -0700)]
Define DeviceConfig for storage features.

Best-practices mean that we should start using this path for remote
configuration, instead of Settings.Global values.

Bug: 112545973
Test: manual
Change-Id: Ic6f1e9eca28690a212baeb52bd119717c3f495a4

5 years agoKeep PluginManager reference to avoid NPE
Lucas Dupin [Thu, 24 Jan 2019 21:31:35 +0000 (13:31 -0800)]
Keep PluginManager reference to avoid NPE
am: 5d378dfeac

Change-Id: Ibe4591fbf787f4fd6781a7927728db394735d9e8

5 years agoMerge "[automerger skipped] Merge "Define Nfc statistic data atoms" am: 961a43eae2...
Android Build Merger (Role) [Thu, 24 Jan 2019 21:28:54 +0000 (21:28 +0000)]
Merge "[automerger skipped] Merge "Define Nfc statistic data atoms" am: 961a43eae2 am: 20548152f7 am: 808d5e1879 -s ours am skip reason: change_id Ib521a9f2d4d098022d973fe6c775231a518f3f49 with SHA1 95b64f3f4e is in history"

5 years agoMerge "Adds callbacks for task creation and removal"
Mark Renouf [Thu, 24 Jan 2019 21:28:32 +0000 (21:28 +0000)]
Merge "Adds callbacks for task creation and removal"

5 years ago[automerger skipped] Merge "Define Nfc statistic data atoms" am: 961a43eae2 am: 20548...
Jack Yu [Thu, 24 Jan 2019 21:27:40 +0000 (13:27 -0800)]
[automerger skipped] Merge "Define Nfc statistic data atoms" am: 961a43eae2 am: 20548152f7
am: 808d5e1879 -s ours
am skip reason: change_id Ib521a9f2d4d098022d973fe6c775231a518f3f49 with SHA1 95b64f3f4e is in history

Change-Id: I1ec04f2d3de86e01e9c1a861f0394c46ca9fedbe

5 years agoMerge "Fixes NotificationInfo for demoted notifications."
TreeHugger Robot [Thu, 24 Jan 2019 21:26:44 +0000 (21:26 +0000)]
Merge "Fixes NotificationInfo for demoted notifications."

5 years agoMerge "Only toggle launcher stability flag when prototype is enabled"
TreeHugger Robot [Thu, 24 Jan 2019 21:26:34 +0000 (21:26 +0000)]
Merge "Only toggle launcher stability flag when prototype is enabled"

5 years agoConvert PrivacyItemController to Dependency
Fabian Kozynski [Tue, 22 Jan 2019 15:38:40 +0000 (10:38 -0500)]
Convert PrivacyItemController to Dependency

This makes sure that PIC is a Singleton and prevents memory leak.

Bug: 121388507
Test: atest PrivacyItemControllerTest

Change-Id: Ib5c2a8790157034e1937c8037650ac047478d005

5 years agoAdd documentation for ContentSuggestionsManager classes.
Zak Cohen [Fri, 18 Jan 2019 22:36:55 +0000 (14:36 -0800)]
Add documentation for ContentSuggestionsManager classes.

Bug: 122545621
Change-Id: I449cd71a438410c4cd4796f99af0653750329654
Test: compile, documentation only change

5 years agoMerge "Add g/setScore and g/setEntityTypes to TextClassifierEvent"
TreeHugger Robot [Thu, 24 Jan 2019 21:23:13 +0000 (21:23 +0000)]
Merge "Add g/setScore and g/setEntityTypes to TextClassifierEvent"

5 years agoMerge "Make night display auto mode system API"
Christine Franks [Thu, 24 Jan 2019 21:22:19 +0000 (21:22 +0000)]
Merge "Make night display auto mode system API"

5 years agoMerge "Adds setting for direction of dismiss gesture."
TreeHugger Robot [Thu, 24 Jan 2019 21:20:30 +0000 (21:20 +0000)]
Merge "Adds setting for direction of dismiss gesture."

5 years agoMerge "Revert "Whitelist packages from VPN lockdown.""
Dan Albert [Thu, 24 Jan 2019 21:08:46 +0000 (21:08 +0000)]
Merge "Revert "Whitelist packages from VPN lockdown.""

5 years agoUnhide APIs of Android HDMI Framework for Q.
Amy [Wed, 16 Jan 2019 21:42:30 +0000 (13:42 -0800)]
Unhide APIs of Android HDMI Framework for Q.

Test: manual
Bug: 110094868
Change-Id: I4f8d992a1dc7be7e52710153d5d093ca2b82abd6

5 years agoMerge "Define Nfc statistic data atoms" am: 961a43eae2
Jack Yu [Thu, 24 Jan 2019 21:07:37 +0000 (13:07 -0800)]
Merge "Define Nfc statistic data atoms" am: 961a43eae2
am: 20548152f7

Change-Id: Ie72691a9bbdc505497c4cc99a1feadcc088a1baa

5 years agoRevert "Whitelist packages from VPN lockdown."
Dan Albert [Thu, 24 Jan 2019 21:05:39 +0000 (21:05 +0000)]
Revert "Whitelist packages from VPN lockdown."

This reverts commit bb9cef04c5b6699412d43d82bdd31c7a4f692cbc.

Reason for revert: broke pi-dev-plus-aosp

Change-Id: Iaf5c8aa4a8720eb2852da8cd91c81a77ccb92b68

5 years agoMerge "Set assistant as a role"
Philip P. Moltmann [Thu, 24 Jan 2019 20:51:41 +0000 (20:51 +0000)]
Merge "Set assistant as a role"