summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2015-02-04 15:47:40 -0500
committerJohn Spurlock <jspurlock@google.com>2015-02-04 23:18:09 +0000
commite08523684d5414117f81debd4eb14bc8eb494c29 (patch)
tree94cc57ce661d76067e86de84a82afb6712af487b /core/java
parenteba583e3930891f7a8a0e48a961a4a2471fc757c (diff)
downloadframeworks_base-e08523684d5414117f81debd4eb14bc8eb494c29.zip
frameworks_base-e08523684d5414117f81debd4eb14bc8eb494c29.tar.gz
frameworks_base-e08523684d5414117f81debd4eb14bc8eb494c29.tar.bz2
Fix a few typos in Parcel.java.
Change-Id: Ic1674fc72f08a0f3536b4870a5ce7d14ee6fcc16
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/os/Parcel.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/os/Parcel.java b/core/java/android/os/Parcel.java
index 5230128..3604891 100644
--- a/core/java/android/os/Parcel.java
+++ b/core/java/android/os/Parcel.java
@@ -276,7 +276,7 @@ public final class Parcel {
private static native byte[] nativeMarshall(long nativePtr);
private static native void nativeUnmarshall(
- long nativePtr, byte[] data, int offest, int length);
+ long nativePtr, byte[] data, int offset, int length);
private static native void nativeAppendFrom(
long thisNativePtr, long otherNativePtr, int offset, int length);
private static native boolean nativeHasFileDescriptors(long nativePtr);
@@ -432,8 +432,8 @@ public final class Parcel {
/**
* Set the bytes in data to be the raw bytes of this Parcel.
*/
- public final void unmarshall(byte[] data, int offest, int length) {
- nativeUnmarshall(mNativePtr, data, offest, length);
+ public final void unmarshall(byte[] data, int offset, int length) {
+ nativeUnmarshall(mNativePtr, data, offset, length);
}
public final void appendFrom(Parcel parcel, int offset, int length) {