Add handling for Tweak::ArrayParams against no param method

Assuming source function: foo()
       and dest function: onEnterFoo(Object[] thisAndParams)

we should be able to call

   AddTransformation<EntryHook>(Tweak::ArrayParams)

on foo(), which would call onEnterFoo(...) with an array of size 1 (just
containing the `this` instance).

Currently, however, this crashes. This CL fixes the underlying issue.

Fixes: 148959190
Test: Covered by existing
Change-Id: Ic61fe42828814a19b4d00c8ec3f444b859ba5743
1 file changed
tree: c34786097a638e97d60fcf7b73f11c1f2e3c1940
  1. dexter/
  2. slicer/
  3. testdata/
  4. .clang-format
  5. Android.bp
  6. OWNERS
  7. README.md
  8. TEST_MAPPING
README.md

This is the home of the .dex manipulation library (slicer) and command line tool (dexter).

Both the command line tool and the library can be built for host and device targets.