XposedInstaller icon indicating copy to clipboard operation
XposedInstaller copied to clipboard

Source code of AndroidHiddenAPI.jar

Open Bubu opened this issue 7 years ago • 5 comments

Where can we find the source code corresponding to the AndroidHiddenAPI.jar file? How can this be build?

Is it actually still used? Because it hasn't been updated for over 2 year. Any input would be appreciated.

Bubu avatar Oct 11 '17 17:10 Bubu

Actually, I'm not sure how I created that file... But it only contains a single class, android.os.FileUtils. I could probably convert this to use reflection instead.

rovo89 avatar Oct 12 '17 18:10 rovo89

Thanks for your answer!

Not including this jar file would enable F-Droid to fully build the xposed installer from source. (See https://gitlab.com/fdroid/rfp/issues/331)

Bubu avatar Oct 13 '17 10:10 Bubu

OK! Please understand though that this doesn't have high priority for me.

Hm, and actually, it should be enough to keep this as provided dependency, not compile. The included class is present in Android itself, the app should just reference it instead of including it. I haven't tested this yet, but that would be a trivial change until I have converted all the calls. Maybe that would be more acceptable, given that there would be no "unknown" code actually included in the APK?

rovo89 avatar Oct 13 '17 10:10 rovo89

@Bubu is this acceptable? Works for me, btw.

dimqua avatar Oct 15 '17 13:10 dimqua

I think this should be fine for f-droid then but let's hear what others have to say in rfp#331.

Bubu avatar Oct 15 '17 16:10 Bubu