diff options
author | David Christie <dnchrist@google.com> | 2013-08-16 22:55:20 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-08-16 22:55:21 +0000 |
commit | d0d554579b244d8d98e63e866be19333a8aa8b2e (patch) | |
tree | 68e759b34c32156255f56ec032d366a384cd3da0 /location | |
parent | e3c754bb1c518c9166ff4275b5ee59f36c999f4c (diff) | |
parent | def20a3350ce239b929ef0ebbbf913cc0b42cf5f (diff) | |
download | frameworks_base-d0d554579b244d8d98e63e866be19333a8aa8b2e.zip frameworks_base-d0d554579b244d8d98e63e866be19333a8aa8b2e.tar.gz frameworks_base-d0d554579b244d8d98e63e866be19333a8aa8b2e.tar.bz2 |
Merge "Use default class loader when creating a LocationRequest from Parcel. This seems to be the standard usage, and there are rare reports of requestLocationUpdates giving NullPointerExceptions on the first call to requestLocationUpdates but not on subsequent calls (b/10207898)." into klp-dev
Diffstat (limited to 'location')
-rw-r--r-- | location/java/android/location/LocationRequest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/location/java/android/location/LocationRequest.java b/location/java/android/location/LocationRequest.java index 5af29ae..507baeb 100644 --- a/location/java/android/location/LocationRequest.java +++ b/location/java/android/location/LocationRequest.java @@ -564,7 +564,7 @@ public final class LocationRequest implements Parcelable { request.setHideFromAppOps(in.readInt() != 0); String provider = in.readString(); if (provider != null) request.setProvider(provider); - WorkSource workSource = in.readParcelable(WorkSource.class.getClassLoader()); + WorkSource workSource = in.readParcelable(null); if (workSource != null) request.setWorkSource(workSource); return request; } |