OSDN Git Service

android-x86/frameworks-base.git
5 years agoWrite active metrics to disk on all shutdown cases
jianjin [Fri, 29 Mar 2019 20:53:48 +0000 (13:53 -0700)]
Write active metrics to disk on all shutdown cases

Bug: 126132516
Fixes: 126132516
Test: manual tests
Change-Id: Ic0e897c57d0bf8b55167f185fa4ac80b1d672af0

5 years agoMerge "Manifest flag for apps to request sandboxing."
Jeff Sharkey [Fri, 29 Mar 2019 19:31:33 +0000 (19:31 +0000)]
Merge "Manifest flag for apps to request sandboxing."

5 years agoMerge "Change ProvisioningManager API as per review" am: 54fffdc876 am: 8dd52036bc
Brad Ebinger [Fri, 29 Mar 2019 19:10:22 +0000 (12:10 -0700)]
Merge "Change ProvisioningManager API as per review" am: 54fffdc876 am: 8dd52036bc
am: 8d6a06325b

Change-Id: Ib202ef3afd7c85150ba3b51bdbf16800593d18ed

5 years agoMerge "Minor change for async DNS API" am: 80be1b1127 am: 73b82e417b
Luke Huang [Fri, 29 Mar 2019 19:03:25 +0000 (12:03 -0700)]
Merge "Minor change for async DNS API" am: 80be1b1127 am: 73b82e417b
am: b0ae2647cb

Change-Id: Iebc2946e5705cfda16f44cb468804c2be385c02a

5 years agoMerge "[automerger skipped] Merge "Emergency Number format" am: e5709bf75f am: 9c9d14...
Android Build Merger (Role) [Fri, 29 Mar 2019 18:54:35 +0000 (18:54 +0000)]
Merge "[automerger skipped] Merge "Emergency Number format" am: e5709bf75f am: 9c9d146ab4 am: b18e114c41 -s ours am skip reason: change_id Icc9083ed4d6cdae22c3ede9433433ac8eeec4918 with SHA1 0197a96e8a is in history"

5 years agoMerge "Change ProvisioningManager API as per review" am: 54fffdc876
Brad Ebinger [Fri, 29 Mar 2019 18:53:54 +0000 (11:53 -0700)]
Merge "Change ProvisioningManager API as per review" am: 54fffdc876
am: 8dd52036bc

Change-Id: Ic4b23f973e880563a25be6daf7f482504a1326c6

5 years ago[automerger skipped] Merge "Emergency Number format" am: e5709bf75f am: 9c9d146ab4
Shuo Qian [Fri, 29 Mar 2019 18:53:29 +0000 (11:53 -0700)]
[automerger skipped] Merge "Emergency Number format" am: e5709bf75f am: 9c9d146ab4
am: b18e114c41 -s ours
am skip reason: change_id Icc9083ed4d6cdae22c3ede9433433ac8eeec4918 with SHA1 0197a96e8a is in history

Change-Id: I5f43a8cdbf9e30f646a82355a6a9945b6630fa90

5 years agoMerge changes from topic "car_user"
Keun-young Park [Fri, 29 Mar 2019 18:51:32 +0000 (18:51 +0000)]
Merge changes from topic "car_user"

* changes:
  Do not skip user starting for user 0
  Revert "Revert "Decide the current user after PHASE_THIRD_PARTY boot phase""

5 years agoMerge "Minor change for async DNS API" am: 80be1b1127
Luke Huang [Fri, 29 Mar 2019 18:48:51 +0000 (11:48 -0700)]
Merge "Minor change for async DNS API" am: 80be1b1127
am: 73b82e417b

Change-Id: If69e95dbb3cba98af84079506d898350f812a7de

5 years agoMerge "Change ProvisioningManager API as per review"
Brad Ebinger [Fri, 29 Mar 2019 18:42:42 +0000 (11:42 -0700)]
Merge "Change ProvisioningManager API as per review"
am: 54fffdc876

Change-Id: Ic108caf282809306a6f70e009055f6bc91b352c0

5 years agoMerge "Emergency Number format" am: e5709bf75f
Shuo Qian [Fri, 29 Mar 2019 18:39:42 +0000 (11:39 -0700)]
Merge "Emergency Number format" am: e5709bf75f
am: 9c9d146ab4

Change-Id: I5f06b1955814144fd2e86092bbb9b8b85cbf54c9

5 years agoMerge "Minor change for async DNS API"
Luke Huang [Fri, 29 Mar 2019 18:38:24 +0000 (11:38 -0700)]
Merge "Minor change for async DNS API"
am: 80be1b1127

Change-Id: I54a7695484b6523a92eaf246a4bb836fabc8957f

5 years agoMerge "Show updated labels for apps and DS in Sharesheet"
TreeHugger Robot [Fri, 29 Mar 2019 18:32:33 +0000 (18:32 +0000)]
Merge "Show updated labels for apps and DS in Sharesheet"

5 years agoMerge "Emergency Number format"
Shuo Qian [Fri, 29 Mar 2019 18:30:46 +0000 (11:30 -0700)]
Merge "Emergency Number format"
am: e5709bf75f

Change-Id: I335cd4ebe8974915f0af1162bdca42029b3afb98

5 years agoMerge "Change ProvisioningManager API as per review"
Brad Ebinger [Fri, 29 Mar 2019 18:23:35 +0000 (18:23 +0000)]
Merge "Change ProvisioningManager API as per review"

5 years agoMerge "Minor change for async DNS API"
Treehugger Robot [Fri, 29 Mar 2019 18:22:12 +0000 (18:22 +0000)]
Merge "Minor change for async DNS API"

5 years agoMerge "Check permissions and carrier privilege in notifyActiveDataSubIdChanged"
Shuo Qian [Fri, 29 Mar 2019 18:20:45 +0000 (18:20 +0000)]
Merge "Check permissions and carrier privilege in notifyActiveDataSubIdChanged"

5 years agoMerge "Emergency Number format"
Shuo Qian [Fri, 29 Mar 2019 18:11:26 +0000 (18:11 +0000)]
Merge "Emergency Number format"

5 years agoMerge "Update documentation for updateAvailableNetworks" am: ae1e2eef9e am: b2bd3984b3
Sooraj Sasindran [Fri, 29 Mar 2019 17:52:34 +0000 (10:52 -0700)]
Merge "Update documentation for updateAvailableNetworks" am: ae1e2eef9e am: b2bd3984b3
am: a438bd2611

Change-Id: Id2bfe5040f3457168c77b00d059265fc12f1b4e6

5 years agoMerge "Update documentation for updateAvailableNetworks" am: ae1e2eef9e
Sooraj Sasindran [Fri, 29 Mar 2019 17:43:35 +0000 (10:43 -0700)]
Merge "Update documentation for updateAvailableNetworks" am: ae1e2eef9e
am: b2bd3984b3

Change-Id: I7762e956b665b81b19bccf236576d11bc46e5356

5 years agoMerge "Update documentation for updateAvailableNetworks"
Sooraj Sasindran [Fri, 29 Mar 2019 17:34:48 +0000 (10:34 -0700)]
Merge "Update documentation for updateAvailableNetworks"
am: ae1e2eef9e

Change-Id: I2355bcc55f36a292302a630c2e04b902fdcf5c91

5 years agoMerge "Fix aapt2 badging return codes"
TreeHugger Robot [Fri, 29 Mar 2019 17:28:26 +0000 (17:28 +0000)]
Merge "Fix aapt2 badging return codes"

5 years agoMerge "Update header color for all bubbles"
Lucas Dupin [Fri, 29 Mar 2019 17:25:34 +0000 (17:25 +0000)]
Merge "Update header color for all bubbles"

5 years agoMerge "Update documentation for updateAvailableNetworks"
Sooraj Sasindran [Fri, 29 Mar 2019 17:21:54 +0000 (17:21 +0000)]
Merge "Update documentation for updateAvailableNetworks"

5 years agoMerge "Remove TODO which was already completed."
TreeHugger Robot [Fri, 29 Mar 2019 16:41:32 +0000 (16:41 +0000)]
Merge "Remove TODO which was already completed."

5 years agoMerge "Do not set AdbKeyStore to null when ADB is disabled"
Michael Groover [Fri, 29 Mar 2019 16:36:25 +0000 (16:36 +0000)]
Merge "Do not set AdbKeyStore to null when ADB is disabled"

5 years agoMerge "Fix crash in Vulkan WebView drawable when parent View has alpha"
TreeHugger Robot [Fri, 29 Mar 2019 16:15:22 +0000 (16:15 +0000)]
Merge "Fix crash in Vulkan WebView drawable when parent View has alpha"

5 years agoShow updated labels for apps and DS in Sharesheet
Mike Digman [Wed, 27 Mar 2019 21:55:26 +0000 (14:55 -0700)]
Show updated labels for apps and DS in Sharesheet

Shows activity and app label for all share targets except those
with the right permission. Shows 2 wrapping lines as a label for
all direct share targets. Brings grid item layout closer to spec.
Fixes several associated bugs.

Fixes: 125908050
Test: included label test, manual
Change-Id: I5c2cc0700b59911d79aebf2582176497c30bf85c

5 years agoMerge "Fix enqueued requests causing crashes"
Lucas Dupin [Fri, 29 Mar 2019 15:59:42 +0000 (15:59 +0000)]
Merge "Fix enqueued requests causing crashes"

5 years agoMerge "Move systemui preview icons into framework res."
TreeHugger Robot [Fri, 29 Mar 2019 15:53:36 +0000 (15:53 +0000)]
Merge "Move systemui preview icons into framework res."

5 years agoMerge "Add annotations"
TreeHugger Robot [Fri, 29 Mar 2019 15:46:12 +0000 (15:46 +0000)]
Merge "Add annotations"

5 years agoMerge "Unremove DnsResolver#query method used by external developers" am: 3dd6df002b...
Lorenzo Colitti [Fri, 29 Mar 2019 15:38:15 +0000 (08:38 -0700)]
Merge "Unremove DnsResolver#query method used by external developers" am: 3dd6df002b am: 3206b80bae
am: 2e58d5b4e5

Change-Id: Ibfba10cb92e63a7ae727f48543da040aa5f39116

5 years agoMerge "Noti importance from certain Roles cannot be modified"
Julia Reynolds [Fri, 29 Mar 2019 15:25:58 +0000 (15:25 +0000)]
Merge "Noti importance from certain Roles cannot be modified"

5 years agoMerge "Unremove DnsResolver#query method used by external developers" am: 3dd6df002b
Lorenzo Colitti [Fri, 29 Mar 2019 15:23:31 +0000 (08:23 -0700)]
Merge "Unremove DnsResolver#query method used by external developers" am: 3dd6df002b
am: 3206b80bae

Change-Id: I8c555bc94ec774ebaed4836db7fefece88556d16

5 years agoMerge "Show correct restriction enforcement info for unknown apps installs."
TreeHugger Robot [Fri, 29 Mar 2019 15:22:18 +0000 (15:22 +0000)]
Merge "Show correct restriction enforcement info for unknown apps installs."

5 years agoMerge "Fix SettingsProvider resets from Rescue Party."
Matt Pape [Fri, 29 Mar 2019 15:19:22 +0000 (15:19 +0000)]
Merge "Fix SettingsProvider resets from Rescue Party."

5 years agoMerge "Unremove DnsResolver#query method used by external developers"
Lorenzo Colitti [Fri, 29 Mar 2019 15:09:18 +0000 (08:09 -0700)]
Merge "Unremove DnsResolver#query method used by external developers"
am: 3dd6df002b

Change-Id: I0c8b5b5fe68b99cacc4da10ae27b69fcab8685b7

5 years agoMerge "Ensure the deferred callback does not finish next animation"
TreeHugger Robot [Fri, 29 Mar 2019 15:06:27 +0000 (15:06 +0000)]
Merge "Ensure the deferred callback does not finish next animation"

5 years agoMerge "OsuLogin: Show toast message when the sign-up is failed."
Ecco Park [Fri, 29 Mar 2019 15:02:07 +0000 (15:02 +0000)]
Merge "OsuLogin: Show toast message when the sign-up is failed."

5 years agoMerge "Refine calls related to process global configuration"
Jorim Jaggi [Fri, 29 Mar 2019 14:54:53 +0000 (14:54 +0000)]
Merge "Refine calls related to process global configuration"

5 years agoMerge "Checks package name belongs to called UID on some content capture methods."
Felipe Leme [Fri, 29 Mar 2019 14:52:02 +0000 (14:52 +0000)]
Merge "Checks package name belongs to called UID on some content capture methods."

5 years agoMerge "Unremove DnsResolver#query method used by external developers"
Lorenzo Colitti [Fri, 29 Mar 2019 14:46:11 +0000 (14:46 +0000)]
Merge "Unremove DnsResolver#query method used by external developers"

5 years agoMerge "Start a filesystem checkpoint when committing staged install."
Martijn Coenen [Fri, 29 Mar 2019 14:44:22 +0000 (14:44 +0000)]
Merge "Start a filesystem checkpoint when committing staged install."

5 years ago[automerger skipped] Merge "Fixed NPE in RankingHelper.writeXml. Make sure that mReco...
Ethan_Hu [Fri, 29 Mar 2019 14:36:45 +0000 (07:36 -0700)]
[automerger skipped] Merge "Fixed NPE in RankingHelper.writeXml. Make sure that mRecords is operated with the object lock." am: 51e5edcb9b am: 0eda9fd9dd
am: 3baf52c72c -s ours
am skip reason: change_id Ic7f676499425fe54453384d7c03de5d95c03a713 with SHA1 b24c62c9c9 is in history

Change-Id: I37b2a5f57464835fecc92992163c26cd5986c4fb

5 years agoRemove TODO which was already completed.
Stanislav Zholnin [Fri, 29 Mar 2019 14:36:14 +0000 (14:36 +0000)]
Remove TODO which was already completed.

Test: trivial change
Change-Id: I1cdb6d87e20d08dc17ea1f85da9490f27cdf7249

5 years agoMerge "Remove unnecessary dnd mode status bar icons."
TreeHugger Robot [Fri, 29 Mar 2019 14:29:19 +0000 (14:29 +0000)]
Merge "Remove unnecessary dnd mode status bar icons."

5 years agoMerge "Fixed NPE in RankingHelper.writeXml. Make sure that mRecords is operated with...
Ethan_Hu [Fri, 29 Mar 2019 14:27:29 +0000 (07:27 -0700)]
Merge "Fixed NPE in RankingHelper.writeXml. Make sure that mRecords is operated with the object lock." am: 51e5edcb9b
am: 0eda9fd9dd

Change-Id: Ia51be3f19a1e35ff9cbb27601a527014b2f0b1f8

5 years agoMerge "Fixed NPE in RankingHelper.writeXml. Make sure that mRecords is operated with...
Ethan_Hu [Fri, 29 Mar 2019 14:18:23 +0000 (07:18 -0700)]
Merge "Fixed NPE in RankingHelper.writeXml. Make sure that mRecords is operated with the object lock."
am: 51e5edcb9b

Change-Id: I4f57eb27caffbf6462dcad23660f05efce21e74e

5 years agoMerge "Fixed NPE in RankingHelper.writeXml. Make sure that mRecords is operated with...
Treehugger Robot [Fri, 29 Mar 2019 14:04:27 +0000 (14:04 +0000)]
Merge "Fixed NPE in RankingHelper.writeXml. Make sure that mRecords is operated with the object lock."

5 years agoMerge "TCMS: Trust the package name for requests by the system."
TreeHugger Robot [Fri, 29 Mar 2019 14:02:30 +0000 (14:02 +0000)]
Merge "TCMS: Trust the package name for requests by the system."

5 years agoMerge "Fixed issue where XmlPullParserExceptions are thrown with Theme defined Gradie...
TreeHugger Robot [Fri, 29 Mar 2019 14:01:30 +0000 (14:01 +0000)]
Merge "Fixed issue where XmlPullParserExceptions are thrown with Theme defined GradientDrawable attributes"

5 years agoMerge "Set last stack bounds to avoid updating the unchanged state"
TreeHugger Robot [Fri, 29 Mar 2019 13:59:00 +0000 (13:59 +0000)]
Merge "Set last stack bounds to avoid updating the unchanged state"

5 years agoFix crash in Vulkan WebView drawable when parent View has alpha
Stan Iliev [Fri, 22 Mar 2019 18:42:36 +0000 (14:42 -0400)]
Fix crash in Vulkan WebView drawable when parent View has alpha

HWUI uses SkPaintFilterCanvas to apply View alpha in nested draw
calls. This conflicts with new SkDrawable::snapGpuDrawHandler
API used by Vulkan WebView. The new API works only with GPU
device (see SkGpuDevice::drawDrawable), which SkPaintFilterCanvas
does not have (it uses SkNoPixelsDevice instead).
This CL uses new Skia API to find wrapped GPU canvas and
draw SkDrawable on it.
Improve SKP capture for Vulkan WebView to match GL.

Test: Ran Fandango app with Vulkan. Captured a SKP.
Bug: 128792554
Change-Id: I27040347dc25c799b4e75f50526f426e9e33b663

5 years agoAdd annotations
Todd Kennedy [Thu, 28 Mar 2019 21:31:19 +0000 (14:31 -0700)]
Add annotations

Fixes: 126701951
Test: It builds, it runs!
Change-Id: Ia464beb7121efddd716d81b4b72a5a017fbd96aa

5 years agoMerge "Move permissions from base to standard manifest"
TreeHugger Robot [Fri, 29 Mar 2019 13:37:20 +0000 (13:37 +0000)]
Merge "Move permissions from base to standard manifest"

5 years agoMerge "Merge "apf: Documentation improvements and code optimizations for keepalive...
Android Build Merger (Role) [Fri, 29 Mar 2019 13:35:48 +0000 (13:35 +0000)]
Merge "Merge "apf: Documentation improvements and code optimizations for keepalive filters" am: f5166d5527 am: 3eb37cda43 am: fcf00a95b0"

5 years agoMerge "apf: Documentation improvements and code optimizations for keepalive filters...
Aaron Huang [Fri, 29 Mar 2019 13:35:21 +0000 (06:35 -0700)]
Merge "apf: Documentation improvements and code optimizations for keepalive filters" am: f5166d5527 am: 3eb37cda43
am: fcf00a95b0

Change-Id: Ic0e693dcdf2033abc1e976d9cc18365792181571

5 years agoMerge "Update libraries on install"
TreeHugger Robot [Fri, 29 Mar 2019 13:32:26 +0000 (13:32 +0000)]
Merge "Update libraries on install"

5 years agoMerge "apf: Documentation improvements and code optimizations for keepalive filters...
Aaron Huang [Fri, 29 Mar 2019 13:25:48 +0000 (06:25 -0700)]
Merge "apf: Documentation improvements and code optimizations for keepalive filters" am: f5166d5527
am: 3eb37cda43

Change-Id: I98afa7c17c62c0550bf7f22b311815f6449ad139

5 years agoMerge "apf: Documentation improvements and code optimizations for keepalive filters"
Aaron Huang [Fri, 29 Mar 2019 13:16:36 +0000 (06:16 -0700)]
Merge "apf: Documentation improvements and code optimizations for keepalive filters"
am: f5166d5527

Change-Id: I9dea9a5a4013b5935178a49a6106a172c16c3612

5 years agoEnsure the deferred callback does not finish next animation
Riddle Hsu [Tue, 26 Mar 2019 14:56:53 +0000 (22:56 +0800)]
Ensure the deferred callback does not finish next animation

This fixes the timing that another animation is starting and the
previous deferred onFinished callback is invoked after that. It
will cause the next animation to use the released leash and then
crashes in onAnimationStart or onAnimationUpdate.

Bug: 124303221
Test: atest SurfaceAnimatorTest#testDeferFinishDoNotFinishNextAnimation

Change-Id: Ia04b8433ed6f9a9d88295b4986a5063c2271ca80

5 years agoFixed NPE in RankingHelper.writeXml.
Ethan_Hu [Tue, 5 Mar 2019 06:58:32 +0000 (14:58 +0800)]
Fixed NPE in RankingHelper.writeXml.
Make sure that mRecords is operated with the object lock.

Bug:127290258
Test: Repeat to upgrade the App targetversion from less than O to a later version
Change-Id: I70e61c0fcd3071f32a430d45441ffe1376147a5d
Signed-off-by: Ethan_Hu <huyuxin3818@gmail.com>
Merged-In: Ic7f676499425fe54453384d7c03de5d95c03a713

5 years agoMerge "apf: Documentation improvements and code optimizations for keepalive filters"
Aaron Huang [Fri, 29 Mar 2019 13:03:20 +0000 (13:03 +0000)]
Merge "apf: Documentation improvements and code optimizations for keepalive filters"

5 years agoNoti importance from certain Roles cannot be modified
Julia Reynolds [Wed, 27 Mar 2019 20:10:11 +0000 (16:10 -0400)]
Noti importance from certain Roles cannot be modified

by the notification assistant or user, like the default
phone app.

Fixes: 129358763
Test: atest
Change-Id: I40ef7ff403e2b0d81abe09f15c8804c2d3d2fb8a

5 years agoSet last stack bounds to avoid updating the unchanged state
Riddle Hsu [Fri, 29 Mar 2019 11:14:43 +0000 (19:14 +0800)]
Set last stack bounds to avoid updating the unchanged state

In the case of rotating camera to landscape, it reduces 25 times
unnecessary post.

Also removed unused PhoneWindowManager's ScreenshotHelper that
was migrated into DisplayPolicy.

Bug: 129389526
Test: go/wm-smoke

Change-Id: Idc3fb7ba7a4258ba69e2d97ed152db012c0e5cfa

5 years agoRemove unnecessary dnd mode status bar icons.
Amin Shaikh [Thu, 28 Mar 2019 18:03:48 +0000 (14:03 -0400)]
Remove unnecessary dnd mode status bar icons.

Bug: 129398746
Test: make
Change-Id: I8b0a71b99efc007673e33c24927deab030175db8

5 years agoMerge "Add NetworkStackTests dependency on libdl_android"
Remi NGUYEN VAN [Fri, 29 Mar 2019 11:21:07 +0000 (11:21 +0000)]
Merge "Add NetworkStackTests dependency on libdl_android"

5 years agoMerge "Update status bar icons to GM2"
TreeHugger Robot [Fri, 29 Mar 2019 10:27:53 +0000 (10:27 +0000)]
Merge "Update status bar icons to GM2"

5 years agoMinor change for async DNS API
Luke Huang [Fri, 29 Mar 2019 10:01:11 +0000 (18:01 +0800)]
Minor change for async DNS API

do the minor changes to address comments before

Bug: 129395490
Test: atest DnsResolverTest
Change-Id: I56e2e5bc4352ff5c979579247a333a41950079da

5 years agoUnremove DnsResolver#query method used by external developers
Luke Huang [Thu, 28 Mar 2019 05:56:31 +0000 (13:56 +0800)]
Unremove DnsResolver#query method used by external developers

This method was removed as part of addressing API council feedback in b/129261432
Add back previous DnsResolver#query which is already being used by developers.

Bug: 129395490
Test: atest DnsResolverTest

Change-Id: Ic956db204f3940d39d42e1b11dda39e57d356fad

5 years agoMerge "Add version attribute" am: 5dfc73b9af am: 755044bdab
Sundong Ahn [Fri, 29 Mar 2019 10:06:27 +0000 (03:06 -0700)]
Merge "Add version attribute" am: 5dfc73b9af am: 755044bdab
am: d328d2c04d

Change-Id: I4043d1bf70244fdf63e6ed099a794cb9ea49d024

5 years agoMerge "Merge changes from topic "default_permissions" am: 4dd28c02cd am: 51f25090a5...
Android Build Merger (Role) [Fri, 29 Mar 2019 09:53:28 +0000 (09:53 +0000)]
Merge "Merge changes from topic "default_permissions" am: 4dd28c02cd am: 51f25090a5 am: 2ccacf4269"

5 years agoMerge "Reduce the window tap exclude region for child above it"
Tiger Huang [Fri, 29 Mar 2019 09:53:06 +0000 (09:53 +0000)]
Merge "Reduce the window tap exclude region for child above it"

5 years agoMerge changes from topic "default_permissions" am: 4dd28c02cd am: 51f25090a5
Sundong Ahn [Fri, 29 Mar 2019 09:53:02 +0000 (02:53 -0700)]
Merge changes from topic "default_permissions" am: 4dd28c02cd am: 51f25090a5
am: 2ccacf4269

Change-Id: I69a2ecb191e639f1a7847ec17f2095933d22676f

5 years agoMerge "Add version attribute" am: 5dfc73b9af
Sundong Ahn [Fri, 29 Mar 2019 09:48:56 +0000 (02:48 -0700)]
Merge "Add version attribute" am: 5dfc73b9af
am: 755044bdab

Change-Id: I9bf2c56d421a8695db93a1e467e8a4e9316e9165

5 years agoMerge changes from topic "default_permissions" am: 4dd28c02cd
Sundong Ahn [Fri, 29 Mar 2019 09:43:26 +0000 (02:43 -0700)]
Merge changes from topic "default_permissions" am: 4dd28c02cd
am: 51f25090a5

Change-Id: Ib2249dbdc6ff9f5a51a9c4b2d573c8d51231795c

5 years agoMerge "Allow processes that are bound to by a currently foreground app to start activ...
Michal Karpinski [Fri, 29 Mar 2019 09:36:13 +0000 (09:36 +0000)]
Merge "Allow processes that are bound to by a currently foreground app to start activities from background"

5 years agoMerge "Add version attribute"
Sundong Ahn [Fri, 29 Mar 2019 09:36:10 +0000 (02:36 -0700)]
Merge "Add version attribute"
am: 5dfc73b9af

Change-Id: I074c0d33aaba94db75e7dc303904c2d9cdf26bcd

5 years agoMerge changes from topic "default_permissions"
Sundong Ahn [Fri, 29 Mar 2019 09:32:08 +0000 (02:32 -0700)]
Merge changes from topic "default_permissions"
am: 4dd28c02cd

Change-Id: I9c09fe88e0d5f36a13334a40bec17f8f8a530294

5 years agoMerge "Use IDnsResolver instead of INetd for resolver related binder commands" am...
Luke Huang [Fri, 29 Mar 2019 09:24:24 +0000 (02:24 -0700)]
Merge "Use IDnsResolver instead of INetd for resolver related binder commands" am: b9ef4dd299 am: 1711278ce2
am: ceb74821a3

Change-Id: I2d642b71df25934fddd8a1476b5d27457628b8e2

5 years agoMerge "Add version attribute"
Treehugger Robot [Fri, 29 Mar 2019 09:18:31 +0000 (09:18 +0000)]
Merge "Add version attribute"

5 years agoMerge changes from topic "default_permissions"
Treehugger Robot [Fri, 29 Mar 2019 09:18:13 +0000 (09:18 +0000)]
Merge changes from topic "default_permissions"

* changes:
  Change the package name
  Add maxOccurs

5 years agoMerge "Add getLocationFlags getter to PackageManagerNative."
Przemyslaw Szczepaniak [Fri, 29 Mar 2019 09:12:19 +0000 (09:12 +0000)]
Merge "Add getLocationFlags getter to PackageManagerNative."

5 years agoMerge "Use IDnsResolver instead of INetd for resolver related binder commands" am...
Luke Huang [Fri, 29 Mar 2019 09:10:55 +0000 (02:10 -0700)]
Merge "Use IDnsResolver instead of INetd for resolver related binder commands" am: b9ef4dd299
am: 1711278ce2

Change-Id: I80ae047bd65b654e01061a9f218be23e1e3ef2ed

5 years agoMerge "Use IDnsResolver instead of INetd for resolver related binder commands"
Luke Huang [Fri, 29 Mar 2019 08:57:44 +0000 (01:57 -0700)]
Merge "Use IDnsResolver instead of INetd for resolver related binder commands"
am: b9ef4dd299

Change-Id: Icca07604bc8f922c51493e72fde8c7377105bf8b

5 years agoMerge "Use IDnsResolver instead of INetd for resolver related binder commands"
Luke Huang [Fri, 29 Mar 2019 08:45:19 +0000 (08:45 +0000)]
Merge "Use IDnsResolver instead of INetd for resolver related binder commands"

5 years agoMove permissions from base to standard manifest
Remi NGUYEN VAN [Fri, 29 Mar 2019 06:33:07 +0000 (15:33 +0900)]
Move permissions from base to standard manifest

Permissions defined in AndroidManifest_Base.xml would be inherited in
AndroidManifest_InProcess.xml and cause issues on svelte builds, since
privileged permissions are not whitelisted for
com.android.networkstack.inprocess.

The network stack running in the system_server process does not need
these permissions anyway since it has system_server permissions.

Test: flashed, booted crosshatch_svelte-eng, WiFi works
Test: flashed, booted blueline-eng, WiFi works
Fixes: 129485310
(clean cherry-pick from aosp/937139)

Change-Id: Ica63ce586e701b1f2415a97f63ba27cc25e4830a

5 years agoAdd NetworkStackTests dependency on libdl_android
Remi NGUYEN VAN [Fri, 29 Mar 2019 05:49:02 +0000 (14:49 +0900)]
Add NetworkStackTests dependency on libdl_android

This fixes tests that were failing because of the unsatisfied
dependency.

Test: atest NetworkStackTests
Bug: 129387775
Change-Id: Ie0c1bc2b292ad7172d144d9e7ad9edeecd2232b7

5 years ago[automerger skipped] Merge "[KA09] add keepalive offload permission to shell" am...
Mark Chien [Fri, 29 Mar 2019 06:53:21 +0000 (23:53 -0700)]
[automerger skipped] Merge "[KA09] add keepalive offload permission to shell" am: bc350db984 am: b15da9fb19
am: 2be1be0426 -s ours
am skip reason: change_id Ib6660a5eaa72f83042596481452be4d415383f02 with SHA1 5e430e5a39 is in history

Change-Id: I15932279b389865001eb32fb0161914e65bc9450

5 years agoMerge "[KA09] add keepalive offload permission to shell" am: bc350db984
Mark Chien [Fri, 29 Mar 2019 06:43:45 +0000 (23:43 -0700)]
Merge "[KA09] add keepalive offload permission to shell" am: bc350db984
am: b15da9fb19

Change-Id: Ieab8acf24f294d758667230b5c07a6540419186d

5 years agoMerge "[KA09] add keepalive offload permission to shell"
Mark Chien [Fri, 29 Mar 2019 06:34:48 +0000 (23:34 -0700)]
Merge "[KA09] add keepalive offload permission to shell"
am: bc350db984

Change-Id: Ica5b5ec05731a7c840d1f7dd1534d532c524df04

5 years agoMerge "Implemented ContentCaptureConditions APIs."
Felipe Leme [Fri, 29 Mar 2019 06:20:49 +0000 (06:20 +0000)]
Merge "Implemented ContentCaptureConditions APIs."

5 years agoMerge "[KA09] add keepalive offload permission to shell"
Mark Chien [Fri, 29 Mar 2019 06:15:11 +0000 (06:15 +0000)]
Merge "[KA09] add keepalive offload permission to shell"

5 years agoMerge "scrub pii (imsi) from carrierIdentifier logging"
Chen Xu [Fri, 29 Mar 2019 05:37:54 +0000 (05:37 +0000)]
Merge "scrub pii (imsi) from carrierIdentifier logging"

5 years agoMerge "Make StatsLog drop less."
Yao Chen [Fri, 29 Mar 2019 05:28:49 +0000 (05:28 +0000)]
Merge "Make StatsLog drop less."

5 years agoMerge "[Smart Forwarding] Enable package/class entry in PARIS"
Bonian Chen [Fri, 29 Mar 2019 05:17:55 +0000 (05:17 +0000)]
Merge "[Smart Forwarding] Enable package/class entry in PARIS"

5 years agoRefine calls related to process global configuration
Yunfan Chen [Wed, 27 Mar 2019 09:35:06 +0000 (18:35 +0900)]
Refine calls related to process global configuration

updateFrom is an expensive method, and we want to avoid it if possible.
If a process has not register to any display as a configuration change
listener, we do not need to do the manual merge in getConfiguration.

Another improvement is, as getGlobalConfiguration returns the
mFullConfiguration itself without copy, getProcessGlobalConfiguration
should be safe to do the same thing. Remove the copy to furthur
accelerate the related calls. But make a copy before changing it in
getConfiguration.

Test: go/wm-smoke
Test: ddms shows a great performance improvement
Test: atest com.android.uibench.janktests.UiBenchJankTests
Bug: 129269005
Bug: 129389526
Change-Id: Ie560917d57932e58bf1db796814eb1c519706f35

5 years agoMerge "[KA09] add keepalive offload permission to shell"
Mark Chien [Fri, 29 Mar 2019 04:20:39 +0000 (04:20 +0000)]
Merge "[KA09] add keepalive offload permission to shell"

5 years agoMerge "Fix cancellation race problem for aysnc DNS API" am: 1859ae7e7d am: 391b3aa532
Luke Huang [Fri, 29 Mar 2019 04:18:41 +0000 (21:18 -0700)]
Merge "Fix cancellation race problem for aysnc DNS API" am: 1859ae7e7d am: 391b3aa532
am: 2cc1be3b5a

Change-Id: I4e10bfaa43a63cedd9fbddfc6f8bf8853c426eba

5 years agoMerge "Fix cancellation race problem for aysnc DNS API" am: 1859ae7e7d
Luke Huang [Fri, 29 Mar 2019 03:45:44 +0000 (20:45 -0700)]
Merge "Fix cancellation race problem for aysnc DNS API" am: 1859ae7e7d
am: 391b3aa532

Change-Id: I633a592c7f46162268a759f84a77211443e9a04e