There is an application that is protected by signature verification, but there is a patch that replaces the original signature -> it is always correct. The patch changes the android: name line in the <application> block (not the activity, namely application) to the custom path to the handler that created the patch. Apparently, the handler responds to getPackageInfo. I tried to check the contents of android: name like this: Context.getPackageManager.getApplicationInfo().name As a result, I always get null (even after the patch).
|
ApplicationInfo.nameis something else. TryApplicationInfo.classNameor get the name directly from the Application-classactivity.getApplication().getClass().getName()orcontext.getApplicationContext().getClass().getName(). - woesss