Loading ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/Parcel_host.java +3 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,9 @@ public class Parcel_host { p.mPos = pos; } public static void nativeSetDataCapacity(long nativePtr, int size) { if (size < 0) { throw new IllegalArgumentException("size < 0: size=" + size); } var p = getInstance(nativePtr); if (p.getCapacity() < size) { p.forceSetCapacity(size); Loading Loading
ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/Parcel_host.java +3 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,9 @@ public class Parcel_host { p.mPos = pos; } public static void nativeSetDataCapacity(long nativePtr, int size) { if (size < 0) { throw new IllegalArgumentException("size < 0: size=" + size); } var p = getInstance(nativePtr); if (p.getCapacity() < size) { p.forceSetCapacity(size); Loading