OSDN Git Service

android-x86/frameworks-base.git
6 years agoUse PooledLambda in autofill code
Eugene Susla [Mon, 12 Feb 2018 22:33:15 +0000 (14:33 -0800)]
Use PooledLambda in autofill code

This replaces the usage of handler message types with PooledLambda

Bug: 73648631
Test: atest CtsAutoFillTestCases
Change-Id: I3be0870116489c0c831353fe4ab9abed3cac3a93

6 years agoMerge "fix picture-in-picture logging"
TreeHugger Robot [Tue, 20 Feb 2018 19:05:17 +0000 (19:05 +0000)]
Merge "fix picture-in-picture logging"

6 years agoMerge "Finish unlocking user before touching apps."
Jeff Sharkey [Tue, 20 Feb 2018 18:59:51 +0000 (18:59 +0000)]
Merge "Finish unlocking user before touching apps."

6 years agoMerge changes Iff58235b,I1ea44917
TreeHugger Robot [Tue, 20 Feb 2018 18:59:50 +0000 (18:59 +0000)]
Merge changes Iff58235b,I1ea44917

* changes:
  DisplayCutout: account for cutout in appWidth/appHeight etc.
  DisplayCutout: Dispatch all non-zero safeInsets

6 years agoMerge "Logging prox sensor entry point and screen state"
Lucas Dupin [Tue, 20 Feb 2018 18:54:36 +0000 (18:54 +0000)]
Merge "Logging prox sensor entry point and screen state"

6 years agoMerge "Log deferred jobs metrics to batterystats"
TreeHugger Robot [Tue, 20 Feb 2018 18:52:24 +0000 (18:52 +0000)]
Merge "Log deferred jobs metrics to batterystats"

6 years agoMerge "APIs to watch active op changes"
TreeHugger Robot [Tue, 20 Feb 2018 18:46:57 +0000 (18:46 +0000)]
Merge "APIs to watch active op changes"

6 years agoMerge "Add Notification.Action.SEMANTIC_ACTION_CALL"
Kodlee Yin [Tue, 20 Feb 2018 18:39:19 +0000 (18:39 +0000)]
Merge "Add Notification.Action.SEMANTIC_ACTION_CALL"

6 years agoMerge "Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 646773f4ef ...
Android Build Merger (Role) [Tue, 20 Feb 2018 18:32:39 +0000 (18:32 +0000)]
Merge "Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 646773f4ef  -s ours am: eeaa000ce3  -s ours"

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 646773f4ef -s ours
Bill Yi [Tue, 20 Feb 2018 18:32:18 +0000 (18:32 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 646773f4ef  -s ours
am: eeaa000ce3  -s ours

Change-Id: Ibb2ed0a33e9e1c46a780c606b0aed991fae90f5f

6 years agoMerge "Add OWNERS for webview directories in framework."
TreeHugger Robot [Tue, 20 Feb 2018 18:32:14 +0000 (18:32 +0000)]
Merge "Add OWNERS for webview directories in framework."

6 years agoMerge "Revert "Log the apk optimization state in the MetricsLogger""
Narayan Kamath [Tue, 20 Feb 2018 18:17:34 +0000 (18:17 +0000)]
Merge "Revert "Log the apk optimization state in the MetricsLogger""

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Tue, 20 Feb 2018 18:14:20 +0000 (18:14 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: 646773f4ef  -s ours

Change-Id: If7c5be44c3912e481e85103c0b6bc9f11f08381a

6 years agoMerge "Remove Skia RenderPipeline saveLayer logic for software layers."
TreeHugger Robot [Tue, 20 Feb 2018 18:09:04 +0000 (18:09 +0000)]
Merge "Remove Skia RenderPipeline saveLayer logic for software layers."

6 years agoMerge "AudioService: Allow specification of the USB safe volume."
John Muir [Tue, 20 Feb 2018 18:06:51 +0000 (18:06 +0000)]
Merge "AudioService: Allow specification of the USB safe volume."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 20 Feb 2018 18:06:22 +0000 (18:06 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Tue, 20 Feb 2018 18:01:54 +0000 (18:01 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Skip repositioning home stack for recents animation if already visible"
Winson Chung [Tue, 20 Feb 2018 18:00:34 +0000 (18:00 +0000)]
Merge "Skip repositioning home stack for recents animation if already visible"

6 years agoMerge "Get text positions from transformed text"
Phil Weaver [Tue, 20 Feb 2018 17:32:27 +0000 (17:32 +0000)]
Merge "Get text positions from transformed text"

6 years agoRevert "Log the apk optimization state in the MetricsLogger"
Narayan Kamath [Tue, 20 Feb 2018 17:06:21 +0000 (17:06 +0000)]
Revert "Log the apk optimization state in the MetricsLogger"

This reverts commit 0a8bea818c330d02161322901534992253a2f9ee.

E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: ActivityManager
E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.android.server.am.ProcessRecord.requiredAbi' on a null object reference
E AndroidRuntime:        at com.android.server.am.ActivityMetricsLogger.logAppTransition(ActivityMetricsLogger.java:504)
E AndroidRuntime:        at com.android.server.am.ActivityMetricsLogger.access$100(ActivityMetricsLogger.java:62)

Bug: 73626352
Change-Id: Idd50e0d2cf34e5393b4ae76ef8bc48b0067532eb

6 years agoDisplayCutout: account for cutout in appWidth/appHeight etc.
Adrian Roos [Mon, 19 Feb 2018 17:06:36 +0000 (18:06 +0100)]
DisplayCutout: account for cutout in appWidth/appHeight etc.

Makes sure to take into account the area blocked by the cutout when
calculating the nonDecor / config / stable insets, widths and heights.

Fixes: 72995358
Fixes: 72444324
Test: atest PhoneWindowManagerInsetsTest
Test: go/wm-smoke
Test: Enter splitscreen, verify that both windows are same size

Change-Id: Iff58235b5bdfd0d49df259a91b05e54e3864f41c

6 years agoDisplayCutout: Dispatch all non-zero safeInsets
Adrian Roos [Mon, 19 Feb 2018 15:26:15 +0000 (16:26 +0100)]
DisplayCutout: Dispatch all non-zero safeInsets

Ensures that even if the display cutout does not overlap
a window, the safe insets are still dispatched if the window
overlaps any part of the cutout area and the safe insets
are therefore non-zero.

To do that, we need to compute the insets once against the
display size, then only shrink or expand the safe insets
accordingly.

Bug: 73533636
Test: atest DisplayCutoutTest
Change-Id: I1ea449178e29c7effdd92cac78af1a3875ca7e70

6 years agoMerge "Implement AnimatedImageDrawable.getColorFilter"
TreeHugger Robot [Tue, 20 Feb 2018 17:04:14 +0000 (17:04 +0000)]
Merge "Implement AnimatedImageDrawable.getColorFilter"

6 years agoMerge "Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks...
Android Build Merger (Role) [Tue, 20 Feb 2018 16:24:21 +0000 (16:24 +0000)]
Merge "Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks" am: 4a8fa52e4b am: b459c66fca am: 7bfadcb095  -s ours"

6 years agoMerge "Add flag to AMS.startInstrumentation() to disable hidden API checks" am: 4a8fa...
David Brazdil [Tue, 20 Feb 2018 16:23:57 +0000 (16:23 +0000)]
Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks" am: 4a8fa52e4b am: b459c66fca
am: 7bfadcb095  -s ours

Change-Id: I5f6f863b8e867246a1c7ce9cd2b45126a751916e

6 years agoMerge "Define sane default target SDK for system_server."
Jeff Sharkey [Tue, 20 Feb 2018 16:23:12 +0000 (16:23 +0000)]
Merge "Define sane default target SDK for system_server."

6 years agoMerge "Add flag to AMS.startInstrumentation() to disable hidden API checks" am: 4a8fa...
David Brazdil [Tue, 20 Feb 2018 16:08:41 +0000 (16:08 +0000)]
Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks" am: 4a8fa52e4b
am: b459c66fca

Change-Id: Ic9aac96f55b4eb947b5af78a6b8482638a806ae5

6 years agoRemove Skia RenderPipeline saveLayer logic for software layers.
Derek Sollenberger [Fri, 16 Feb 2018 17:24:13 +0000 (12:24 -0500)]
Remove Skia RenderPipeline saveLayer logic for software layers.

Test: CtsUiRenderingTestCases:LayerTests
Bug: 72052698
Change-Id: Ief845c409755e6bc61849a6ab3506ef60161f231

6 years agoMerge "Add flag to AMS.startInstrumentation() to disable hidden API checks"
David Brazdil [Tue, 20 Feb 2018 15:54:28 +0000 (15:54 +0000)]
Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks"
am: 4a8fa52e4b

Change-Id: Ie94241b7b44a98fea1753f7aa58475384cb33800

6 years agoAdd OWNERS for webview directories in framework.
Torne (Richard Coles) [Fri, 16 Feb 2018 22:03:58 +0000 (17:03 -0500)]
Add OWNERS for webview directories in framework.

Bug: 73450992
Test: N/A
Change-Id: I20e186eca8b02fa4e2d0eb729b94df8a36983906

6 years agoMerge "Add flag to AMS.startInstrumentation() to disable hidden API checks"
David Brazdil [Tue, 20 Feb 2018 14:36:18 +0000 (14:36 +0000)]
Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks"

6 years agoOne more API on hidden API light greylist
David Brazdil [Tue, 20 Feb 2018 11:59:10 +0000 (11:59 +0000)]
One more API on hidden API light greylist

Report from the wild.

Bug: 64382372
Test: make
Change-Id: Ia7285fc5240df1e3142a162f5bf71870383f3020

6 years agoMerge "Add more hidden APIs to light greylist"
David Brazdil [Tue, 20 Feb 2018 10:42:44 +0000 (10:42 +0000)]
Merge "Add more hidden APIs to light greylist"

6 years agoMerge changes from topic "am-b69199ef-52eb-434d-a231-8cb19da641fc" into oc-dev am...
Bill Yi [Tue, 20 Feb 2018 08:17:28 +0000 (08:17 +0000)]
Merge changes from topic "am-b69199ef-52eb-434d-a231-8cb19da641fc" into oc-dev am: a1f536e00e am: ff1a55a207 am: 7252081be1
am: fe7521ecca

Change-Id: I212fd4675925150eaa8a0c5924cdb69a3d3d217a

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped...
Bill Yi [Tue, 20 Feb 2018 08:10:49 +0000 (08:10 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped: 2aaa34b639 am: 7b73069b0a  -s ours am: 6f40fc77e6  -s ours am: a3f97b668e  -s ours
am: ed3436a913  -s ours

Change-Id: I8063b812dc34e55df61493bf6f3729940611293d

6 years agoMerge changes from topic "am-8dbc037c-490f-442d-957b-fea681fe1136" into oc-dev am...
Bill Yi [Tue, 20 Feb 2018 08:03:38 +0000 (08:03 +0000)]
Merge changes from topic "am-8dbc037c-490f-442d-957b-fea681fe1136" into oc-dev am: dd05e2d932 am: ea5b2a818d am: 5b8e6195a0
am: 154ba3eab6

Change-Id: I3ac71e5c857402e87742919feb827b44927b5e3e

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped...
Bill Yi [Tue, 20 Feb 2018 07:56:37 +0000 (07:56 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped: 0b7e5c37cc am: 023ae30cdd  -s ours am: 16e78b6dc1  -s ours am: e16f27b3fc  -s ours
am: f51aec6663  -s ours

Change-Id: I9345950b20a948a368814b88520527d6096a4cf3

6 years agoMerge changes from topic "am-b69199ef-52eb-434d-a231-8cb19da641fc" into oc-dev am...
Bill Yi [Tue, 20 Feb 2018 07:47:19 +0000 (07:47 +0000)]
Merge changes from topic "am-b69199ef-52eb-434d-a231-8cb19da641fc" into oc-dev am: a1f536e00e am: ff1a55a207
am: 7252081be1

Change-Id: I3ab38999b143631c39cd25a2e21b4d6ad766a486

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped...
Bill Yi [Tue, 20 Feb 2018 07:41:05 +0000 (07:41 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped: 2aaa34b639 am: 7b73069b0a  -s ours am: 6f40fc77e6  -s ours
am: a3f97b668e  -s ours

Change-Id: I5da2857e1fd4ea8db5053d5658b3b07c00f05fd0

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 20 Feb 2018 06:09:16 +0000 (22:09 -0800)]
Import translations. DO NOT MERGE

Change-Id: Icb6608011b183f92dbdce57dfb6b5cdafff897ff
Auto-generated-cl: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 20 Feb 2018 05:39:40 +0000 (21:39 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2f3e741047207c9948bbda977800e4a10b5797c1

6 years agoMerge changes from topic "am-8dbc037c-490f-442d-957b-fea681fe1136" into oc-dev am...
Bill Yi [Tue, 20 Feb 2018 05:26:01 +0000 (05:26 +0000)]
Merge changes from topic "am-8dbc037c-490f-442d-957b-fea681fe1136" into oc-dev am: dd05e2d932 am: ea5b2a818d
am: 5b8e6195a0

Change-Id: I34e8850eaa89f769957fa5b17f4d5cc823871292

6 years agoMerge changes from topic "am-b69199ef-52eb-434d-a231-8cb19da641fc" into oc-dev am...
Bill Yi [Tue, 20 Feb 2018 05:25:11 +0000 (05:25 +0000)]
Merge changes from topic "am-b69199ef-52eb-434d-a231-8cb19da641fc" into oc-dev am: a1f536e00e
am: ff1a55a207

Change-Id: Ibcd4efc7c50a91c6dd401436a2d82171793e0e6b

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8 skipped...
Bill Yi [Tue, 20 Feb 2018 05:21:34 +0000 (05:21 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8 skipped: baff683653 am: 42e8a0c2de  -s ours am: da0d89bf92  -s ours am: f81de61e4e  -s ours
am: 71d384212a  -s ours

Change-Id: Ic5edfa45b9cf7af152ae9e6ab3d5317998e32c51

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped...
Bill Yi [Tue, 20 Feb 2018 05:19:47 +0000 (05:19 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped: 2aaa34b639 am: 7b73069b0a  -s ours
am: 6f40fc77e6  -s ours

Change-Id: I9f0d46d5dcd235ab83f52cfe6b21ad780d8404c5

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped...
Bill Yi [Tue, 20 Feb 2018 05:19:44 +0000 (05:19 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped: 0b7e5c37cc am: 023ae30cdd  -s ours am: 16e78b6dc1  -s ours
am: e16f27b3fc  -s ours

Change-Id: Ib6702b93752a79c08d16bf5035435f14b7e0c350

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8 skipped...
Bill Yi [Tue, 20 Feb 2018 05:13:43 +0000 (05:13 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8 skipped: baff683653 am: 42e8a0c2de  -s ours am: da0d89bf92  -s ours
am: f81de61e4e  -s ours

Change-Id: I37cf66df3213345c876db85f399dfb7c82f917bb

6 years agoMerge changes from topic "am-8dbc037c-490f-442d-957b-fea681fe1136" into oc-dev am...
Bill Yi [Tue, 20 Feb 2018 05:12:59 +0000 (05:12 +0000)]
Merge changes from topic "am-8dbc037c-490f-442d-957b-fea681fe1136" into oc-dev am: dd05e2d932
am: ea5b2a818d

Change-Id: I824e17d5fcf0fcd7865d151a7d32b4991f045399

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 20 Feb 2018 05:11:01 +0000 (05:11 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge changes from topic "am-b69199ef-52eb-434d-a231-8cb19da641fc" into oc-dev
Bill Yi [Tue, 20 Feb 2018 05:09:31 +0000 (05:09 +0000)]
Merge changes from topic "am-b69199ef-52eb-434d-a231-8cb19da641fc" into oc-dev
am: a1f536e00e

Change-Id: Ic19ff34e840d35ea8e93305b8b323c9bdb81b058

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped...
Bill Yi [Tue, 20 Feb 2018 05:08:15 +0000 (05:08 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped: 2aaa34b639
am: 7b73069b0a  -s ours

Change-Id: I93eef5aeb3e029a70f602c145604a3320c219ddf

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped...
Bill Yi [Tue, 20 Feb 2018 05:08:10 +0000 (05:08 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped: 0b7e5c37cc am: 023ae30cdd  -s ours
am: 16e78b6dc1  -s ours

Change-Id: I67ed476e1375dba6a1c5864f561498c9e259c052

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8 skipped...
Bill Yi [Tue, 20 Feb 2018 05:03:09 +0000 (05:03 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8 skipped: baff683653 am: 42e8a0c2de  -s ours
am: da0d89bf92  -s ours

Change-Id: I76ad6438afad284c3eed8d4a86111870865a7253

6 years agoMerge changes from topic "am-8dbc037c-490f-442d-957b-fea681fe1136" into oc-dev
Bill Yi [Tue, 20 Feb 2018 05:02:56 +0000 (05:02 +0000)]
Merge changes from topic "am-8dbc037c-490f-442d-957b-fea681fe1136" into oc-dev
am: dd05e2d932

Change-Id: I149351dee948b64a4ee4de1512ea98d7692afdf6

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped...
Bill Yi [Tue, 20 Feb 2018 05:01:34 +0000 (05:01 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped: 0b7e5c37cc
am: 023ae30cdd  -s ours

Change-Id: Id625fa8ab91f53283f0e5985f13141e54d2dfe8e

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8 skipped...
Bill Yi [Tue, 20 Feb 2018 04:56:46 +0000 (04:56 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8 skipped: baff683653
am: 42e8a0c2de  -s ours

Change-Id: I21df47ac8511c2003fa9dd0c07065cb8f7cb8b28

6 years agoMerge changes from topic "am-b69199ef-52eb-434d-a231-8cb19da641fc" into oc-dev
TreeHugger Robot [Tue, 20 Feb 2018 04:54:20 +0000 (04:54 +0000)]
Merge changes from topic "am-b69199ef-52eb-434d-a231-8cb19da641fc" into oc-dev

* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped: 2aaa34b639
  [automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2
  Import translations. DO NOT MERGE

6 years agoMerge changes from topic "am-8dbc037c-490f-442d-957b-fea681fe1136" into oc-dev
TreeHugger Robot [Tue, 20 Feb 2018 04:53:51 +0000 (04:53 +0000)]
Merge changes from topic "am-8dbc037c-490f-442d-957b-fea681fe1136" into oc-dev

* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped: 0b7e5c37cc
  [automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd
  Import translations. DO NOT MERGE

6 years agoMerge "Remove QS scrolling."
TreeHugger Robot [Tue, 20 Feb 2018 03:46:22 +0000 (03:46 +0000)]
Merge "Remove QS scrolling."

6 years agoChange libmojo_bp to libmojo
Risan [Mon, 19 Feb 2018 07:22:10 +0000 (16:22 +0900)]
Change libmojo_bp to libmojo

Cleaning up since we have libmojo Android.bp target now.

Bug: 72927715
Test: Compiled
Change-Id: I6350ce53c6b97a2c43d53a45b8634bdc27409ab6

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Feb 2018 23:45:45 +0000 (15:45 -0800)]
Import translations. DO NOT MERGE

Change-Id: Icb14c173e66c9bb9cfa41c2a733c1b3ea121f0e3
Auto-generated-cl: translation import

6 years agoFinish unlocking user before touching apps.
Jeff Sharkey [Mon, 19 Feb 2018 23:30:17 +0000 (16:30 -0700)]
Finish unlocking user before touching apps.

Direct Boot unaware apps can end up calling back into the system,
racing with us pushing the user into the UNLOCKED state.  So make
sure we get the user actually UNLOCKED before telling apps that
we're unlocked.

Test: builds, boots
Bug: 73606555
Change-Id: I1501283f80a84d850364a5fc0e119893726618fa

6 years agoAdd more hidden APIs to light greylist
David Brazdil [Mon, 19 Feb 2018 17:21:46 +0000 (17:21 +0000)]
Add more hidden APIs to light greylist

Seen in use by common apps.

Bug: 73539503
Test: make
Change-Id: Iccbddb4c0d39f94f4152cdbbfb7c9017c29cf46f

6 years agoDefine sane default target SDK for system_server.
Jeff Sharkey [Sat, 17 Feb 2018 00:25:14 +0000 (17:25 -0700)]
Define sane default target SDK for system_server.

Normal app launches always define a target SDK, but system_server
doesn't pass in an "--target-sdk-version" option, meaning we left
the default value target SDK of "0" in place, which isn't a valid
SDK level, meaning we treat it as targeting Android 1.0.

The majority of target SDK checks are using the higher-level value
provided from Context, meaning they've always been enforced; this
change means that we're now applying lower-level target SDK checks
that go through VMRuntime.

Test: builds, boots, typical operations still work
Bug: 72331067
Change-Id: I6940bb8c3a1cd2234bcacadbf60c902625876a76

6 years agoMerge "Add tracing tags to vibrator"
TreeHugger Robot [Mon, 19 Feb 2018 21:38:23 +0000 (21:38 +0000)]
Merge "Add tracing tags to vibrator"

6 years agoMerge "Log the apk optimization state in the MetricsLogger"
Calin Juravle [Mon, 19 Feb 2018 19:36:08 +0000 (19:36 +0000)]
Merge "Log the apk optimization state in the MetricsLogger"

6 years agoMerge "GlobalActions: Fix scrim with display cutouts"
TreeHugger Robot [Mon, 19 Feb 2018 17:37:24 +0000 (17:37 +0000)]
Merge "GlobalActions: Fix scrim with display cutouts"

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped...
Android Build Merger (Role) [Mon, 19 Feb 2018 17:17:18 +0000 (17:17 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd skipped: 0b7e5c37cc

Change-Id: Ie880a7487ed875a62e4fab4974da4a35d3c6b8b4

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd
Android Build Merger (Role) [Mon, 19 Feb 2018 17:17:12 +0000 (17:17 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: fb5d1738dd

Change-Id: I70b8b1c9fab0c7ae88a9a5f839ee411b28fd4f19

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Feb 2018 17:16:47 +0000 (09:16 -0800)]
Import translations. DO NOT MERGE

Change-Id: I2e31731c8393cbcd58b57cc4092d14626e60af8b
Auto-generated-cl: translation import

6 years agoMerge "Turn on DepAnn for test-base and test-runner" am: 8dbbc3543e am: 38a916fb74
Paul Duffin [Mon, 19 Feb 2018 16:45:03 +0000 (16:45 +0000)]
Merge "Turn on DepAnn for test-base and test-runner" am: 8dbbc3543e am: 38a916fb74
am: 01bdda9de8

Change-Id: I6805f692437719838bef7a4b7e51b3130d6f384e

6 years agoMerge "Turn on DepAnn for test-base and test-runner" am: 8dbbc3543e
Paul Duffin [Mon, 19 Feb 2018 16:34:08 +0000 (16:34 +0000)]
Merge "Turn on DepAnn for test-base and test-runner" am: 8dbbc3543e
am: 38a916fb74

Change-Id: I6508127afc4434f33533c2dd13db17db092e9788

6 years agoMerge "Turn on DepAnn for test-base and test-runner"
Paul Duffin [Mon, 19 Feb 2018 16:24:57 +0000 (16:24 +0000)]
Merge "Turn on DepAnn for test-base and test-runner"
am: 8dbbc3543e

Change-Id: Ia6fe0967f92b382042326c288d175c4f60b63190

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8 skipped...
Android Build Merger (Role) [Mon, 19 Feb 2018 16:08:26 +0000 (16:08 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8 skipped: baff683653

Change-Id: Ie898f10574d4deb9d465e70803b1b6f24e69e867

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8
Android Build Merger (Role) [Mon, 19 Feb 2018 16:08:19 +0000 (16:08 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: a4513689c8

Change-Id: Ib38e6fcc936beb2c72afb46b6e302b4ca261ce14

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Feb 2018 16:07:44 +0000 (08:07 -0800)]
Import translations. DO NOT MERGE

Change-Id: I1b9d68a390483f6259a7eb05a2e337af617896b6
Auto-generated-cl: translation import

6 years agoGlobalActions: Fix scrim with display cutouts
Adrian Roos [Mon, 19 Feb 2018 15:42:27 +0000 (16:42 +0100)]
GlobalActions: Fix scrim with display cutouts

Fixes an issue where the GlobalActions scrim would not extend
under the display cutout.

Change-Id: I307ccf400b6db5a5569546cfc2fb64cd64ed2e61
Fixes: 73483285
Test: Enable display cutout; long press power; verify scrim extends under the cutout (and over the statusbar)

6 years agoAdd flag to AMS.startInstrumentation() to disable hidden API checks
David Brazdil [Mon, 19 Feb 2018 15:39:15 +0000 (15:39 +0000)]
Add flag to AMS.startInstrumentation() to disable hidden API checks

Some tests need to use hidden APIs to check the internal state of
the framework. For those special use cases, we add a new flag to
ActivityManagerService.startInstrumentation that enables to start
instrumented processes without hidden API enforcement. Individual
test harnesses can change their Am command to request the exemption.

Bug: 64382372
Test: adb shell am instrument --no-hidden-api-checks <component>
      adb logcat | grep 'Accessing hidden'
Merged-In: I1d734a95423fae90dae63ff09d5f606495830905
Change-Id: Ifbb0d19d95737a9f601b11e20352cdc11f0ca5b6

6 years agoMerge "Fixing URL encoding of geo intent links"
TreeHugger Robot [Mon, 19 Feb 2018 15:18:42 +0000 (15:18 +0000)]
Merge "Fixing URL encoding of geo intent links"

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped...
Android Build Merger (Role) [Mon, 19 Feb 2018 15:09:11 +0000 (15:09 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2 skipped: 2aaa34b639

Change-Id: I0ed2f3e40aeaaff5acfbbef02155450747169397

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2
Android Build Merger (Role) [Mon, 19 Feb 2018 15:09:03 +0000 (15:09 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 4c87ffeae2

Change-Id: I89781e9b815f8fdee167b1427aec4dee233f5530

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Feb 2018 15:08:29 +0000 (07:08 -0800)]
Import translations. DO NOT MERGE

Change-Id: I6076b206d8c838472c2c958d521ece8038e10206
Auto-generated-cl: translation import

6 years agoMerge "Fix TransferOwnershipMetadataManager tests."
TreeHugger Robot [Mon, 19 Feb 2018 14:52:51 +0000 (14:52 +0000)]
Merge "Fix TransferOwnershipMetadataManager tests."

6 years agoFix TransferOwnershipMetadataManager tests.
arangelov [Fri, 16 Feb 2018 19:13:01 +0000 (19:13 +0000)]
Fix TransferOwnershipMetadataManager tests.

Test: bit FrameworksServicesTests:com.android.server.devicepolicy.TransferOwnershipMetadataManagerTest
Bug: 73448505
Change-Id: I06fc52b13ed27a77213cfb3b15dff3f7161f5be0

6 years agoMerge "Turn on DepAnn for test-base and test-runner"
Paul Duffin [Mon, 19 Feb 2018 13:03:56 +0000 (13:03 +0000)]
Merge "Turn on DepAnn for test-base and test-runner"

6 years agoFixing URL encoding of geo intent links
Jan Althaus [Mon, 12 Feb 2018 11:47:27 +0000 (12:47 +0100)]
Fixing URL encoding of geo intent links

Bug: 73106770
Test: Added test and manually verified
Change-Id: Ia86450e1f6721cd50567628e4dcdcc34bca0bdf7

6 years agoMerge "TextClassifier: Support service intents."
TreeHugger Robot [Mon, 19 Feb 2018 11:04:16 +0000 (11:04 +0000)]
Merge "TextClassifier: Support service intents."

6 years agoMerge "AAPT2: normalize Manifest java identifiers."
TreeHugger Robot [Mon, 19 Feb 2018 10:42:35 +0000 (10:42 +0000)]
Merge "AAPT2: normalize Manifest java identifiers."

6 years agoMerge changes Ic28c5653,Ic635f97b am: 1ea3d9411a am: 27dbc898dc
Chalard Jean [Mon, 19 Feb 2018 08:36:01 +0000 (08:36 +0000)]
Merge changes Ic28c5653,Ic635f97b am: 1ea3d9411a am: 27dbc898dc
am: bb186ddfb4

Change-Id: Ieea9917b3a68e08686c74ebf39e5fed61f641a7a

6 years agoMerge changes Ic28c5653,Ic635f97b am: 1ea3d9411a
Chalard Jean [Mon, 19 Feb 2018 08:24:47 +0000 (08:24 +0000)]
Merge changes Ic28c5653,Ic635f97b am: 1ea3d9411a
am: 27dbc898dc

Change-Id: I6596fae1946bffade125a14b3bd095eda557a7a5

6 years agoMerge changes Ic28c5653,Ic635f97b
Chalard Jean [Mon, 19 Feb 2018 08:14:19 +0000 (08:14 +0000)]
Merge changes Ic28c5653,Ic635f97b
am: 1ea3d9411a

Change-Id: I38218d8652ec36f2ea076a6806df883a9c9636de

6 years agoLog deferred jobs metrics to batterystats
Amith Yamasani [Fri, 16 Feb 2018 19:29:54 +0000 (11:29 -0800)]
Log deferred jobs metrics to batterystats

Log the deferred jobs event count, number of deferred jobs,
time since last job execution and break those down into
different time-since buckets in case the average becomes
too noisy.

Bug: 70297451
Test: dumpsys batterystats --checkin

Change-Id: Iafad6137989246f203a623ce1511140d4eac35b0

6 years agoMerge "Don't refcount TRACK_DEFAULT requests." am: 114278c9eb am: a6f193162a
Chalard Jean [Mon, 19 Feb 2018 04:12:50 +0000 (04:12 +0000)]
Merge "Don't refcount TRACK_DEFAULT requests." am: 114278c9eb am: a6f193162a
am: da97198167

Change-Id: Ic2b19e9f3f7d8f67cc5854688e5e14ca2a419e66

6 years agoMerge "Don't refcount TRACK_DEFAULT requests." am: 114278c9eb
Chalard Jean [Mon, 19 Feb 2018 04:01:17 +0000 (04:01 +0000)]
Merge "Don't refcount TRACK_DEFAULT requests." am: 114278c9eb
am: a6f193162a

Change-Id: Ib3e0e89a9d80546fbf3555cfdf715f2bd8e4ab94

6 years agoMerge "Don't refcount TRACK_DEFAULT requests."
Chalard Jean [Mon, 19 Feb 2018 03:54:25 +0000 (03:54 +0000)]
Merge "Don't refcount TRACK_DEFAULT requests."
am: 114278c9eb

Change-Id: I094ad8f9764f5cd657e2fe98c846710c8d241b64

6 years agoMerge changes Ic28c5653,Ic635f97b
Treehugger Robot [Mon, 19 Feb 2018 03:45:27 +0000 (03:45 +0000)]
Merge changes Ic28c5653,Ic635f97b

* changes:
  [LT2] Fix release request while lingering.
  [LT1] Add a test for release request while lingering

6 years agoMerge "Don't refcount TRACK_DEFAULT requests."
Chalard Jean [Mon, 19 Feb 2018 02:13:48 +0000 (02:13 +0000)]
Merge "Don't refcount TRACK_DEFAULT requests."

6 years agoMerge "DO NOT MERGE : fix useless import" am: 473b3b7f03 -s ours am: b68ce4b33e...
Chalard Jean [Mon, 19 Feb 2018 02:01:41 +0000 (02:01 +0000)]
Merge "DO NOT MERGE : fix useless import" am: 473b3b7f03  -s ours am: b68ce4b33e  -s ours
am: 0a2dc550b0  -s ours

Change-Id: I7277bdc2fe3340c01004cd0ec3d4fbee25ffee69

6 years ago[LT2] Fix release request while lingering.
Chalard Jean [Fri, 16 Feb 2018 07:08:35 +0000 (16:08 +0900)]
[LT2] Fix release request while lingering.

Test: runtest framework-net
Change-Id: Ic28c5653d16351903b792e76ba8b199b7ed1f8d4

6 years agoMerge "DO NOT MERGE : fix useless import" am: 473b3b7f03 -s ours
Chalard Jean [Mon, 19 Feb 2018 01:57:09 +0000 (01:57 +0000)]
Merge "DO NOT MERGE : fix useless import" am: 473b3b7f03  -s ours
am: b68ce4b33e  -s ours

Change-Id: I75fc8e73f448ffee44a28149843c1d08399e255e