Fix the task's process name when it's resolved by detecting started process.

When target_process_selection is set to any process, the detected
process name is not passed to config_resolver which causes method offset
lookup to use an empty process name and fail. This change fixes the
problem by passing the resolved process name back to config_resolver.

Bug: 400457896
Test: m com.google.android.uprobestats && adb install
out/soong/.intermediates/packages/modules/UprobeStats/apex/com.android.uprobestats/android_common_com.google.android.uprobestats_com.google.android.uprobestats/com.google.android.uprobestats.apex
&& adb reboot && atest uprobestats-test
Flag: android.uprobestats.mainline.flags.enable_bitmap_snapshot

Change-Id: I4b8a4bb4a4ae57778c83e05d8b666cf80dcdcf5a
2 files changed
tree: 99fccfac7cc7474e4a63e6d1f2e05beeb0f7f2f1
  1. apex/
  2. rust/
  3. src/
  4. OWNERS
  5. PREUPLOAD.cfg