������������������.apk分析 / BinderHolder.java


package com.baidu.techain.mutiprocess;

import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;

public class BinderHolder implements Parcelable {
    public static final Parcelable.Creator<BinderHolder> CREATOR = new Parcelable.Creator<BinderHolder>() {
        /* class com.baidu.techain.mutiprocess.BinderHolder.AnonymousClass1 */

        /* Return type fixed from 'java.lang.Object[]' to match base method */
        @Override // android.os.Parcelable.Creator
        public final /* bridge */ /* synthetic */ BinderHolder[] newArray(int i) {
            return new BinderHolder[i];
        }

        /* Return type fixed from 'java.lang.Object' to match base method */
        @Override // android.os.Parcelable.Creator
        public final /* synthetic */ BinderHolder createFromParcel(Parcel parcel) {
            return new BinderHolder(parcel);
        }
    };
    public IBinder a;

    public int describeContents() {
        return 0;
    }

    public BinderHolder(IBinder iBinder) {
        this.a = iBinder;
    }

    protected BinderHolder(Parcel parcel) {
        this.a = parcel.readStrongBinder();
    }

    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeStrongBinder(this.a);
    }
}