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:
committed by
android-build-merger
commit
291ba2f0a4
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user