OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Add blastula pool system properties"
Christian Wailes [Tue, 19 Feb 2019 18:15:48 +0000 (18:15 +0000)]
Merge "Add blastula pool system properties"

5 years agoMerge "Fix seg faul when parsing invalid <plurals>"
Ryan Mitchell [Tue, 19 Feb 2019 18:09:56 +0000 (18:09 +0000)]
Merge "Fix seg faul when parsing invalid <plurals>"

5 years agoMerge "Improve the performance when loading image wallpaper colors"
Lucas Dupin [Tue, 19 Feb 2019 16:57:38 +0000 (16:57 +0000)]
Merge "Improve the performance when loading image wallpaper colors"

5 years agoMerge "Add StagedRollbackTest to TEST_MAPPING."
Richard Uhler [Tue, 19 Feb 2019 16:36:55 +0000 (16:36 +0000)]
Merge "Add StagedRollbackTest to TEST_MAPPING."

5 years agoMerge "Add dariofreni to APEX-related files owners." am: 9d805ba071 am: c423836b08
Dario Freni [Tue, 19 Feb 2019 16:19:45 +0000 (08:19 -0800)]
Merge "Add dariofreni to APEX-related files owners." am: 9d805ba071 am: c423836b08
am: 20b87e639c

Change-Id: Idf0a66d4836bbcced09571757a611111f37dace7

5 years agoMerge "Add dariofreni to APEX-related files owners." am: 9d805ba071
Dario Freni [Tue, 19 Feb 2019 16:09:44 +0000 (08:09 -0800)]
Merge "Add dariofreni to APEX-related files owners." am: 9d805ba071
am: c423836b08

Change-Id: I758e913f07aba1462375a7239ca6daadb81c3657

5 years agoMerge "MediaStore API and docs polishing."
Jeff Sharkey [Tue, 19 Feb 2019 15:58:57 +0000 (15:58 +0000)]
Merge "MediaStore API and docs polishing."

5 years agoMerge "Add dariofreni to APEX-related files owners."
Dario Freni [Tue, 19 Feb 2019 15:54:42 +0000 (07:54 -0800)]
Merge "Add dariofreni to APEX-related files owners."
am: 9d805ba071

Change-Id: I13e6dda30f6aeaab8654758cd55a0166b019507c

5 years agoMerge "IllegalStateException if apex is unavailable."
Dario Freni [Tue, 19 Feb 2019 15:47:55 +0000 (15:47 +0000)]
Merge "IllegalStateException if apex is unavailable."

5 years agoMerge "Remove unused APEX session state."
Dario Freni [Tue, 19 Feb 2019 15:46:51 +0000 (15:46 +0000)]
Merge "Remove unused APEX session state."

5 years agoMerge "Add dariofreni to APEX-related files owners."
Dario Freni [Tue, 19 Feb 2019 15:43:35 +0000 (15:43 +0000)]
Merge "Add dariofreni to APEX-related files owners."

5 years agoMerge "Fix typo in javadoc."
Dario Freni [Tue, 19 Feb 2019 15:33:24 +0000 (15:33 +0000)]
Merge "Fix typo in javadoc."

5 years agoMerge "Dummy change to test postsubmit invocation"
Pavel Grafov [Tue, 19 Feb 2019 15:24:07 +0000 (15:24 +0000)]
Merge "Dummy change to test postsubmit invocation"

5 years agoMerge "Add a dalvik.vm.boot-image option for zygote and installd." am: 80e697a297...
Nicolas Geoffray [Tue, 19 Feb 2019 15:03:10 +0000 (07:03 -0800)]
Merge "Add a dalvik.vm.boot-image option for zygote and installd." am: 80e697a297 am: f2bcd619a1
am: bda2cb3b18

Change-Id: Ia60c8b93f1dec2285d2d539377e49b8bf79f7734

5 years agoMerge "Add a dalvik.vm.boot-image option for zygote and installd." am: 80e697a297
Nicolas Geoffray [Tue, 19 Feb 2019 14:53:30 +0000 (06:53 -0800)]
Merge "Add a dalvik.vm.boot-image option for zygote and installd." am: 80e697a297
am: f2bcd619a1

Change-Id: If5c1bbd614f5c3758f636f6a30ac93e0b64bb01d

5 years agoMerge "Add a dalvik.vm.boot-image option for zygote and installd."
Nicolas Geoffray [Tue, 19 Feb 2019 14:44:44 +0000 (06:44 -0800)]
Merge "Add a dalvik.vm.boot-image option for zygote and installd."
am: 80e697a297

Change-Id: Icbdf60640f0a1b5995ad09eba0bee6ed81b50c4a

5 years agoMerge "Rename data/staging to data/pkg_staging"
Gavin Corkery [Tue, 19 Feb 2019 14:40:59 +0000 (14:40 +0000)]
Merge "Rename data/staging to data/pkg_staging"

5 years agoMerge "Add a dalvik.vm.boot-image option for zygote and installd."
Nicolas Geoffray [Tue, 19 Feb 2019 14:28:18 +0000 (14:28 +0000)]
Merge "Add a dalvik.vm.boot-image option for zygote and installd."

5 years agoDummy change to test postsubmit invocation
Pavel Grafov [Tue, 19 Feb 2019 11:26:46 +0000 (11:26 +0000)]
Dummy change to test postsubmit invocation

Bug: 124653467
Test: builds
Change-Id: I3cdf2a2647c8e0e4dd2e4bc49cd5cd5ff1daed4e

5 years agoRemove unused APEX session state.
Dario Freni [Mon, 18 Feb 2019 21:26:13 +0000 (21:26 +0000)]
Remove unused APEX session state.

This state is unused and will be completely removed in a follow-up CL.

Bug: 124367761
Test: n/a
Change-Id: Ie4e0954aae0c72ae0887fc15a3cafb02e5c7099f

5 years agoIllegalStateException if apex is unavailable.
Dario Freni [Thu, 14 Feb 2019 15:37:54 +0000 (15:37 +0000)]
IllegalStateException if apex is unavailable.

apexservice is expected to be active before zygote is run. In the
exceptional case it isn't we should fail fast and throw a clear error
message. The current version of the code would just assign "null" to the
mApexService variable, thus causing a null pointer exception later in
the code.

Bug: 124363450
Test: device boots.
Change-Id: I07361163c6e9efd392a633b30e85ca6be9f58ab3

5 years agoMerge "Support revoke-when-requested with pre-M apps"
Philip P. Moltmann [Tue, 19 Feb 2019 10:34:09 +0000 (10:34 +0000)]
Merge "Support revoke-when-requested with pre-M apps"

5 years agoAdd dariofreni to APEX-related files owners.
Dario Freni [Mon, 18 Feb 2019 17:53:24 +0000 (17:53 +0000)]
Add dariofreni to APEX-related files owners.

Test: n/a
Change-Id: I3a26033f52d98e5edcde852fff007ba33ae90856

5 years agoMerge "Fix authority parsing test" am: 8ce3609e58 am: becdd58df5
Adam Vartanian [Tue, 19 Feb 2019 10:04:16 +0000 (02:04 -0800)]
Merge "Fix authority parsing test" am: 8ce3609e58 am: becdd58df5
am: 598b2497b3

Change-Id: Ic32fceebd7936b779efed954dcd0745b1207f7ff

5 years agoAdd StagedRollbackTest to TEST_MAPPING.
Richard Uhler [Tue, 19 Feb 2019 09:59:06 +0000 (09:59 +0000)]
Add StagedRollbackTest to TEST_MAPPING.

Bug: 124043688
Test: frameworks/base/tests/RollbackTest$ atest
Change-Id: Ifbfb725a5909fe80aae6af4d90f9d0d3804839c5

5 years agoMerge "Fix authority parsing test" am: 8ce3609e58
Adam Vartanian [Tue, 19 Feb 2019 09:54:53 +0000 (01:54 -0800)]
Merge "Fix authority parsing test" am: 8ce3609e58
am: becdd58df5

Change-Id: I41d4997661cf011e9589aedac9de301b1becb441

5 years agoMerge "Fix authority parsing test"
Adam Vartanian [Tue, 19 Feb 2019 09:44:45 +0000 (01:44 -0800)]
Merge "Fix authority parsing test"
am: 8ce3609e58

Change-Id: I8554fddceb326c52b85b34a483b3e3791abf2cdc

5 years agoMerge "Fix authority parsing test"
Adam Vartanian [Tue, 19 Feb 2019 09:27:35 +0000 (09:27 +0000)]
Merge "Fix authority parsing test"

5 years agoFix authority parsing test
Adam Vartanian [Mon, 18 Feb 2019 12:01:11 +0000 (12:01 +0000)]
Fix authority parsing test

The test has been failing because http://r.android.com/793302 changed
how the port separator was found, only scanning ASCII digits until it
hits a colon, and previously it would scan for the colon and then
percent-decode the rest of it.  The new behavior actually better
matches the WHATWG URL parsing algorithm [1], which specifies that
ports only include ASCII digits.  It does mean that some edge cases
that previously parsed as host "foo", port 42 will now parse as
host "foo:42", no port, but those URLs wouldn't be accepted by
browsers so they should be exceedingly rare.

The behavior per the WHATWG spec would be to fail to parse in the case
of a percent-encoded character in the port section, but this class is
specifically documented to accept garbage, so lumping the mis-encoded
port as part of the hostname (which will result in a hostname that's
invalid and impossible to resolve) seems like the best option.

[1] https://url.spec.whatwg.org/#port-state

Fixes: 124360078
Test: atest android.net.UriTest
Change-Id: I1c788cb7703c821ae74b542b74d89e10cba5a546

5 years agoMerge "Attempt to de-flake tests."
Alan Stokes [Tue, 19 Feb 2019 09:08:55 +0000 (09:08 +0000)]
Merge "Attempt to de-flake tests."

5 years agoMerge "RollbackManager: fix installedUsers null pointer exception."
Richard Uhler [Tue, 19 Feb 2019 08:55:52 +0000 (08:55 +0000)]
Merge "RollbackManager: fix installedUsers null pointer exception."

5 years agoMerge "Remove InputForwarder"
Tiger Huang [Tue, 19 Feb 2019 07:18:41 +0000 (07:18 +0000)]
Merge "Remove InputForwarder"

5 years agoSupport revoke-when-requested with pre-M apps
Philip P. Moltmann [Tue, 19 Feb 2019 05:05:48 +0000 (21:05 -0800)]
Support revoke-when-requested with pre-M apps

In this case the permission should not be revoked, but the app-op should
be.

Fixes: 124609307
Test: atest SplitPermissionTests
Change-Id: I4e70b8f9ef1e01320adb55096437e82a058883db

5 years agoMerge "Remove opposite position of nav bar for short aspect ratio app"
TreeHugger Robot [Tue, 19 Feb 2019 04:29:37 +0000 (04:29 +0000)]
Merge "Remove opposite position of nav bar for short aspect ratio app"

5 years agoMerge "Suppress the warning toast if the preferredDisplay was set to singleTask"
Jeff Chang [Tue, 19 Feb 2019 04:08:26 +0000 (04:08 +0000)]
Merge "Suppress the warning toast if the preferredDisplay was set to singleTask"

5 years agoMerge "Add TEST_MAPPING for GtsUnofficialApisUsageTestCases"
TreeHugger Robot [Tue, 19 Feb 2019 03:35:39 +0000 (03:35 +0000)]
Merge "Add TEST_MAPPING for GtsUnofficialApisUsageTestCases"

5 years agoMerge "Fix for testLifecycleOnMoveToFromSplitScreenRelaunch" am: 43d11758fa am: 0f174...
Raj Mamadgi [Tue, 19 Feb 2019 02:36:10 +0000 (18:36 -0800)]
Merge "Fix for testLifecycleOnMoveToFromSplitScreenRelaunch" am: 43d11758fa am: 0f174795e4
am: 03549b860a

Change-Id: I4d6037597d60b5990db0b95bdee3cb69c500ec49

5 years agoMerge "Fix for testLifecycleOnMoveToFromSplitScreenRelaunch" am: 43d11758fa
Raj Mamadgi [Tue, 19 Feb 2019 02:22:41 +0000 (18:22 -0800)]
Merge "Fix for testLifecycleOnMoveToFromSplitScreenRelaunch" am: 43d11758fa
am: 0f174795e4

Change-Id: Ie32376993dcc8b06f3d2254d6aecdb9a4f843236

5 years agoMerge "Fix for testLifecycleOnMoveToFromSplitScreenRelaunch"
Raj Mamadgi [Tue, 19 Feb 2019 02:13:45 +0000 (18:13 -0800)]
Merge "Fix for testLifecycleOnMoveToFromSplitScreenRelaunch"
am: 43d11758fa

Change-Id: I6b248297523070983c63b5dd870e235eea5ee59c

5 years agoImprove the performance when loading image wallpaper colors
wilsonshih [Wed, 13 Feb 2019 04:20:01 +0000 (12:20 +0800)]
Improve the performance when loading image wallpaper colors

When SystemUI start up, ColorExtractor will get wallpaper colors so
status bar can use it to update theme, however, this will also block
SystemUI start up process if the wallpaper is image wallpaper.
In order to break the latency, we can extract getWallpaperColors
method from ColorExtractor's contructor, and do it at another thread,
so it won't block SystemUI start up.

Bug: 124279857
Test: atest ColorExtractorTest
Test: Manual test change theme feature can work normally.

Change-Id: I8589b28a17b0a2b33b4bbbda2265080af983f26a

5 years agoMerge "Fix for testLifecycleOnMoveToFromSplitScreenRelaunch"
Treehugger Robot [Tue, 19 Feb 2019 02:02:35 +0000 (02:02 +0000)]
Merge "Fix for testLifecycleOnMoveToFromSplitScreenRelaunch"

5 years agoMerge "Move WindowStateTests into flaky one"
Yunfan Chen [Tue, 19 Feb 2019 02:02:17 +0000 (02:02 +0000)]
Merge "Move WindowStateTests into flaky one"

5 years agoMerge "Mark apexd session as successful before marking staged session applied"
TreeHugger Robot [Mon, 18 Feb 2019 22:08:18 +0000 (22:08 +0000)]
Merge "Mark apexd session as successful before marking staged session applied"

5 years agoMerge "BackupManager shouldn't clear app's data during restore if agent wasn't invoke...
Ruslan Tkhakokhov [Mon, 18 Feb 2019 21:51:49 +0000 (21:51 +0000)]
Merge "BackupManager shouldn't clear app's data during restore if agent wasn't invoked yet"

5 years agoFix typo in javadoc.
Dario Freni [Mon, 18 Feb 2019 20:58:54 +0000 (20:58 +0000)]
Fix typo in javadoc.

Test: n/a
Change-Id: I99e722902b21e46691af3d2d2e8e63cd4ced618e

5 years agoMediaStore API and docs polishing.
Jeff Sharkey [Mon, 18 Feb 2019 19:47:25 +0000 (12:47 -0700)]
MediaStore API and docs polishing.

Initial efforts at cleaning up MediaStore docs, including deprecation
of crufty methods, and annotations to communicate stored units.

Bug: 120429729124013019
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I87828f19030b6b354472c1b3ce767de166f86134

5 years agoMerge "Force blacklist on VMRuntime.setTargetSdkVersion*()" am: da75e38817 am: 20a71e4a90
David Brazdil [Mon, 18 Feb 2019 19:40:24 +0000 (11:40 -0800)]
Merge "Force blacklist on VMRuntime.setTargetSdkVersion*()" am: da75e38817 am: 20a71e4a90
am: af4651f75f

Change-Id: Ifa3bb90eeb3393f70a6263711073c58186e09a77

5 years agoMerge "Force blacklist on VMRuntime.setTargetSdkVersion*()" am: da75e38817
David Brazdil [Mon, 18 Feb 2019 19:29:01 +0000 (11:29 -0800)]
Merge "Force blacklist on VMRuntime.setTargetSdkVersion*()" am: da75e38817
am: 20a71e4a90

Change-Id: I07d5ec63ffcf5bda0a2cb3c2d4b0d3af0d3fdbf3

5 years agoMerge "Force blacklist on VMRuntime.setTargetSdkVersion*()"
David Brazdil [Mon, 18 Feb 2019 19:18:40 +0000 (11:18 -0800)]
Merge "Force blacklist on VMRuntime.setTargetSdkVersion*()"
am: da75e38817

Change-Id: I50ac78d0e85ab34cea2abaef4f44ee8d418e517c

5 years agoMerge "Force blacklist on VMRuntime.setTargetSdkVersion*()"
Treehugger Robot [Mon, 18 Feb 2019 19:11:00 +0000 (19:11 +0000)]
Merge "Force blacklist on VMRuntime.setTargetSdkVersion*()"

5 years agoMerge "Fix testDefaultDisplayOverrideConfiguration failed."
TreeHugger Robot [Mon, 18 Feb 2019 19:09:04 +0000 (19:09 +0000)]
Merge "Fix testDefaultDisplayOverrideConfiguration failed."

5 years agoMerge "Merge "Revert "Remove legacy-test and legacy-android-test targets"" am: 049c15...
Android Build Merger (Role) [Mon, 18 Feb 2019 18:51:41 +0000 (18:51 +0000)]
Merge "Merge "Revert "Remove legacy-test and legacy-android-test targets"" am: 049c1589ee am: 7f997d4cfc am: 95a9dc906f"

5 years agoMerge "Revert "Remove legacy-test and legacy-android-test targets"" am: 049c1589ee...
Jakub Gielzak [Mon, 18 Feb 2019 18:51:09 +0000 (10:51 -0800)]
Merge "Revert "Remove legacy-test and legacy-android-test targets"" am: 049c1589ee am: 7f997d4cfc
am: 95a9dc906f

Change-Id: I1034050336bdf8be84e3b86ae346dc4bfe1737ef

5 years agoMerge "Fix screen size configuration computing of task"
TreeHugger Robot [Mon, 18 Feb 2019 18:48:16 +0000 (18:48 +0000)]
Merge "Fix screen size configuration computing of task"

5 years agoMerge "Revert "Remove legacy-test and legacy-android-test targets"" am: 049c1589ee
Jakub Gielzak [Mon, 18 Feb 2019 18:42:20 +0000 (10:42 -0800)]
Merge "Revert "Remove legacy-test and legacy-android-test targets"" am: 049c1589ee
am: 7f997d4cfc

Change-Id: If998990b94bd36f0ffae26dede85df8ad079093e

5 years agoMerge "Specify no resource_dirs for SystemUI" am: 347d6ff9f9 am: a05d598bc0
Anton Hansson [Mon, 18 Feb 2019 18:35:05 +0000 (10:35 -0800)]
Merge "Specify no resource_dirs for SystemUI" am: 347d6ff9f9 am: a05d598bc0
am: dd33e2766b

Change-Id: Ifbd329e479ba447707d1a2a3a9492b5b9e48e331

5 years agoMerge "Revert "Remove legacy-test and legacy-android-test targets""
Jakub Gielzak [Mon, 18 Feb 2019 18:32:40 +0000 (10:32 -0800)]
Merge "Revert "Remove legacy-test and legacy-android-test targets""
am: 049c1589ee

Change-Id: Ia84907bfa038954256bc791490a490dd338b33ce

5 years agoMerge "Specify no resource_dirs for SystemUI" am: 347d6ff9f9
Anton Hansson [Mon, 18 Feb 2019 18:26:05 +0000 (10:26 -0800)]
Merge "Specify no resource_dirs for SystemUI" am: 347d6ff9f9
am: a05d598bc0

Change-Id: I2f2fd095a77726c62ea7f557a7ed3b5844691bf5

5 years agoMerge "Revert "Remove legacy-test and legacy-android-test targets""
Jakub Gielzak [Mon, 18 Feb 2019 18:24:58 +0000 (18:24 +0000)]
Merge "Revert "Remove legacy-test and legacy-android-test targets""

5 years agoRevert "Remove legacy-test and legacy-android-test targets"
Jakub Gielzak [Mon, 18 Feb 2019 18:24:17 +0000 (18:24 +0000)]
Revert "Remove legacy-test and legacy-android-test targets"

This reverts commit 3b0be60307cc6063795f8cd32356745ee371e757.

Reason for revert: Broken build

Change-Id: I71270c7b47163ab7147029f2d3961d1848fdd9eb

5 years agoMerge "Specify no resource_dirs for SystemUI"
Anton Hansson [Mon, 18 Feb 2019 18:16:37 +0000 (10:16 -0800)]
Merge "Specify no resource_dirs for SystemUI"
am: 347d6ff9f9

Change-Id: I0b752a641e5f74d7dac1017616553f464427e219

5 years agoMerge "Specify no resource_dirs for SystemUI"
Anton Hansson [Mon, 18 Feb 2019 18:03:36 +0000 (18:03 +0000)]
Merge "Specify no resource_dirs for SystemUI"

5 years agoMerge changes Ie125d44c,If9b5d57e,I001427c7
TreeHugger Robot [Mon, 18 Feb 2019 17:49:56 +0000 (17:49 +0000)]
Merge changes Ie125d44c,If9b5d57e,I001427c7

* changes:
  Create basic test for rollback of staged install.
  Stub out code for a host driven StagedRollbackTest.
  Move RollbackTest app code to a new subdirectory.

5 years agoBackupManager shouldn't clear app's data during restore if agent wasn't invoked yet
Ruslan Tkhakokhov [Mon, 18 Feb 2019 15:30:52 +0000 (15:30 +0000)]
BackupManager shouldn't clear app's data during restore if agent wasn't invoked yet

Bug: 123738850
Test: 1) atest RunBackupFrameworksServicesRoboTests
      2) atest CtsBackupTestCases
      3) atest CtsBackupHostTestCases
      4) atest GtsBackupTestCases
      5) atest GtsBackupHostTestCases
      6) Manual: Force exceptions before/after agent was called, verify
                 the new behavior.

Change-Id: Ia9ddea2939fc6d72dd9bc060b0c47bc8da2b868d

5 years agoAttempt to de-flake tests.
Alan Stokes [Mon, 4 Feb 2019 15:32:12 +0000 (15:32 +0000)]
Attempt to de-flake tests.

Some of these tests rely on audit logs being generated and then
visible when we try to read them. Occasionally this doesn't work -
probably because of throttling or the asynchronous, background nature
of logging. When it happens the tests fail.

To avoid this, re-run the susceptible tests multiple times rather than
failing on the first go, with increasingly long delays between
triggering and reading the logs on each run.

Bug: 123507824
Test: atest -p services/core/java/com/android/server/pm/dex
Change-Id: I62db997c912b2d153ecaea34011529c4c58207c7

5 years agoFix testDefaultDisplayOverrideConfiguration failed.
lumark [Mon, 18 Feb 2019 07:00:47 +0000 (15:00 +0800)]
Fix testDefaultDisplayOverrideConfiguration failed.

Fixed problem introduced in ag/6135784 where override configuration may
not write to proto correctly when passing wrong "critical" parameter
to Configuration#writeToProto().

Fix: 124326029
Test: atest ActivityManagerDisplayTests

Change-Id: If509099192b333c3b6113b88259ab908b6effa12

5 years agoMerge changes from topic "wrapz"
Jeff Sharkey [Mon, 18 Feb 2019 16:42:07 +0000 (16:42 +0000)]
Merge changes from topic "wrapz"

* changes:
  Add tests for DocumentsContract/Provider.
  Replace ContentInterface with wrapping.

5 years agoMerge "Set seekbar to clickable"
Beth Thibodeau [Mon, 18 Feb 2019 16:15:48 +0000 (16:15 +0000)]
Merge "Set seekbar to clickable"

5 years agoMerge "ActivityView: avoid crash in release() when detached from window"
Mark Renouf [Mon, 18 Feb 2019 16:09:19 +0000 (16:09 +0000)]
Merge "ActivityView: avoid crash in release() when detached from window"

5 years agoMerge "Trigger CtsDevicePolicyManagerTestCases in postsubmit"
TreeHugger Robot [Mon, 18 Feb 2019 16:02:35 +0000 (16:02 +0000)]
Merge "Trigger CtsDevicePolicyManagerTestCases in postsubmit"

5 years agoMerge "Add request object for querying historical ops"
Svetoslav Ganov [Mon, 18 Feb 2019 15:48:19 +0000 (15:48 +0000)]
Merge "Add request object for querying historical ops"

5 years agoMerge "Merge "Remove legacy-test and legacy-android-test targets" am: 14daedf747...
Android Build Merger (Role) [Mon, 18 Feb 2019 15:45:19 +0000 (15:45 +0000)]
Merge "Merge "Remove legacy-test and legacy-android-test targets" am: 14daedf747 am: 4a83feb18a am: 9248379c98"

5 years agoMerge "Remove legacy-test and legacy-android-test targets" am: 14daedf747 am: 4a83feb18a
Paul Duffin [Mon, 18 Feb 2019 15:44:41 +0000 (07:44 -0800)]
Merge "Remove legacy-test and legacy-android-test targets" am: 14daedf747 am: 4a83feb18a
am: 9248379c98

Change-Id: Ia409c6c4596269120386f8ae47d7f6379a1073bf

5 years agoMerge "Refine UI janky in split-screen when launch & close IME opened app"
TreeHugger Robot [Mon, 18 Feb 2019 15:43:28 +0000 (15:43 +0000)]
Merge "Refine UI janky in split-screen when launch & close IME opened app"

5 years agoMerge "Remove legacy-test and legacy-android-test targets" am: 14daedf747
Paul Duffin [Mon, 18 Feb 2019 15:35:37 +0000 (07:35 -0800)]
Merge "Remove legacy-test and legacy-android-test targets" am: 14daedf747
am: 4a83feb18a

Change-Id: I920fe03eb41e0aceab8ba794bdfd53d3a5c75388

5 years agoMerge "Remove legacy-test and legacy-android-test targets"
Paul Duffin [Mon, 18 Feb 2019 15:26:09 +0000 (07:26 -0800)]
Merge "Remove legacy-test and legacy-android-test targets"
am: 14daedf747

Change-Id: I67e3a6d58324affcb9119002d4fb2be23e3121fc

5 years agoMerge "Add OWNERS for ExifInterface" am: 996d37ea59 am: 3250d90912
Jin Seok Park [Mon, 18 Feb 2019 15:24:32 +0000 (07:24 -0800)]
Merge "Add OWNERS for ExifInterface" am: 996d37ea59 am: 3250d90912
am: b3cec6a72d

Change-Id: Ie96e8e9991513de5edcb70d68ff67de42a037b90

5 years agoMerge "Add OWNERS for ExifInterface" am: 996d37ea59
Jin Seok Park [Mon, 18 Feb 2019 15:15:59 +0000 (07:15 -0800)]
Merge "Add OWNERS for ExifInterface" am: 996d37ea59
am: 3250d90912

Change-Id: I96a63075aca417d269e941a84612c72575c073fd

5 years agoMerge "Remove legacy-test and legacy-android-test targets"
Paul Duffin [Mon, 18 Feb 2019 15:13:45 +0000 (15:13 +0000)]
Merge "Remove legacy-test and legacy-android-test targets"

5 years agoMerge "Add OWNERS for ExifInterface"
Jin Seok Park [Mon, 18 Feb 2019 15:06:53 +0000 (07:06 -0800)]
Merge "Add OWNERS for ExifInterface"
am: 996d37ea59

Change-Id: I24669310bf259344675110b2e4463894843e776b

5 years agoForce blacklist on VMRuntime.setTargetSdkVersion*()
David Brazdil [Mon, 18 Feb 2019 14:59:20 +0000 (14:59 +0000)]
Force blacklist on VMRuntime.setTargetSdkVersion*()

The methods could be used to bypass the restrictions. Force them
onto the blacklist.

Test: builds
Change-Id: I77d1fb8ca7339bec5e933f87a3b672096e2e559e

5 years agoFix screen size configuration computing of task
Riddle Hsu [Mon, 18 Feb 2019 11:15:12 +0000 (19:15 +0800)]
Fix screen size configuration computing of task

Correct the typo for screen height.

Bug: 124532338
Test: atest TaskRecordTests#testComputeConfigResourceOverrides
Change-Id: I02ff82620f538291f2ae5518e1b4ee2c2ac288d1

5 years agoMerge "Add OWNERS for ExifInterface"
Jin Seok Park [Mon, 18 Feb 2019 14:56:06 +0000 (14:56 +0000)]
Merge "Add OWNERS for ExifInterface"

5 years agoRename data/staging to data/pkg_staging
Gavin Corkery [Mon, 18 Feb 2019 14:11:57 +0000 (14:11 +0000)]
Rename data/staging to data/pkg_staging

Test: Build, flash, atest apex_e2e_tests
Change-Id: Ie66b0baaeb1845fdedbd6fa4bd5b33e63035627b
Fixes: 122999313

5 years agoMerge "Deliver realCallingUid and realCallingPid to AMS.broadcastIntentLocked() and...
Michal Karpinski [Mon, 18 Feb 2019 14:40:22 +0000 (14:40 +0000)]
Merge "Deliver realCallingUid and realCallingPid to AMS.broadcastIntentLocked() and make permission checks on them"

5 years agoMerge "Update color display javadoc"
TreeHugger Robot [Mon, 18 Feb 2019 14:36:55 +0000 (14:36 +0000)]
Merge "Update color display javadoc"

5 years agoTrigger CtsDevicePolicyManagerTestCases in postsubmit
Pavel Grafov [Mon, 18 Feb 2019 14:08:36 +0000 (14:08 +0000)]
Trigger CtsDevicePolicyManagerTestCases in postsubmit

In this configuration the tests will only be triggered by changes
to services/devicepolicy/** and core/java/android/app/admin/**, so
we won't be able to catch breakages coming from the rest of the tree
with a single CL precision. But let's see which parts are causing
the most breakages and add them later.

Bug: 124653467
Test: atest --test-mapping core/java/android/app/admin:postsubmit
Test: atest --test-mapping services/devicepolicy:postsubmit
Change-Id: I58f87fff4b5b5e3e4fb8a333dd6ac4dd4100b587

5 years agoMark apexd session as successful before marking staged session applied
Nikita Ioffe [Fri, 15 Feb 2019 14:22:44 +0000 (14:22 +0000)]
Mark apexd session as successful before marking staged session applied

Failing to mark session as successful won't block this staged session:
- it's mostly for bookkeeping purposes, in the future apexd might just
  delete information about the session after it is marked as successful;
- in case this call failed, when new session is staged apexd will delete
  all dangling sessions.

Bug: 124215327
Fixes: 124215327
Test: apex_e2e_tests
Change-Id: I7c9a068bc32352792610e7190e08a884bb5d09a5

5 years agoSuppress the warning toast if the preferredDisplay was set to singleTask
Jeff Chang [Thu, 14 Feb 2019 12:42:27 +0000 (20:42 +0800)]
Suppress the warning toast if the preferredDisplay was set to singleTask

singleTaskInstance displays will only contain one task and any attempt
to launch new task will re-route to the default display.

Bug: 123642392
Test: atest ActivityManagerMultiDisplayTests#testSingleTaskInstanceDisplay
Change-Id: If782a121c5a303b6bfa9f23da59c1a62ef242c7f

5 years agoMerge "Fetch transition specs if the state is already ready"
TreeHugger Robot [Mon, 18 Feb 2019 13:07:32 +0000 (13:07 +0000)]
Merge "Fetch transition specs if the state is already ready"

5 years agoSpecify no resource_dirs for SystemUI
Anton Hansson [Fri, 8 Feb 2019 09:01:32 +0000 (09:01 +0000)]
Specify no resource_dirs for SystemUI

The res directory is already included via the SystemUI-core
library. The default for resource_dirs is ["res"] if it exists,
so explicitly clear it to avoid depending on it twice.

Bug: 124035856
Test: m SystemUI
Change-Id: Ia1b06cd9eff4e614684efde34288cf9ebd895870

5 years agoRemove InputForwarder
Tiger Huang [Mon, 18 Feb 2019 11:42:48 +0000 (19:42 +0800)]
Remove InputForwarder

InputForwarder was used by ActivityView. InputForwarder is not used by
anyone now.

Bug: 120675821
Test: Manual test with ActivityViewTest
Test: atest CtsActivityManagerDeviceTestCases:ActivityViewTest
Change-Id: I6bd2338c921e6dfb1dfe357decb878d558df8bfd

5 years agoRollbackManager: fix installedUsers null pointer exception.
Richard Uhler [Mon, 18 Feb 2019 11:33:03 +0000 (11:33 +0000)]
RollbackManager: fix installedUsers null pointer exception.

The installedUsers argument is passed as null to
enableRollbackForSession in the pre-reboot case of staged installs, but
the code assumes it is non-null. Pass an empty array instead and ensure
the installedUsers is properly updated post-reboot.

Bug: 124284714
Test: atest StagedRollbackTest (currently under development)
Change-Id: I4ccd19ca289fd127f77c070c0ad0e2873a4e692a

5 years agoMerge "Use new manifest flag to gate clearing data during restore"
Ruslan Tkhakokhov [Mon, 18 Feb 2019 11:41:57 +0000 (11:41 +0000)]
Merge "Use new manifest flag to gate clearing data during restore"

5 years agoMerge "Fix the flaky test case : testRecentsButtonDisabledOnSecondaryDisplay"
Jeff Chang [Mon, 18 Feb 2019 11:30:15 +0000 (11:30 +0000)]
Merge "Fix the flaky test case : testRecentsButtonDisabledOnSecondaryDisplay"

5 years agoCreate basic test for rollback of staged install.
Richard Uhler [Mon, 11 Feb 2019 12:20:31 +0000 (12:20 +0000)]
Create basic test for rollback of staged install.

The new test tests rollback of a staged install involving a single apk.

Test: atest StagedRollbackTest
Bug: 124043688
Bug: 124221060
Bug: 124284714

Change-Id: Ie125d44c4d30d142ee32beac4c42e735a47ec71e

5 years agoMerge "Rename DexLogger to DynamicCodeLogger."
TreeHugger Robot [Mon, 18 Feb 2019 11:03:30 +0000 (11:03 +0000)]
Merge "Rename DexLogger to DynamicCodeLogger."

5 years agoMerge "Add force suspend API to PowerManager."
Santos Cordon [Mon, 18 Feb 2019 10:23:04 +0000 (10:23 +0000)]
Merge "Add force suspend API to PowerManager."

5 years agoMerge "Update AppCompacted WW atom to include device ZRAM usage."
Ben Murdoch [Mon, 18 Feb 2019 09:13:23 +0000 (09:13 +0000)]
Merge "Update AppCompacted WW atom to include device ZRAM usage."

5 years agoMerge "Replace TcpSocketInfo with TcpKeepalivePacketDataParcelable in ApfTest." am...
Xiao Ma [Mon, 18 Feb 2019 07:43:59 +0000 (23:43 -0800)]
Merge "Replace TcpSocketInfo with TcpKeepalivePacketDataParcelable in ApfTest." am: e7e5a35b38 am: a88f901028
am: fb6ce004e1

Change-Id: I488efad5dffa7a4b74ed0fd6525c918311651252