Skip to content

Cannot hook private/hidden API #166

Open
@vegedreamgagnoa

Description

It's weird. I tried to hook android.view.WindowManagerGlobal#getInstance method on an x86_64 Android Emulator (API 28/Android 9) as a sample and YAHFA reported that the hook and backup done, but actually the method was not hooked. Hooking non-private/non-hidden API was not a problem!

Could you help? Pine and Whale works great in this case (both can easily work with Private/Hidden API/Class); I don't see why YAHFA is failing in this one.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions