public void writeToParcel(Parcel dest, int parcelableFlags) {
   super.writeToParcel(dest, parcelableFlags);
   dest.writeString(targetPackage);
   dest.writeString(sourceDir);
   dest.writeString(publicSourceDir);
   dest.writeString(dataDir);
   dest.writeInt((handleProfiling == false) ? 0 : 1);
   dest.writeInt((functionalTest == false) ? 0 : 1);
 }
コード例 #2
0
 public void writeToParcel(Parcel dest, int parcelableFlags) {
   super.writeToParcel(dest, parcelableFlags);
   dest.writeString(taskAffinity);
   dest.writeString(permission);
   dest.writeString(processName);
   dest.writeString(className);
   dest.writeInt(theme);
   dest.writeInt(flags);
   dest.writeInt(requiresSmallestWidthDp);
   dest.writeInt(compatibleWidthLimitDp);
   dest.writeInt(largestWidthLimitDp);
   dest.writeString(scanSourceDir);
   dest.writeString(scanPublicSourceDir);
   dest.writeString(sourceDir);
   dest.writeString(publicSourceDir);
   dest.writeStringArray(splitSourceDirs);
   dest.writeStringArray(splitPublicSourceDirs);
   dest.writeString(nativeLibraryDir);
   dest.writeString(secondaryNativeLibraryDir);
   dest.writeString(nativeLibraryRootDir);
   dest.writeInt(nativeLibraryRootRequiresIsa ? 1 : 0);
   dest.writeString(primaryCpuAbi);
   dest.writeString(secondaryCpuAbi);
   dest.writeStringArray(resourceDirs);
   dest.writeString(seinfo);
   dest.writeStringArray(sharedLibraryFiles);
   dest.writeString(dataDir);
   dest.writeInt(uid);
   dest.writeInt(targetSdkVersion);
   dest.writeInt(versionCode);
   dest.writeInt(enabled ? 1 : 0);
   dest.writeInt(enabledSetting);
   dest.writeInt(installLocation);
   dest.writeString(manageSpaceActivityName);
   dest.writeString(backupAgentName);
   dest.writeInt(descriptionRes);
   dest.writeInt(uiOptions);
 }