Exemple #1
0
 public void writeToParcel(Parcel paramParcel, int paramInt) {
   int i = 1;
   paramParcel.writeParcelable(ParcelableProto.forProto(this.docid), paramInt);
   paramParcel.writeString(this.docidStr);
   paramParcel.writeParcelable(this.document, paramInt);
   paramParcel.writeInt(this.offerType);
   paramParcel.writeString(this.offerId);
   paramParcel.writeInt(this.appVersionCode);
   paramParcel.writeString(this.appTitle);
   paramParcel.writeString(this.appContinueUrl);
   int j;
   if (this.appEverExternallyHosted == null) {
     j = 0;
     paramParcel.writeByte((byte) j);
     if (this.appEverExternallyHosted != null) {
       if (!this.appEverExternallyHosted.booleanValue()) {
         break label162;
       }
     }
   }
   for (; ; ) {
     paramParcel.writeByte((byte) i);
     paramParcel.writeInt(this.appInstallLocation);
     paramParcel.writeString(this.voucherId);
     paramParcel.writeParcelable(ParcelableProto.forProto(this.inAppPurchaseInfo), paramInt);
     paramParcel.writeString(this.callingPackage);
     paramParcel.writeInt(this.indirectProvisioningType);
     return;
     j = i;
     break;
     label162:
     i = 0;
   }
 }
Exemple #2
0
 private PurchaseParams(Parcel paramParcel) {
   this.docid = ((Common.Docid) ParcelableProto.getProtoFromParcel(paramParcel));
   this.docidStr = paramParcel.readString();
   this.document = ((Document) paramParcel.readParcelable(Document.class.getClassLoader()));
   this.offerType = paramParcel.readInt();
   this.offerId = paramParcel.readString();
   this.appVersionCode = paramParcel.readInt();
   this.appTitle = paramParcel.readString();
   this.appContinueUrl = paramParcel.readString();
   Boolean localBoolean;
   if (paramParcel.readByte() != 0) {
     if (paramParcel.readByte() != 0) {
       localBoolean = Boolean.TRUE;
     }
   }
   for (this.appEverExternallyHosted = localBoolean; ; this.appEverExternallyHosted = null) {
     this.appInstallLocation = paramParcel.readInt();
     this.voucherId = paramParcel.readString();
     this.inAppPurchaseInfo =
         ((Purchase.InAppPurchaseInfo) ParcelableProto.getProtoFromParcel(paramParcel));
     this.callingPackage = paramParcel.readString();
     this.indirectProvisioningType = paramParcel.readInt();
     return;
     localBoolean = Boolean.FALSE;
     break;
   }
 }