mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 12:17:57 +03:00
PackageParser: fix use-after-release
This commit is contained in:
parent
7354864e34
commit
7aea3a6920
1 changed files with 3 additions and 1 deletions
|
@ -988,11 +988,13 @@ public class PackageParser {
|
|||
pkg.mSharedUserLabel = sa.getResourceId(
|
||||
com.android.internal.R.styleable.AndroidManifest_sharedUserLabel, 0);
|
||||
}
|
||||
sa.recycle();
|
||||
|
||||
pkg.installLocation = sa.getInteger(
|
||||
com.android.internal.R.styleable.AndroidManifest_installLocation,
|
||||
PARSE_DEFAULT_INSTALL_LOCATION);
|
||||
|
||||
sa.recycle();
|
||||
|
||||
pkg.applicationInfo.installLocation = pkg.installLocation;
|
||||
|
||||
/* Set the global "forward lock" flag */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue