Skip to content
Commit d2a82123 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Make registerDexModule a nop regardless ART Service is enabled or not.

ART Service doesn't support that method, but the callback should still
be called, for compatibility.

This also disables the method in the legacy code, to align behaviour
when ART Service is enabled or not.

The main problem with this API is that it doesn't take a classloader
context, so it is hard to produce dexopt artifacts that can be
succesfully loaded by the runtime later. This problem exists in the
legacy code as well.

Test: atest DexModuleRegistrationTest
  with and without dalvik.vm.useartservice=true
Bug: 274096060
Bug: 37290820
Bug: 251903639
Change-Id: Ie1510268a721e846408b40819cd681063cfbb485
parent 4ae13e08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment