OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "AudioDeviceBroker in audio service"
Jean-Michel Trivi [Fri, 25 Jan 2019 22:31:09 +0000 (22:31 +0000)]
Merge "AudioDeviceBroker in audio service"

5 years ago[automerger skipped] Merge "[view compilation] Add separate compilation property...
Mathieu Chartier [Fri, 25 Jan 2019 22:24:48 +0000 (14:24 -0800)]
[automerger skipped] Merge "[view compilation] Add separate compilation property" am: 9343b88b43 am: 84d59ddcf9
am: 9ff145b7f5 -s ours
am skip reason: change_id Ica79ec076714f76d6ae75d398a2f62d7dd85a6a6 with SHA1 9e7a5f6078 is in history

Change-Id: I6167f0e950a9e405f3eaa7a4dc42d57225321cc5

5 years agoMerge "Add whitelist setting to proto dump util"
TreeHugger Robot [Fri, 25 Jan 2019 22:16:00 +0000 (22:16 +0000)]
Merge "Add whitelist setting to proto dump util"

5 years agoMerge "Add pullers for debugging."
Olivier Gaillard [Fri, 25 Jan 2019 22:15:33 +0000 (22:15 +0000)]
Merge "Add pullers for debugging."

5 years agoMerge "[view compilation] Add separate compilation property" am: 9343b88b43
Mathieu Chartier [Fri, 25 Jan 2019 22:14:21 +0000 (14:14 -0800)]
Merge "[view compilation] Add separate compilation property" am: 9343b88b43
am: 84d59ddcf9

Change-Id: I56ace17117e711fec7adca82d53929a3dd3f4770

5 years agoMerge "Add e2e tests for getstagedsessions for apex"
Abhijeet Kaur [Fri, 25 Jan 2019 22:08:00 +0000 (22:08 +0000)]
Merge "Add e2e tests for getstagedsessions for apex"

5 years agoMerge "[view compilation] Add separate compilation property"
Mathieu Chartier [Fri, 25 Jan 2019 22:05:20 +0000 (14:05 -0800)]
Merge "[view compilation] Add separate compilation property"
am: 9343b88b43

Change-Id: I2944873c615c6278507a39a78a5c0dec2f4104df

5 years agoMerge "De-duplicate entries written with AAPT2 convert"
TreeHugger Robot [Fri, 25 Jan 2019 22:03:49 +0000 (22:03 +0000)]
Merge "De-duplicate entries written with AAPT2 convert"

5 years agoMerge "Do not sleep if someone is paying attention"
Lucas Dupin [Fri, 25 Jan 2019 21:55:51 +0000 (21:55 +0000)]
Merge "Do not sleep if someone is paying attention"

5 years agoMerge "[view compilation] Add separate compilation property"
Mathieu Chartier [Fri, 25 Jan 2019 21:48:38 +0000 (21:48 +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.

(cherry picked from commit 9e7a5f6078536c7090269303bfbdbbaabda7b056)

Bug: 111895153
Test: manual
Exempt-From-Owner-Approval: Previously approved by owner

Merged-In: Ica79ec076714f76d6ae75d398a2f62d7dd85a6a6
Change-Id: Ica79ec076714f76d6ae75d398a2f62d7dd85a6a6

5 years agoMerge "Follow API guidelines in BugreportManager" am: 37aee80c76 am: 0dcbf78430
Nandana Dutt [Fri, 25 Jan 2019 21:41:18 +0000 (13:41 -0800)]
Merge "Follow API guidelines in BugreportManager" am: 37aee80c76 am: 0dcbf78430
am: 99d137b32a

Change-Id: Ibb61ae2f4f633744229b4b619205f396d2c3f8a8

5 years agoMerge "Follow API guidelines in BugreportManager" am: 37aee80c76
Nandana Dutt [Fri, 25 Jan 2019 21:29:23 +0000 (13:29 -0800)]
Merge "Follow API guidelines in BugreportManager" am: 37aee80c76
am: 0dcbf78430

Change-Id: I2664d2de3d1ad770faa9681275c030f976c90a21

5 years agoMerge "Follow API guidelines in BugreportManager"
Nandana Dutt [Fri, 25 Jan 2019 21:17:45 +0000 (13:17 -0800)]
Merge "Follow API guidelines in BugreportManager"
am: 37aee80c76

Change-Id: I2bb33876a9318cc347600726e9277cf71db9c75d

5 years agoMerge changes Ic00e9b8f,I59cf13ae
Josh Tsuji [Fri, 25 Jan 2019 21:14:40 +0000 (21:14 +0000)]
Merge changes Ic00e9b8f,I59cf13ae

* changes:
  Ignore two tests that sporadically fail due to DynamicAnimation quirks.
  Ensure the cutout is not null before trying to use it.

5 years agoMerge "IWYU"
TreeHugger Robot [Fri, 25 Jan 2019 21:13:38 +0000 (21:13 +0000)]
Merge "IWYU"

5 years agoMerge "Follow API guidelines in BugreportManager"
Treehugger Robot [Fri, 25 Jan 2019 21:04:55 +0000 (21:04 +0000)]
Merge "Follow API guidelines in BugreportManager"

5 years agoIgnore two tests that sporadically fail due to DynamicAnimation quirks.
Joshua Tsuji [Fri, 25 Jan 2019 21:01:26 +0000 (16:01 -0500)]
Ignore two tests that sporadically fail due to DynamicAnimation quirks.

Will test locally to try to reproduce the issue and fix the tests, but in the meantime I don't want to be blocking presubmit.

Test: Just adding @Ignore
Change-Id: Ic00e9b8f47be5ff5cc4d20c92bc415ee5adafba2

5 years agoMerge "Add new ImsException to better handle ImsService errors"
Brad Ebinger [Fri, 25 Jan 2019 21:02:02 +0000 (21:02 +0000)]
Merge "Add new ImsException to better handle ImsService errors"

5 years agoMerge "Use App Prediction Service to get share suggestions."
George Hodulik [Fri, 25 Jan 2019 20:56:34 +0000 (20:56 +0000)]
Merge "Use App Prediction Service to get share suggestions."

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 agoAudioDeviceBroker in audio service
Jean-Michel Trivi [Fri, 14 Sep 2018 23:01:28 +0000 (16:01 -0700)]
AudioDeviceBroker in audio service

New AudioDeviceBroker class running in audio service.
Has dedicated message loop for handling audio device
   connections and disconnections.
New helper classes for AudioDeviceBroker:
 - BtHelper for Bluetooth
 - AudioDeviceInventory to manage list of devices

Bug: 112863932
Test: media CTS + audio CTS Verifier
Change-Id: I3e8f662a9d82fa7245695888e14fac7f4fc6e728

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 agoAdd pullers for debugging.
Olivier Gaillard [Tue, 22 Jan 2019 15:03:41 +0000 (15:03 +0000)]
Add pullers for debugging.

These pullers return deterministic values so we'll be able to confirm
to validate the data easily server side locally.

For instance,
- the diff of the elapsed_clock_millis field should always be equal to the bucket size
- the diff of pull_count should always be one unless we hit the cache

Test: manual
Change-Id: I4fab30df287e90f8691740d90d87b67022b9c420

5 years agoDo not sleep if someone is paying attention
Lucas Dupin [Thu, 17 Jan 2019 02:52:30 +0000 (18:52 -0800)]
Do not sleep if someone is paying attention

Test: atest AttentionDetectorTest
Test: manual; let device sleep because of timeout (without attention)
Test: manual; let device sleep after maximum attention timeout
Test: manual; touch screen multiple times to avoid timeout
Bug: 111939367
Change-Id: Iafeea7569f84fce08888bc5b6d74ba02fb13fd04

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 agoUse App Prediction Service to get share suggestions.
George Hodulik [Fri, 18 Jan 2019 19:27:03 +0000 (11:27 -0800)]
Use App Prediction Service to get share suggestions.

Bug: 111701043
Test: Manual test with an AppPredictionService that just queries ShortcutManager.

Change-Id: I7faa904d0446e9045017d2dd893dd6b4dbee85a1

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 agoIWYU
Mike Reed [Fri, 25 Jan 2019 18:04:14 +0000 (13:04 -0500)]
IWYU

Trying to land https://skia-review.googlesource.com/c/skia/+/185460

Test: make

Change-Id: Ia1dd2fb6911d3e562e9c68e8ad03136f96b2d7c0

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 agoFollow API guidelines in BugreportManager
Nandana Dutt [Fri, 25 Jan 2019 14:31:05 +0000 (14:31 +0000)]
Follow API guidelines in BugreportManager

* Add an executor for callback
* Rename *listener to *callback
* Accept ParcelFileDescriptor.

Not changing the binder interface to accept ParcelFileDescriptor because
there seem to a bug in generated java code for "out"
ParcelFileDescriptors causing compilation errors.

BUG: 111441001
Test: Builds
Change-Id: I9caf91b504eacc3ab6ff23620f1d6ded51caee1a

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"