Closed ailieff closed 7 years ago
Does the app you're hooking (not your own app/module!) have access to that path?
Should have access, as its a system app. Is this the correct way of returning an image to a drawable resource?
If you have any other ideas, I can try them out.
It should work like this, but it's been a long time since I developed this API. Things you could try:
ColorDrawable
to see if the replacement works in general.new BitmapDrawable()
approach for an ImageView
in a simple app, without any Xposed involvment.
Im trying to find a way to change a leanback launcher's background image. Swapping it with a resource within my module works just fine via the fwd method. Although, I wanted to make the user place a png file in the internal (or external) storage and use this as a background image.
This is in Marshmallow with framework version 86 (tried also 82) installed.
Not sure if my code to return the correct image works - there are no exceptions while running the module, just the image is missing (and black). Strage is writable (not that Im writing there)
Any ideas as to why its not changing the image, or perhaps some other approach?