diff options
author | Narayan Kamath <narayan@google.com> | 2014-01-23 14:17:11 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-01-23 14:26:29 +0000 |
commit | b34a4615f82a4ad8ce2c0687f47e2113e057e893 (patch) | |
tree | fe40fe86aebcaff81b953a3095497e5a9441b4b8 /core | |
parent | 62b570e2febd1ab0614fd9000dc92412a8e109fd (diff) | |
download | frameworks_base-b34a4615f82a4ad8ce2c0687f47e2113e057e893.zip frameworks_base-b34a4615f82a4ad8ce2c0687f47e2113e057e893.tar.gz frameworks_base-b34a4615f82a4ad8ce2c0687f47e2113e057e893.tar.bz2 |
Hide android.os.Parcel.obtain(int).
This will break on 64 bit because 64 bit pointers are
wider than java int.
Also, this method technically isn't a public API because
it's a protected method on a final class. It shows up in
our api.txt files because of a quirk in the API generation
system.
Change-Id: I2b574943008ed34696b048195c0cac6af1aa0a3b
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/os/Parcel.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/os/Parcel.java b/core/java/android/os/Parcel.java index b132627..0ee1109 100644 --- a/core/java/android/os/Parcel.java +++ b/core/java/android/os/Parcel.java @@ -2246,6 +2246,7 @@ public final class Parcel { private static final HashMap<ClassLoader,HashMap<String,Parcelable.Creator>> mCreators = new HashMap<ClassLoader,HashMap<String,Parcelable.Creator>>(); + /** @hide for internal use only. */ static protected final Parcel obtain(int obj) { final Parcel[] pool = sHolderPool; synchronized (pool) { |