souramoo / Needle

Android framework injection made easy
GNU General Public License v3.0
100 stars 28 forks source link

Fix patching for CM11 #2

Closed michitux closed 8 years ago

michitux commented 8 years ago

In CM11 the generatePackageInfo-method accepts a HashSet (see PackageParser.java:306), this adjusts the code to patch this method, too.

souramoo commented 8 years ago

Thanks! Looks like it would also fix it for 10.1 and 10.2. If anyone complains about cm-9 and below (which all seem to be yet a different definition that thankfully remains constant) I'll add that in too but won't for now. :P