List of usage examples for android.os Parcel pushAllowFds
public final boolean pushAllowFds(boolean allowFds)
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 {//from w w w . j av a 2 s . co m p.writeValue(object); return new ParceledPayload(p.marshall()); } finally { p.restoreAllowFds(oldFds); p.recycle(); } }