OSDN Git Service

android-x86/frameworks-base.git
5 years agoEnsure the cutout is not null before trying to use it.
Joshua Tsuji [Fri, 25 Jan 2019 16:37:49 +0000 (11:37 -0500)]
Ensure the cutout is not null before trying to use it.

Test: manual
Change-Id: I59cf13aed53a5d8a61e5dc65500764ecdddc9c39

5 years agoMerge changes from topic "mediametrics_stable_0118"
Ray Essick [Fri, 25 Jan 2019 20:43:33 +0000 (20:43 +0000)]
Merge changes from topic "mediametrics_stable_0118"

* changes:
  mediaplayer2 uses the new mediametrics C apis
  Further work on libmediametrics stable API

5 years agoMerge "Remove IpClient wrapper" am: 427f0c36d5 am: 62e8b4eb5c
Remi NGUYEN VAN [Fri, 25 Jan 2019 20:40:52 +0000 (12:40 -0800)]
Merge "Remove IpClient wrapper" am: 427f0c36d5 am: 62e8b4eb5c
am: 7439853dce

Change-Id: I0aa8e1ad1f4ee79f901409de0f021b3d58b8e879

5 years agoMerge "Remove IpClient wrapper" am: 427f0c36d5
Remi NGUYEN VAN [Fri, 25 Jan 2019 20:28:47 +0000 (12:28 -0800)]
Merge "Remove IpClient wrapper" am: 427f0c36d5
am: 62e8b4eb5c

Change-Id: I6b6eb186475228e6b6b6c1994ec4444a9160e19c

5 years agoMerge "In NotificationRecord, clean out adjustments once they've been applied."
TreeHugger Robot [Fri, 25 Jan 2019 20:21:48 +0000 (20:21 +0000)]
Merge "In NotificationRecord, clean out adjustments once they've been applied."

5 years agoMerge "Remove IpClient wrapper"
Remi NGUYEN VAN [Fri, 25 Jan 2019 20:15:20 +0000 (12:15 -0800)]
Merge "Remove IpClient wrapper"
am: 427f0c36d5

Change-Id: Ia1dfa96b2e929d2481519147dea7f5375aebd53c

5 years agoMerge "Remove IpClient wrapper"
Treehugger Robot [Fri, 25 Jan 2019 19:58:36 +0000 (19:58 +0000)]
Merge "Remove IpClient wrapper"

5 years agoMerge "Post expensive ContentCapture calls to Choreographer's CALLBACK_COMMIT stage."
TreeHugger Robot [Fri, 25 Jan 2019 19:56:08 +0000 (19:56 +0000)]
Merge "Post expensive ContentCapture calls to Choreographer's CALLBACK_COMMIT stage."

5 years agoMerge changes from topic "ui_attribution_suggestion_specifier_2"
Roshan Pius [Fri, 25 Jan 2019 19:55:56 +0000 (19:55 +0000)]
Merge changes from topic "ui_attribution_suggestion_specifier_2"

* changes:
  WifiManager: Remove @SystemApi tag for settings APIs
  WifiInfo: App attribution for suggestion/request

5 years agoWifiManager: Remove @SystemApi tag for settings APIs
Roshan Pius [Thu, 24 Jan 2019 23:26:39 +0000 (15:26 -0800)]
WifiManager: Remove @SystemApi tag for settings APIs

Bug: 123314904
Test: make system-api-stubs-docs-update-current-api
Change-Id: Id9f088b3a9bbeeb74d5f5bcd3070743943b0c6e6

5 years agoWifiInfo: App attribution for suggestion/request
Roshan Pius [Wed, 23 Jan 2019 23:39:52 +0000 (15:39 -0800)]
WifiInfo: App attribution for suggestion/request

Add a field to store package name for suggestion/specifier package name.
Storing these info in WifiInfo is the convention being followed
for ephemeral networks in WifiTracker.

Bug: 115504887
Bug: 113878056
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: Iab6ab93a2a281011499adfff3163c35058600706

5 years agoMerge changes I789db896,I19e91f0f
TreeHugger Robot [Fri, 25 Jan 2019 19:10:34 +0000 (19:10 +0000)]
Merge changes I789db896,I19e91f0f

* changes:
  iorap: Handle binder failures by gracefully attempting to reconnect
  iorap: Update AppLaunchEvent binder calls to use protobuf

5 years agoMerge "Merge "Track change of some java.nio.Buffer methods to nonfinal." am: 38a641d2...
Android Build Merger (Role) [Fri, 25 Jan 2019 18:32:35 +0000 (18:32 +0000)]
Merge "Merge "Track change of some java.nio.Buffer methods to nonfinal." am: 38a641d29f am: 5fdb4eb6ef am: 5cb69db85c"

5 years agoMerge "Track change of some java.nio.Buffer methods to nonfinal." am: 38a641d29f...
Tobias Thierer [Fri, 25 Jan 2019 18:30:33 +0000 (10:30 -0800)]
Merge "Track change of some java.nio.Buffer methods to nonfinal." am: 38a641d29f am: 5fdb4eb6ef
am: 5cb69db85c

Change-Id: I6e2f82dd543d9d685240a902a782eb2ccda4a19a

5 years agoMerge "Add NFC Settings Panel API"
Matthew Fritze [Fri, 25 Jan 2019 18:27:03 +0000 (18:27 +0000)]
Merge "Add NFC Settings Panel API"

5 years agoMerge "JankBench: Add Bitmap Upload to list of runnable tests" am: 9c4b6532b2 am...
Joel Fernandes [Fri, 25 Jan 2019 18:14:17 +0000 (10:14 -0800)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests" am: 9c4b6532b2 am: 1f90d94383
am: 0ed2ad08f9

Change-Id: Iaef1c7ffb34cd3b9a76a6eb10bc0db633c3f4e78

5 years agoMerge "JankBench: Fix execution of incorrect benchmark" am: 8a52fda1fa am: 187fcc9fad
Joel Fernandes [Fri, 25 Jan 2019 18:07:11 +0000 (10:07 -0800)]
Merge "JankBench: Fix execution of incorrect benchmark" am: 8a52fda1fa am: 187fcc9fad
am: b199e12fe5

Change-Id: I90ff44942114da48426286ad36d58b7ff1379e41

5 years agoMerge "Track change of some java.nio.Buffer methods to nonfinal." am: 38a641d29f
Tobias Thierer [Fri, 25 Jan 2019 18:03:11 +0000 (10:03 -0800)]
Merge "Track change of some java.nio.Buffer methods to nonfinal." am: 38a641d29f
am: 5fdb4eb6ef

Change-Id: I08059da73d48200b3a0b1c3612ddb5cca9be7ac2

5 years agoMerge "Mark session as ready on APEXd after verification"
Colin Cross [Fri, 25 Jan 2019 18:00:16 +0000 (18:00 +0000)]
Merge "Mark session as ready on APEXd after verification"

5 years agoMerge "JankBench: Add Bitmap Upload to list of runnable tests" am: 9c4b6532b2
Joel Fernandes [Fri, 25 Jan 2019 17:57:50 +0000 (09:57 -0800)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests" am: 9c4b6532b2
am: 1f90d94383

Change-Id: Ic714757588429fb0ef97b6c1967e1768a773e847

5 years agoMerge "JankBench: Fix execution of incorrect benchmark" am: 8a52fda1fa
Joel Fernandes [Fri, 25 Jan 2019 17:52:35 +0000 (09:52 -0800)]
Merge "JankBench: Fix execution of incorrect benchmark" am: 8a52fda1fa
am: 187fcc9fad

Change-Id: I6ce4a5a92e5ec90521d20d9a32d14556c32163ff

5 years agoPost expensive ContentCapture calls to Choreographer's CALLBACK_COMMIT stage.
Felipe Leme [Wed, 23 Jan 2019 01:59:48 +0000 (17:59 -0800)]
Post expensive ContentCapture calls to Choreographer's CALLBACK_COMMIT stage.

onProvideContentCaptureStructure() doesn't take much for only 1 view, but it's called for all views
the first time the view hiearchy is laid off, which could acccumulative delay the
initial layout. Hence, we're postponing it to a later stage - it might still cost a
lost frame (or more), but that jank cost would only happen after the 1st layout.

Using this change, the impact on cold-dropcache-test dropped about 50% (from ~2ms to ~1ms).

Bug: 123307965
Bug: 121039624
Test: atest ContentCaptureSession
Test: atest google/perf/app-startup/benchmark-app-hermetic/cold-dropcache-test

Change-Id: I68b98b2894d23309af90d87cc99280f133557252

5 years agoMerge "Track change of some java.nio.Buffer methods to nonfinal."
Tobias Thierer [Fri, 25 Jan 2019 17:44:49 +0000 (09:44 -0800)]
Merge "Track change of some java.nio.Buffer methods to nonfinal."
am: 38a641d29f

Change-Id: I64062e2c6aafeeb0757ed8ad97666601e93e9735

5 years ago[automerger skipped] Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup depende...
Suren Baghdasaryan [Fri, 25 Jan 2019 17:42:19 +0000 (09:42 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""" am: 113fbed900 -s ours am: a2052d9f7d -s ours
am: 70650f9bc0 -s ours
am skip reason: subject contains skip directive

Change-Id: I0466abc8bda771981e65ab79e63896140f59880f

5 years agoMerge "JankBench: Add Bitmap Upload to list of runnable tests"
Joel Fernandes [Fri, 25 Jan 2019 17:40:21 +0000 (09:40 -0800)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests"
am: 9c4b6532b2

Change-Id: I4b085d22ae316b8308f9b4173c73fd55c1ed1c7f

5 years agoMerge "JankBench: Fix execution of incorrect benchmark"
Joel Fernandes [Fri, 25 Jan 2019 17:36:27 +0000 (09:36 -0800)]
Merge "JankBench: Fix execution of incorrect benchmark"
am: 8a52fda1fa

Change-Id: I2032004ccf5e57a0ebb785e9adc0a871750529c4

5 years ago[automerger skipped] Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup depende...
Suren Baghdasaryan [Fri, 25 Jan 2019 17:30:02 +0000 (09:30 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""" am: 113fbed900 -s ours
am: a2052d9f7d -s ours
am skip reason: subject contains skip directive

Change-Id: I2e606e75c6e75860b19e3e4f25d9a9ee13bc81af

5 years agoMerge "Fix GetResourceName for shared libraries"
TreeHugger Robot [Fri, 25 Jan 2019 17:28:34 +0000 (17:28 +0000)]
Merge "Fix GetResourceName for shared libraries"

5 years agoMerge "BubbleMetadata flags: suppress initial notif & auto expand when posted"
Mady Mellor [Fri, 25 Jan 2019 17:26:38 +0000 (17:26 +0000)]
Merge "BubbleMetadata flags: suppress initial notif & auto expand when posted"

5 years agoMerge "Track change of some java.nio.Buffer methods to nonfinal."
Tobias Thierer [Fri, 25 Jan 2019 17:22:04 +0000 (17:22 +0000)]
Merge "Track change of some java.nio.Buffer methods to nonfinal."

5 years ago[automerger skipped] Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup depende...
Suren Baghdasaryan [Fri, 25 Jan 2019 17:19:52 +0000 (09:19 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include"""
am: 113fbed900 -s ours
am skip reason: subject contains skip directive

Change-Id: I068ed1b928689e97c24ac0f48a28c05e6a0c7c09

5 years agoMerge "Rename PERSON_USER_LOCAL and PERSON_USER_REMOTE"
TreeHugger Robot [Fri, 25 Jan 2019 17:16:38 +0000 (17:16 +0000)]
Merge "Rename PERSON_USER_LOCAL and PERSON_USER_REMOTE"

5 years agoMerge "JankBench: Add Bitmap Upload to list of runnable tests"
Joel Fernandes [Fri, 25 Jan 2019 17:14:44 +0000 (17:14 +0000)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests"

5 years agoMerge "JankBench: Fix execution of incorrect benchmark"
Joel Fernandes [Fri, 25 Jan 2019 17:14:15 +0000 (17:14 +0000)]
Merge "JankBench: Fix execution of incorrect benchmark"

5 years agoMerge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_pol...
Suren Baghdasaryan [Fri, 25 Jan 2019 17:09:02 +0000 (17:09 +0000)]
Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include"""

5 years agoMerge "Allow multiple tasks when reviewing permissions"
TreeHugger Robot [Fri, 25 Jan 2019 17:00:03 +0000 (17:00 +0000)]
Merge "Allow multiple tasks when reviewing permissions"

5 years agoMerge "Adds DynamicAnimation-based movement to the bubbles."
Josh Tsuji [Fri, 25 Jan 2019 16:04:51 +0000 (16:04 +0000)]
Merge "Adds DynamicAnimation-based movement to the bubbles."

5 years agoIn NotificationRecord, clean out adjustments once they've been applied.
Will Brockman [Fri, 25 Jan 2019 15:37:30 +0000 (10:37 -0500)]
In NotificationRecord, clean out adjustments once they've been applied.

This frees up some memory and prevents unnecessary re-processing of
the adjustments.  It also deduplicates the NOTIFICATION_ASSISTANT tron
log record that is written every time a new notification is
created. It also prevents any other duplication of event logs.

Bug: 122823423
Test: atest SystemUITests NotificationAssistantServiceTest  and manual testing.
Change-Id: Ie2514e8e9ac19f79b1ad0afcde4d96649fe28069

5 years agoMerge "Creates a new grid-based global actions menu on power button hold."
Aaron Heuckroth [Fri, 25 Jan 2019 15:19:07 +0000 (15:19 +0000)]
Merge "Creates a new grid-based global actions menu on power button hold."

5 years agoMark session as ready on APEXd after verification
Dario Freni [Fri, 25 Jan 2019 14:27:13 +0000 (14:27 +0000)]
Mark session as ready on APEXd after verification

APEXd will now only verify packages when submitStagedSession is called,
and wait for an extra call from StagingManager when other verification
such us APK-container signature verification is performed.

Bug: 118865310
Bug: 123360647
Test: atest apex_e2e_tests; manual testing with packages with mismatched
APK signature

Change-Id: Ifa4d20b7d8ecbc25c8a6d9a41f92953cee374d35

5 years agoMerge "Add an error message to staged install session."
Dario Freni [Fri, 25 Jan 2019 14:21:56 +0000 (14:21 +0000)]
Merge "Add an error message to staged install session."

5 years agoMerge "Remove MediaController2 usages in MediaSessionServiceImpl"
TreeHugger Robot [Fri, 25 Jan 2019 14:21:24 +0000 (14:21 +0000)]
Merge "Remove MediaController2 usages in MediaSessionServiceImpl"

5 years agoMerge "Store SkFont in android::Paint"
TreeHugger Robot [Fri, 25 Jan 2019 14:09:11 +0000 (14:09 +0000)]
Merge "Store SkFont in android::Paint"

5 years agoMerge "Only call ActivityView.startActivity once per bubble"
Mark Renouf [Fri, 25 Jan 2019 14:07:10 +0000 (14:07 +0000)]
Merge "Only call ActivityView.startActivity once per bubble"

5 years agoAnimate Insets controller (IME transitions 2/n)
Tarandeep Singh [Fri, 11 Jan 2019 03:41:30 +0000 (19:41 -0800)]
Animate Insets controller (IME transitions 2/n)

Add animations to InsetsController.show()/hide()

Bug: 118599175
Bug: 118118435
Test: atest InsetsControllerTest
Test: atest InsetSourceConsumerTest
Change-Id: Ife224de9762361e60ca4d11c0e39ad0376cf1e35

5 years agoMerge "Add color space params to webview gl functor"
TreeHugger Robot [Fri, 25 Jan 2019 13:40:41 +0000 (13:40 +0000)]
Merge "Add color space params to webview gl functor"

5 years agoRename PERSON_USER_LOCAL and PERSON_USER_REMOTE
Tony Mak [Thu, 24 Jan 2019 16:00:28 +0000 (16:00 +0000)]
Rename PERSON_USER_LOCAL and PERSON_USER_REMOTE

Test: atest TextClassificationManagerTest.java
Bug: 123223181

Change-Id: I077d06aabf96d824942b99dd6ab95fe8adc2641f

5 years agoRemove an unused param from InputMethodSettings constructor
Yohei Yukawa [Fri, 25 Jan 2019 10:47:32 +0000 (02:47 -0800)]
Remove an unused param from InputMethodSettings constructor

"methodList" parameter in the constructor of InputMethodSettings is
not used.  This CL removes it in favor of simplicity.

This is a mechanical refactoring.  There should be no behavior change.

Bug: 123379418
Test: make -j checkbuild
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: Ifd987bf57d6ed5622e9091157b1933f6da3ff181

5 years agoAdjust method access levels in InputMethodUtils
Yohei Yukawa [Fri, 25 Jan 2019 10:44:00 +0000 (02:44 -0800)]
Adjust method access levels in InputMethodUtils

This is a mechanical refactoring that adjusts access levels for
methods in InputMethodUtils.

With a recent CL [1], which moved InputMethodUtils to services.jar,
some of methods in InputMethodUtils can now have strict access level
than before.

 [1]: I37594096151d77adb6741a41d7985a4506f96ccb
      e6b6e0e7853500d6d1aaf3326d487037dff1d2a8

Bug: 123379418
Test: make -j checkbuild
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: Iaf737787426d3a67df8ad6595c2b094fad139619

5 years agoRemove unnecesary final keyword from method params in InputMethodUtils
Yohei Yukawa [Fri, 25 Jan 2019 10:26:54 +0000 (02:26 -0800)]
Remove unnecesary final keyword from method params in InputMethodUtils

This is a mechanical refactoring to remove "final" keyboard from
method parameters in InputMethodUtils.

There should be no behavior change.

Bug: 123379418
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: Ic33e94f2bdedaa2c573be0857727d901800e5bbf

5 years agoAdd an error message to staged install session.
Dario Freni [Fri, 25 Jan 2019 09:55:16 +0000 (09:55 +0000)]
Add an error message to staged install session.

The enum itself might be a bit opaque when trying to debug what failed
during the staged session flow. Add an error message field so that the
caller can learn more about the failure, and also log this message on
logcat.

Bug: 118865310
Bug: 123360647
Test: atest PackageInstallerSessionTest; verified that error message is
written to install_sessions.xml and in logcat.

Change-Id: I45c8633f36d490c17c751a9037b90d3fd413c506

5 years agoRemove MediaController2 usages in MediaSessionServiceImpl
Hyundo Moon [Thu, 24 Jan 2019 09:43:28 +0000 (18:43 +0900)]
Remove MediaController2 usages in MediaSessionServiceImpl

Bug: 123336670
Test: Passed below tests
      MediaSessionManagerTest#testNotifySession2Created/Destroyed*
Change-Id: I25a20bf9e8a78920f2219d22b81b899af665ed32

5 years agoDO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy...
Suren Baghdasaryan [Fri, 25 Jan 2019 05:23:40 +0000 (05:23 +0000)]
DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""

This reverts commit c5e0fdab2c7ff039db26e4d6512bd3d69bdd71d6.

Reason for revert: AOSP is fixed with new vendor image

Change-Id: Iae858f743fbd7e4f58f89b8ba0498f10f6ae0e81
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
5 years agoMerge "Fix IpClientTest" am: 5e823ab263 am: 3d212804df
Remi NGUYEN VAN [Fri, 25 Jan 2019 06:28:54 +0000 (22:28 -0800)]
Merge "Fix IpClientTest" am: 5e823ab263 am: 3d212804df
am: 3b37567d12

Change-Id: If84e339670087d4484542801c361c7e70ee01793

5 years agoMerge "Fix IpClientTest" am: 5e823ab263
Remi NGUYEN VAN [Fri, 25 Jan 2019 06:19:45 +0000 (22:19 -0800)]
Merge "Fix IpClientTest" am: 5e823ab263
am: 3d212804df

Change-Id: Iaf861221325d914202f4d9d7f7d584b7bba7a774

5 years agoMerge "Fix IpClientTest"
Remi NGUYEN VAN [Fri, 25 Jan 2019 06:07:26 +0000 (22:07 -0800)]
Merge "Fix IpClientTest"
am: 5e823ab263

Change-Id: I25077d83d0821b9ba1449b7c1c716a44a71f7287

5 years agoRemove IpClient wrapper
Remi NGUYEN VAN [Fri, 25 Jan 2019 06:07:04 +0000 (15:07 +0900)]
Remove IpClient wrapper

The wrapper was useful to help clients migrate out of the old API, but
all clients are now migrated.
It also conflicts with IpClient in the NetworkStack on Go devices.

Test: Flashed, booted, WiFI works
Bug: 123371264
Change-Id: Ibf04ad9371a07d2c66c478547539ba41c540116f

5 years agoMerge "Fix a deadlock symptom between AM/WM"
Jeff Chang [Fri, 25 Jan 2019 06:03:35 +0000 (06:03 +0000)]
Merge "Fix a deadlock symptom between AM/WM"

5 years agoMerge "Add PermissionControllerManager.isApplicationQualifiedForRole()."
TreeHugger Robot [Fri, 25 Jan 2019 05:55:41 +0000 (05:55 +0000)]
Merge "Add PermissionControllerManager.isApplicationQualifiedForRole()."

5 years agoMerge "Fix IpClientTest"
Remi NGUYEN VAN [Fri, 25 Jan 2019 05:55:08 +0000 (05:55 +0000)]
Merge "Fix IpClientTest"

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 agoAdd PermissionControllerManager.isApplicationQualifiedForRole().
Hai Zhang [Thu, 24 Jan 2019 00:48:40 +0000 (16:48 -0800)]
Add PermissionControllerManager.isApplicationQualifiedForRole().

Settings DefaultAppShortcutPreference needs this info to determine
whether to show the shortcut to default apps on the app info page.

Bug: 110557011
Bug: 123238935
Test: manual
Change-Id: I3ffa62eb199ba9c761bf09a556443f685f6b6b50

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 agoAdd NFC Settings Panel API
Matthew Fritze [Wed, 23 Jan 2019 00:42:34 +0000 (16:42 -0800)]
Add NFC Settings Panel API

NFC Panel is the third Settings Panel, which hosts NFC related settings.
Currently the panel only holds the NFC slice, but is open to future
additions.

Test: atest SettingsPanelTest
Bug: 120142616
Change-Id: Ib9e36b6c645ecb8788c558f505197723836f4616

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