Merge "DO NOT MERGE Revert "WTF Logging for catching memory issue in Parcel"" into oc-dev am: 61e2b15866

am: d6066c83ca

Change-Id: I9877b678a244e0149ba6bb6aa4a8185113571374
This commit is contained in:
Michael Wachenschwanz
2017-05-19 18:56:25 +00:00
committed by android-build-merger
2 changed files with 2 additions and 12 deletions

View File

@@ -430,13 +430,7 @@ public final class Parcel {
* @param size The new number of bytes in the Parcel.
*/
public final void setDataSize(int size) {
// STOPSHIP: Try/catch for exception is for temporary debug. Remove once bug resolved
try {
updateNativeSize(nativeSetDataSize(mNativePtr, size));
} catch (IllegalArgumentException iae) {
Log.e(TAG,"Caught Exception representing a known bug in Parcel",iae);
Log.wtfStack(TAG, "This flow is using SetDataSize incorrectly");
}
updateNativeSize(nativeSetDataSize(mNativePtr, size));
}
/**