miracle2k / android-autostarts

Tool to manage autostarts (broadcast receivers) on an Android device.
http://elsdoerfer.name/=android-autostarts
GNU General Public License v3.0
207 stars 88 forks source link

Work around Xperia manifest bug #9

Closed michalbednarski closed 10 years ago

michalbednarski commented 10 years ago

Fix #1.

We check various assetCookie values using undocumented getCookieName method and comparing values to path returned by getPackageResourcePath. If anything goes wrong with workaround old method of opening manifest will be used so it shouldn't cause problems.

This also fixes bug that caused "android" system package receivers not being shown on some Samsung devices.

miracle2k commented 10 years ago

Excellent patch, thanks a lot!