List of usage examples for android.os Parcel restoreAllowFds
public final void restoreAllowFds(boolean lastValue)
From source file:edu.umich.flowfence.common.ParceledPayload.java
public static ParceledPayload create(Object object) { Parcel p = Parcel.obtain(); boolean oldFds = p.pushAllowFds(false); try {/* w w w . j a v a 2s . c om*/ p.writeValue(object); return new ParceledPayload(p.marshall()); } finally { p.restoreAllowFds(oldFds); p.recycle(); } }