private static PackageInfo newPackageInfo ( PackageInfo orig ) { Parcel parcel = Parcel . obtain ( ) ; orig . writeToParcel ( parcel , 0 ) ; parcel . setDataPosition ( 0 ) ; return PackageInfo . CREATOR . createFromParcel ( parcel ) ; }
There is no copy constructor for PackageInfo