OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "AAPT2: Better error messages for ManifestFixer"
TreeHugger Robot [Fri, 3 Nov 2017 11:13:33 +0000 (11:13 +0000)]
Merge "AAPT2: Better error messages for ManifestFixer"

6 years agoMerge "ZipUtils: Rewrite in terms of zip_archive::Inflate." am: f941215d56 am: 1bed4d4880
Narayan Kamath [Fri, 3 Nov 2017 10:32:30 +0000 (10:32 +0000)]
Merge "ZipUtils: Rewrite in terms of zip_archive::Inflate." am: f941215d56 am: 1bed4d4880
am: 498c409dec

Change-Id: I3c0f754ee0fdea0373293f06081b4a3230b87e09

6 years agoMerge "ZipUtils: Rewrite in terms of zip_archive::Inflate." am: f941215d56
Narayan Kamath [Fri, 3 Nov 2017 10:23:15 +0000 (10:23 +0000)]
Merge "ZipUtils: Rewrite in terms of zip_archive::Inflate." am: f941215d56
am: 1bed4d4880

Change-Id: I61cee0ba3cd640e914583daae64d522cc250603e

6 years agoMerge "ZipUtils: Rewrite in terms of zip_archive::Inflate."
Narayan Kamath [Fri, 3 Nov 2017 10:14:22 +0000 (10:14 +0000)]
Merge "ZipUtils: Rewrite in terms of zip_archive::Inflate."
am: f941215d56

Change-Id: I8aa710cb6df1ba5b2079c5e3d9a70b365815d04e

6 years agoMerge "ZipUtils: Rewrite in terms of zip_archive::Inflate."
Narayan Kamath [Fri, 3 Nov 2017 10:05:28 +0000 (10:05 +0000)]
Merge "ZipUtils: Rewrite in terms of zip_archive::Inflate."

6 years agoMerge "Fix exception on MediaDrm invalid property access"
TreeHugger Robot [Fri, 3 Nov 2017 07:52:50 +0000 (07:52 +0000)]
Merge "Fix exception on MediaDrm invalid property access"

6 years agoMerge "Use multi-field logs to log permissions"
TreeHugger Robot [Fri, 3 Nov 2017 06:40:01 +0000 (06:40 +0000)]
Merge "Use multi-field logs to log permissions"

6 years agoMerge "Add FontFakery argument to minikin callbacks"
TreeHugger Robot [Fri, 3 Nov 2017 04:36:06 +0000 (04:36 +0000)]
Merge "Add FontFakery argument to minikin callbacks"

6 years agoMerge "Disable integer sanitization in gcIfManyNewRefs." am: 3485c844a0 am: 55f259d322
Ivan Lozano [Fri, 3 Nov 2017 04:11:01 +0000 (04:11 +0000)]
Merge "Disable integer sanitization in gcIfManyNewRefs." am: 3485c844a0 am: 55f259d322
am: 88dc91afb1

Change-Id: I54d01ae87246d16c7d3a4e01b1b4a85360a70df2

6 years agoMerge "Disable integer sanitization in gcIfManyNewRefs." am: 3485c844a0
Ivan Lozano [Fri, 3 Nov 2017 04:02:22 +0000 (04:02 +0000)]
Merge "Disable integer sanitization in gcIfManyNewRefs." am: 3485c844a0
am: 55f259d322

Change-Id: I07a0309f01bd5e79cbe0b5b7f77b93c0e1bebec4

6 years agoMerge "Disable integer sanitization in gcIfManyNewRefs."
Ivan Lozano [Fri, 3 Nov 2017 03:53:30 +0000 (03:53 +0000)]
Merge "Disable integer sanitization in gcIfManyNewRefs."
am: 3485c844a0

Change-Id: Iba57b0d2d6f0c611a91db9eddf95f0f147271956

6 years agoMerge "Disable integer sanitization in gcIfManyNewRefs."
Ivan Lozano [Fri, 3 Nov 2017 03:42:24 +0000 (03:42 +0000)]
Merge "Disable integer sanitization in gcIfManyNewRefs."

6 years agoMerge "Remove flaky AppWindowToken tests from presubmit"
TreeHugger Robot [Fri, 3 Nov 2017 02:32:12 +0000 (02:32 +0000)]
Merge "Remove flaky AppWindowToken tests from presubmit"

6 years agoMerge "Merge "Added default home values of CDMA roaming indicator" am: a7c51a3d7f...
Jack Yu [Fri, 3 Nov 2017 02:14:56 +0000 (02:14 +0000)]
Merge "Merge "Added default home values of CDMA roaming indicator" am: a7c51a3d7f" into stage-aosp-master am: 55636146d5
am: 1d2bae2a3a

Change-Id: I934746afc46ca5af9ec4b07716604505528f6cd7

6 years agoMerge "Merge "Added default home values of CDMA roaming indicator" am: a7c51a3d7f...
Jack Yu [Fri, 3 Nov 2017 02:02:06 +0000 (02:02 +0000)]
Merge "Merge "Added default home values of CDMA roaming indicator" am: a7c51a3d7f" into stage-aosp-master
am: 55636146d5

Change-Id: Ic9f26d50bf0059e0bc5330dc12d15eb04caba473

6 years agoMerge "Merge "Merge "[framework] Compile secondary dex files in isolation" am: e9e3bf...
Android Build Merger (Role) [Fri, 3 Nov 2017 01:59:31 +0000 (01:59 +0000)]
Merge "Merge "Merge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353" into stage-aosp-master am: 2dcee11c41  -s ours am: 8e16bfd335  -s ours"

6 years agoMerge "Merge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353...
Calin Juravle [Fri, 3 Nov 2017 01:57:50 +0000 (01:57 +0000)]
Merge "Merge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353" into stage-aosp-master am: 2dcee11c41  -s ours
am: 8e16bfd335  -s ours

Change-Id: I412d360beddec3271b79bc5db813ffba486ae738

6 years agoMerge "pull resource power manager stats into statsd"
TreeHugger Robot [Fri, 3 Nov 2017 01:54:40 +0000 (01:54 +0000)]
Merge "pull resource power manager stats into statsd"

6 years agoMerge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353 am: c14fc...
Calin Juravle [Fri, 3 Nov 2017 01:47:57 +0000 (01:47 +0000)]
Merge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353 am: c14fcf466a  -s ours
am: 9879b68de8  -s ours

Change-Id: Ibcab3e7b21962ff7b1a04e927e5b10bcd167e29a

6 years agoMerge "Merge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353...
Calin Juravle [Fri, 3 Nov 2017 01:45:55 +0000 (01:45 +0000)]
Merge "Merge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353" into stage-aosp-master
am: 2dcee11c41  -s ours

Change-Id: Ia5d6d12e917ac4a4b6cce926b61d300c3feb2541

6 years agoMerge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353
Calin Juravle [Fri, 3 Nov 2017 01:39:11 +0000 (01:39 +0000)]
Merge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353
am: c14fcf466a  -s ours

Change-Id: Ib5d2cc1ae84c270ce81bc44f6b413f3288a7b68a

6 years agoMerge "Merge "Added default home values of CDMA roaming indicator" am: a7c51a3d7f...
Android Build Merger (Role) [Fri, 3 Nov 2017 01:37:05 +0000 (01:37 +0000)]
Merge "Merge "Added default home values of CDMA roaming indicator" am: a7c51a3d7f" into stage-aosp-master

6 years agoMerge "Added default home values of CDMA roaming indicator"
Jack Yu [Fri, 3 Nov 2017 01:35:29 +0000 (01:35 +0000)]
Merge "Added default home values of CDMA roaming indicator"
am: a7c51a3d7f

Change-Id: Ia178ace4de625a358f284283fb4a5e5c9b4f7dd4

6 years agoMerge "Merge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353...
Android Build Merger (Role) [Fri, 3 Nov 2017 01:31:51 +0000 (01:31 +0000)]
Merge "Merge "[framework] Compile secondary dex files in isolation" am: e9e3bfe353" into stage-aosp-master

6 years agoMerge "[framework] Compile secondary dex files in isolation"
Calin Juravle [Fri, 3 Nov 2017 01:30:30 +0000 (01:30 +0000)]
Merge "[framework] Compile secondary dex files in isolation"
am: e9e3bfe353

Change-Id: I8f0d9303b3656a298700e26a377d89b7fdd81b4e

6 years agoAdded missing AutofillEventType so lint doesn't complain. am: 3dec72b601
Felipe Leme [Fri, 3 Nov 2017 01:25:43 +0000 (01:25 +0000)]
Added missing AutofillEventType so lint doesn't complain. am: 3dec72b601
am: 3d2f9d1467

Change-Id: I608b1e3ec3c887e50b4daa57cbfdeed0f30d23a0

6 years agoMerge "[framework] Compile secondary dex files in isolation"
Calin Juravle [Fri, 3 Nov 2017 01:21:27 +0000 (01:21 +0000)]
Merge "[framework] Compile secondary dex files in isolation"
am: e9e3bfe353

Change-Id: I7e09a8d5f03b77fa73f13e045e2ec7a2b26eb486

6 years agoMerge changes I4395fb12,I89a77a30
TreeHugger Robot [Fri, 3 Nov 2017 01:19:05 +0000 (01:19 +0000)]
Merge changes I4395fb12,I89a77a30

* changes:
  Expose headerless binary and flags in NanoAppBinary
  Sets up ContextHub service/manager interface for transactions

6 years agoMerge "AAPT2: Introduce command to run unit tests"
TreeHugger Robot [Fri, 3 Nov 2017 01:18:16 +0000 (01:18 +0000)]
Merge "AAPT2: Introduce command to run unit tests"

6 years agoMerge "Added default home values of CDMA roaming indicator"
Treehugger Robot [Fri, 3 Nov 2017 01:13:27 +0000 (01:13 +0000)]
Merge "Added default home values of CDMA roaming indicator"

6 years agoAdded missing AutofillEventType so lint doesn't complain.
Felipe Leme [Fri, 3 Nov 2017 01:08:10 +0000 (01:08 +0000)]
Added missing AutofillEventType so lint doesn't complain.
am: 3dec72b601

Change-Id: I858b95d6b94343c5d6c596c30adf4ad6baa772e6

6 years agoMerge "Add ApkVerityBuilder to contruct the verity tree"
TreeHugger Robot [Fri, 3 Nov 2017 01:06:14 +0000 (01:06 +0000)]
Merge "Add ApkVerityBuilder to contruct the verity tree"

6 years agoMerge "[framework] Compile secondary dex files in isolation"
Treehugger Robot [Fri, 3 Nov 2017 01:05:05 +0000 (01:05 +0000)]
Merge "[framework] Compile secondary dex files in isolation"

6 years agoMerge "Ensure closeSystemDialogs() is not oneway."
TreeHugger Robot [Fri, 3 Nov 2017 01:04:02 +0000 (01:04 +0000)]
Merge "Ensure closeSystemDialogs() is not oneway."

6 years agoMerge "Make the battery saver knobs hidden public,"
TreeHugger Robot [Fri, 3 Nov 2017 00:35:39 +0000 (00:35 +0000)]
Merge "Make the battery saver knobs hidden public,"

6 years agoMerge "Add a setting to control JIT for priv apps."
TreeHugger Robot [Fri, 3 Nov 2017 00:14:59 +0000 (00:14 +0000)]
Merge "Add a setting to control JIT for priv apps."

6 years agoAdded default home values of CDMA roaming indicator
Jack Yu [Thu, 2 Nov 2017 17:08:10 +0000 (10:08 -0700)]
Added default home values of CDMA roaming indicator

Some carriers use the standard roaming indicator number
assigment for roaming indication. Added the default home values
suggested by 3GPP2 C.R1001 table 8.1-1.

Test: Manual
bug: 67855275
Change-Id: Ib0a613ad8caba74645930f3e5188999be08b2116
(cherry picked from commit cf4a8b40a2ff0496c4ccf08f251c0c425fd673f0)

6 years agoMerge "AAPT2: Update tests to reflect new development API 'P'"
Adam Lesinski [Thu, 2 Nov 2017 23:28:32 +0000 (23:28 +0000)]
Merge "AAPT2: Update tests to reflect new development API 'P'"

6 years agoMerge "Added default home values of CDMA roaming indicator"
TreeHugger Robot [Thu, 2 Nov 2017 23:28:07 +0000 (23:28 +0000)]
Merge "Added default home values of CDMA roaming indicator"

6 years agoMerge "Expose some methods in the recents lib."
TreeHugger Robot [Thu, 2 Nov 2017 23:18:07 +0000 (23:18 +0000)]
Merge "Expose some methods in the recents lib."

6 years agoEnsure closeSystemDialogs() is not oneway.
Winson Chung [Thu, 2 Nov 2017 22:57:28 +0000 (15:57 -0700)]
Ensure closeSystemDialogs() is not oneway.

Bug: 68787785
Test: Launch overview with QS down
Change-Id: I136a3d2e45a91abe364027747bca03d4edb454c5

6 years agoMerge "Revert "Make CHANGE_APP_IDLE_STATE a system API""
Andreas Gampe [Thu, 2 Nov 2017 22:45:16 +0000 (22:45 +0000)]
Merge "Revert "Make CHANGE_APP_IDLE_STATE a system API""

6 years agoMerge "1. Enable FIELD_TYPE IDs defined in ProtoOutputStream 2. Migrate CountMetricPr...
TreeHugger Robot [Thu, 2 Nov 2017 22:35:54 +0000 (22:35 +0000)]
Merge "1. Enable FIELD_TYPE IDs defined in ProtoOutputStream 2. Migrate CountMetricProducer to use ProtoOutputStream"

6 years agoAdd ApkVerityBuilder to contruct the verity tree
Victor Hsieh [Tue, 24 Oct 2017 22:46:32 +0000 (15:46 -0700)]
Add ApkVerityBuilder to contruct the verity tree

Test: Locally add some code in PackageManagerService to generate the
      verity tree.  Root hash and the tree is consistent with the output
      of apksig.
Test: With local mod, with apk size of 400/100/20/5 MB, verification
      time is about the same for the existing algorithm before and after
      the refactoring.
Test: With local mod, with a 400 MB apk, verification time of the new
      algorithm is slower (2s) than the 1MB-based algorithm (600ms).
Bug: 30972906

Change-Id: Ie429cf9b80884e56a8e0882e1c125c8a3f8feab4

6 years agoAAPT2: Introduce command to run unit tests
Adam Lesinski [Thu, 2 Nov 2017 22:23:36 +0000 (15:23 -0700)]
AAPT2: Introduce command to run unit tests

This command will execute the aapt2_tests with a parameter
to emit XML test results into the out/dist directory.

Test: manual
Change-Id: I10cf119bb47b7698ddd91b1adf7323e51d169970

6 years agoMerge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared" am: eb3bff53f6...
Andreas Gampe [Thu, 2 Nov 2017 22:31:46 +0000 (22:31 +0000)]
Merge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared" am: eb3bff53f6 am: 6f8a3cee0e
am: 36f6ccfdde

Change-Id: If4954cd3058264492cf9e84f898b928da39c6fd4

6 years agoMerge "Give VoiceInteractionService access to shortcuts."
TreeHugger Robot [Thu, 2 Nov 2017 22:26:40 +0000 (22:26 +0000)]
Merge "Give VoiceInteractionService access to shortcuts."

6 years agoMerge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared" am: eb3bff53f6
Andreas Gampe [Thu, 2 Nov 2017 22:21:57 +0000 (22:21 +0000)]
Merge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared" am: eb3bff53f6
am: 6f8a3cee0e

Change-Id: Ic2399e02d2102f984defb92c29b3568b94ebb244

6 years agoMerge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"
Andreas Gampe [Thu, 2 Nov 2017 22:13:37 +0000 (22:13 +0000)]
Merge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"
am: eb3bff53f6

Change-Id: I285d7cf715dc0b2e08d7003cecfd92bfc3b9c8da

6 years agoMerge "Turn default gradient into solid black"
TreeHugger Robot [Thu, 2 Nov 2017 22:06:43 +0000 (22:06 +0000)]
Merge "Turn default gradient into solid black"

6 years agoRevert "Make CHANGE_APP_IDLE_STATE a system API"
Andreas Gampe [Thu, 2 Nov 2017 21:58:15 +0000 (21:58 +0000)]
Revert "Make CHANGE_APP_IDLE_STATE a system API"

This reverts commit c433ee54512c1aa472baad1930a40b319e7ce1a2.

Fails on walleye with:

java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.settings: android.permission.CHANGE_APP_IDLE_STATE, com.android.shell: android.permission.CHANGE_APP_IDLE_
STATE}

Bug: 63527785
Change-Id: I7a30615d20a6c22467a41d4b2d4f84f7702ce195

6 years agoMerge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"
Treehugger Robot [Thu, 2 Nov 2017 21:57:29 +0000 (21:57 +0000)]
Merge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"

6 years agopull resource power manager stats into statsd
Chenjie Yu [Tue, 31 Oct 2017 20:49:36 +0000 (13:49 -0700)]
pull resource power manager stats into statsd

Test: tested on device and check output
Change-Id: I65932a5527d6099e12546b6928a24f3616e54e16

6 years agoDisable integer sanitization in gcIfManyNewRefs.
Ivan Lozano [Thu, 2 Nov 2017 21:10:57 +0000 (14:10 -0700)]
Disable integer sanitization in gcIfManyNewRefs.

Prevent gcIfManyNewRefs from emitting runtime errors on
integer sanitized builds by disabling unsigned integer overflow
sanitization.

Test: Compiles, device boots.
Bug: 30969751
Change-Id: I90bbf831d03a60b40e047327d633102444058f69

6 years agoMerge "On standalones, stay in vr mode until standby"
Steven Thomas [Thu, 2 Nov 2017 21:14:15 +0000 (21:14 +0000)]
Merge "On standalones, stay in vr mode until standby"

6 years agoAAPT2: Update tests to reflect new development API 'P'
Adam Lesinski [Thu, 2 Nov 2017 21:12:38 +0000 (14:12 -0700)]
AAPT2: Update tests to reflect new development API 'P'

Bug: 68346913
Test: make aapt2_tests
Change-Id: Ic1435c529b6c80206d2326ac0da076777dffcc9a

6 years agoUse multi-field logs to log permissions
Philip P. Moltmann [Wed, 25 Oct 2017 21:32:41 +0000 (14:32 -0700)]
Use multi-field logs to log permissions

Before this change each permission+action combo had it's own ID. This
was very fragile and did not work for non-system permissions.

Now the action is the log-type and the permission is just a field in the
log.

Test: Used API 23 and API 26 apps to grant and revoke permission and
      confirmed logs are as expected

Change-Id: I51f038dd7ab0a9ea269cafca23bfe3e5b181feb1

6 years agoMerge "Center align AoD2 notifications"
TreeHugger Robot [Thu, 2 Nov 2017 20:54:16 +0000 (20:54 +0000)]
Merge "Center align AoD2 notifications"

6 years agoMerge "Revert "Suppress immersive mode cling in LockTask mode.""
Ian Pedowitz [Thu, 2 Nov 2017 20:45:23 +0000 (20:45 +0000)]
Merge "Revert "Suppress immersive mode cling in LockTask mode.""

6 years agoAdded missing AutofillEventType so lint doesn't complain.
Felipe Leme [Thu, 2 Nov 2017 20:42:17 +0000 (13:42 -0700)]
Added missing AutofillEventType so lint doesn't complain.

Test: In TreeHugger we trust!
Fixes: 68806712

Change-Id: I2f392161e71e0eca25a4a104b67e7d2982c90341

6 years agoMerge "In Accessibility code, wrap Binder.restoreCallingIdentity() in finally{}."
Peter Visontay [Thu, 2 Nov 2017 20:42:19 +0000 (20:42 +0000)]
Merge "In Accessibility code, wrap Binder.restoreCallingIdentity() in finally{}."

6 years agoMerge "Fix StateMachine init/quit race." am: 5c7de22a06 am: 1ef2e98a14
con [Thu, 2 Nov 2017 20:37:07 +0000 (20:37 +0000)]
Merge "Fix StateMachine init/quit race." am: 5c7de22a06 am: 1ef2e98a14
am: 7f404200e0  -s ours

Change-Id: I19eaca9acea75f3d9c4f8aad96f205063db24e0c

6 years agoMerge "Customizable corner radius for dialogs"
TreeHugger Robot [Thu, 2 Nov 2017 20:31:09 +0000 (20:31 +0000)]
Merge "Customizable corner radius for dialogs"

6 years agoMerge "Add metric for imei dialog fragment"
Jeffrey Huang [Thu, 2 Nov 2017 20:30:44 +0000 (20:30 +0000)]
Merge "Add metric for imei dialog fragment"

6 years agoMerge "Fix StateMachine init/quit race." am: 5c7de22a06
con [Thu, 2 Nov 2017 20:28:26 +0000 (20:28 +0000)]
Merge "Fix StateMachine init/quit race." am: 5c7de22a06
am: 1ef2e98a14

Change-Id: If46700cb9701154c97baa8be28457f5fce30ce54

6 years agoMerge "Fix StateMachine init/quit race."
con [Thu, 2 Nov 2017 20:15:35 +0000 (20:15 +0000)]
Merge "Fix StateMachine init/quit race."
am: 5c7de22a06

Change-Id: I26ab138d66366efbcc515e5da0ed21de3e90fa9a

6 years agoMerge "Expose Intent#EXTRA_REASON as a SystemApi."
Jeff Davidson [Thu, 2 Nov 2017 20:10:18 +0000 (20:10 +0000)]
Merge "Expose Intent#EXTRA_REASON as a SystemApi."

6 years agoMerge "Fix StateMachine init/quit race."
con [Thu, 2 Nov 2017 20:05:09 +0000 (20:05 +0000)]
Merge "Fix StateMachine init/quit race."

6 years agoMerge "Make CHANGE_APP_IDLE_STATE a system API"
Amith Yamasani [Thu, 2 Nov 2017 19:49:06 +0000 (19:49 +0000)]
Merge "Make CHANGE_APP_IDLE_STATE a system API"

6 years agoMerge "Avoid isKeyguardShowing() before startKeyguard()"
TreeHugger Robot [Thu, 2 Nov 2017 19:45:34 +0000 (19:45 +0000)]
Merge "Avoid isKeyguardShowing() before startKeyguard()"

6 years agoMerge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive" am...
Andreas Huber [Thu, 2 Nov 2017 19:37:10 +0000 (19:37 +0000)]
Merge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive" am: 80bb035d4e am: 89ebce3337
am: 0fb7b7ae93

Change-Id: I7a5ce8d5e379578567b4ccc8aaf5ae41a46e0a8f

6 years agoMerge changes from topic "explicit_shared_compile_reason_cherrypick" am: 5e5fc34b42...
Calin Juravle [Thu, 2 Nov 2017 19:27:01 +0000 (19:27 +0000)]
Merge changes from topic "explicit_shared_compile_reason_cherrypick" am: 5e5fc34b42 am: 64e4210099  -s ours
am: 0cff77d293  -s ours

Change-Id: I2126bc739af9dffe7cacbf9567da065adc3a875b

6 years agoFix spelling mistake in dumpsys output am: 527a2b205c am: fa4c521414 -s ours
Calin Juravle [Thu, 2 Nov 2017 19:22:04 +0000 (19:22 +0000)]
Fix spelling mistake in dumpsys output am: 527a2b205c am: fa4c521414  -s ours
am: fa449825dd  -s ours

Change-Id: Ib9495bd450f663859742fb6eaa147af17985dfb0

6 years agoAdd a setting to control JIT for priv apps.
Alex Salo [Wed, 1 Nov 2017 21:52:59 +0000 (14:52 -0700)]
Add a setting to control JIT for priv apps.

This flag can be controlled by Phenotype starting GmsCore v9.

Bug: 67415855
Test: not needed
Change-Id: I07d31dd209ab0a0e48ce745f1b54be63f5993e5d

6 years agoMerge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive" am...
Andreas Huber [Thu, 2 Nov 2017 19:10:04 +0000 (19:10 +0000)]
Merge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive" am: 80bb035d4e
am: 89ebce3337

Change-Id: Ia3abede66803190d1a6ec4ac141eb851207ce05d

6 years agoAAPT2: Better error messages for ManifestFixer
Adam Lesinski [Thu, 2 Nov 2017 19:07:08 +0000 (12:07 -0700)]
AAPT2: Better error messages for ManifestFixer

AAPT2 will now print the XML hierarchy where it found an unexpected
element.

Test: make aapt2_tests
Change-Id: Iac7918b2f344fab874f0a3e7aa9c6936ecde8913

6 years agoMerge changes from topic "explicit_shared_compile_reason_cherrypick" am: 5e5fc34b42
Calin Juravle [Thu, 2 Nov 2017 18:59:16 +0000 (18:59 +0000)]
Merge changes from topic "explicit_shared_compile_reason_cherrypick" am: 5e5fc34b42
am: 64e4210099  -s ours

Change-Id: I53aa31310ebf9e1486ad7172e5fd75eb1509ff2d

6 years agoMerge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive"
Andreas Huber [Thu, 2 Nov 2017 18:58:30 +0000 (18:58 +0000)]
Merge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive"
am: 80bb035d4e

Change-Id: I35bdd8fe5b80917b8b574e97f10f77df59045efd

6 years agoMerge "Merge "Handle configuration splits when creating the class loader context...
Android Build Merger (Role) [Thu, 2 Nov 2017 18:58:18 +0000 (18:58 +0000)]
Merge "Merge "Handle configuration splits when creating the class loader context" am: 88946d4cf2 am: ee41710ef5  -s ours am: d5b968c75b  -s ours"

6 years agoMerge "Fix possible NPE crash when adding new accounts in Settings."
Lu Chen [Thu, 2 Nov 2017 18:56:57 +0000 (18:56 +0000)]
Merge "Fix possible NPE crash when adding new accounts in Settings."

6 years agoMerge "Handle configuration splits when creating the class loader context" am: 88946d...
Calin Juravle [Thu, 2 Nov 2017 18:56:22 +0000 (18:56 +0000)]
Merge "Handle configuration splits when creating the class loader context" am: 88946d4cf2 am: ee41710ef5  -s ours
am: d5b968c75b  -s ours

Change-Id: Ia7a6bdc5aaaa256fb638e722d1448306a0dc9479

6 years agoFix spelling mistake in dumpsys output am: 527a2b205c
Calin Juravle [Thu, 2 Nov 2017 18:55:30 +0000 (18:55 +0000)]
Fix spelling mistake in dumpsys output am: 527a2b205c
am: fa4c521414  -s ours

Change-Id: I36e808545c34205bf2f3c4f4de457ad3999cf1c5

6 years agoMerge "Merge "Ensure dexopt is executed only with consistent package data" am: 1ad030...
Android Build Merger (Role) [Thu, 2 Nov 2017 18:46:15 +0000 (18:46 +0000)]
Merge "Merge "Ensure dexopt is executed only with consistent package data" am: 1ad0304e7d am: 1c6eeaec1b  -s ours am: eb68bfac36  -s ours"

6 years agoMerge "Handle configuration splits when creating the class loader context" am: 88946d4cf2
Calin Juravle [Thu, 2 Nov 2017 18:44:34 +0000 (18:44 +0000)]
Merge "Handle configuration splits when creating the class loader context" am: 88946d4cf2
am: ee41710ef5  -s ours

Change-Id: I3a80cea56b5a310f8c0e9c6eff5586e98fe5df42

6 years agoMerge changes from topic "explicit_shared_compile_reason_cherrypick"
Calin Juravle [Thu, 2 Nov 2017 18:44:10 +0000 (18:44 +0000)]
Merge changes from topic "explicit_shared_compile_reason_cherrypick"
am: 5e5fc34b42

Change-Id: I5af5a20cae531d5fc93faae00dfbe399f08da766

6 years agoMerge "Ensure dexopt is executed only with consistent package data" am: 1ad0304e7d...
Calin Juravle [Thu, 2 Nov 2017 18:44:10 +0000 (18:44 +0000)]
Merge "Ensure dexopt is executed only with consistent package data" am: 1ad0304e7d am: 1c6eeaec1b  -s ours
am: eb68bfac36  -s ours

Change-Id: I60228e1bb6b2a3fbeecb0c423604aaabf5833501

6 years agoMerge "Add support for minimized mode for right dock side for tablets (1/2)"
TreeHugger Robot [Thu, 2 Nov 2017 18:43:18 +0000 (18:43 +0000)]
Merge "Add support for minimized mode for right dock side for tablets (1/2)"

6 years agoFix StateMachine init/quit race.
Calvin On [Wed, 1 Nov 2017 20:37:18 +0000 (13:37 -0700)]
Fix StateMachine init/quit race.

The quitNow method places the SM_QUIT_CMD at the front
of the queue. This can cause StateMachine to throw exception
if it has not yet processed the SM_INIT_CMD from start().

Bug: 67370902
Test: make checkbuild
Test: StatMachineTest unittest
Change-Id: I409242845854e70b77ad9b2378b69faed076847c
Merged-In: I7cec7bb91e0447e3c565d33cb7c34ccf59566639

6 years agoFix spelling mistake in dumpsys output
Calin Juravle [Thu, 2 Nov 2017 18:39:26 +0000 (18:39 +0000)]
Fix spelling mistake in dumpsys output
am: 527a2b205c

Change-Id: I3bffb95e459adcf0457479f3b87583ba7600fc03

6 years agoMerge "Ensure dexopt is executed only with consistent package data" am: 1ad0304e7d
Calin Juravle [Thu, 2 Nov 2017 18:34:38 +0000 (18:34 +0000)]
Merge "Ensure dexopt is executed only with consistent package data" am: 1ad0304e7d
am: 1c6eeaec1b  -s ours

Change-Id: I506470013e57b288d54eb5bc308eb79c7c224e69

6 years agoMerge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive"
Treehugger Robot [Thu, 2 Nov 2017 18:33:18 +0000 (18:33 +0000)]
Merge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive"

6 years agoMerge "Handle configuration splits when creating the class loader context"
Calin Juravle [Thu, 2 Nov 2017 18:28:41 +0000 (18:28 +0000)]
Merge "Handle configuration splits when creating the class loader context"
am: 88946d4cf2

Change-Id: I1ed3175ef2094979477dca44b5f0bf56eb34d880

6 years agoMerge "Ensure dexopt is executed only with consistent package data"
Calin Juravle [Thu, 2 Nov 2017 18:24:12 +0000 (18:24 +0000)]
Merge "Ensure dexopt is executed only with consistent package data"
am: 1ad0304e7d

Change-Id: I32a9c3cf57d0726d7959eb331530fab7f79a7619

6 years agoMerge "Enable Window Dumpsys Section"
TreeHugger Robot [Thu, 2 Nov 2017 18:19:37 +0000 (18:19 +0000)]
Merge "Enable Window Dumpsys Section"

6 years agoMerge changes from topic "explicit_shared_compile_reason_cherrypick"
Treehugger Robot [Thu, 2 Nov 2017 18:13:54 +0000 (18:13 +0000)]
Merge changes from topic "explicit_shared_compile_reason_cherrypick"

* changes:
  Add an explicit reason for the compilation of shared apks
  Fix spelling mistake in dumpsys output

6 years ago1. Enable FIELD_TYPE IDs defined in ProtoOutputStream
yro [Wed, 1 Nov 2017 06:06:53 +0000 (23:06 -0700)]
1. Enable FIELD_TYPE IDs defined in ProtoOutputStream
2. Migrate CountMetricProducer to use ProtoOutputStream

Test: statsd, statsd_test
Change-Id: I33a1ea77a49b045818a48923b2263cb594ab0013

6 years agoFix exception on MediaDrm invalid property access
Jeff Tinker [Wed, 1 Nov 2017 22:29:38 +0000 (15:29 -0700)]
Fix exception on MediaDrm invalid property access

Accessing an invalid MediaDrm property would result in
an IllegalStateException.  This change causes
IllegalArgumentException to be thrown instead, which
is more appropriate.

Test: android.media.cts.ClearKeySystemTest passes
  and it fails prior to this CL.

bug:68765217
Change-Id: I858575dc8fe643a88381da49b543c5cc0d266e02

6 years agoMerge "Handle configuration splits when creating the class loader context"
Treehugger Robot [Thu, 2 Nov 2017 18:11:02 +0000 (18:11 +0000)]
Merge "Handle configuration splits when creating the class loader context"

6 years agoMerge "Ensure dexopt is executed only with consistent package data"
Treehugger Robot [Thu, 2 Nov 2017 18:10:42 +0000 (18:10 +0000)]
Merge "Ensure dexopt is executed only with consistent package data"

6 years agoAdd metric for imei dialog fragment
jeffreyhuang [Fri, 27 Oct 2017 18:22:45 +0000 (11:22 -0700)]
Add metric for imei dialog fragment

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I73ac64b8e23bb6f88f3b68e4febf6ca5f9032f23