diff options
author | hyemin.hwang <hyemin.hwang@lge.com> | 2015-07-09 09:16:12 +0900 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2015-07-15 17:14:24 -0700 |
commit | b4faf9810d5b1cb01b4663cd48f13f6487edc64b (patch) | |
tree | a86e12c4edb2b4ce346e18fc9b738c1bb143ac59 /services/core/java | |
parent | f6586cbde7d4612963eb2e8a2413235630676b83 (diff) | |
download | frameworks_base-b4faf9810d5b1cb01b4663cd48f13f6487edc64b.zip frameworks_base-b4faf9810d5b1cb01b4663cd48f13f6487edc64b.tar.gz frameworks_base-b4faf9810d5b1cb01b4663cd48f13f6487edc64b.tar.bz2 |
Fix a bug disappearing installerPackageName info of packages after reboot.
If user install apps from playstore, system has installerPackageName attribute of app.
but, after reboot, some apps(have sharedUserID) installerPackageName attribute disappearing.
because lack of copy routine.
So, I added copy routine(installerPackageName).
Testcase :
1. Install app(has sharedUserId, ex Lync2013) from market.
2. Confirm package info from packages.xml(exist installer info).
3. reboot.
4. Re-confirm package info from packages.xml(not exist installer info).
Cherry-pick from AOSP master.
Bug 22513758
Change-Id: I3fea3e573c056f6c2f574715d2ebef4df8b75a68
Diffstat (limited to 'services/core/java')
-rw-r--r-- | services/core/java/com/android/server/pm/PackageSettingBase.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/pm/PackageSettingBase.java b/services/core/java/com/android/server/pm/PackageSettingBase.java index 4faf75a..bbdfe31 100644 --- a/services/core/java/com/android/server/pm/PackageSettingBase.java +++ b/services/core/java/com/android/server/pm/PackageSettingBase.java @@ -238,6 +238,7 @@ abstract class PackageSettingBase extends SettingBase { installStatus = base.installStatus; keySetData = base.keySetData; verificationInfo = base.verificationInfo; + installerPackageName = base.installerPackageName; } private PackageUserState modifyUserState(int userId) { |