OSDN Git Service

Fix ApplicationInfo copy ctor
authorChristopher Tate <ctate@google.com>
Wed, 17 Oct 2012 00:14:34 +0000 (17:14 -0700)
committerChristopher Tate <ctate@google.com>
Wed, 17 Oct 2012 00:14:34 +0000 (17:14 -0700)
Need to copy ALL the fields!

Bug 7360899

Change-Id: Ie6ed2d6f41c2efaf793ebf111adc8fa5e8b57d7c

core/java/android/content/pm/ApplicationInfo.java

index a0283d3..32cc7fd 100644 (file)
@@ -554,6 +554,7 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
         manageSpaceActivityName = orig.manageSpaceActivityName;
         descriptionRes = orig.descriptionRes;
         uiOptions = orig.uiOptions;
+        backupAgentName = orig.backupAgentName;
     }