am 572b759a: Merge "Use index in SparseArray access properly"
* commit '572b759a41fd490fd21b5831dd8b8434b7fd5df8': Use index in SparseArray access properly
This commit is contained in:
@@ -353,7 +353,7 @@ public final class Bundle implements Parcelable, Cloneable {
|
|||||||
SparseArray<? extends Parcelable> array =
|
SparseArray<? extends Parcelable> array =
|
||||||
(SparseArray<? extends Parcelable>) obj;
|
(SparseArray<? extends Parcelable>) obj;
|
||||||
for (int n = array.size() - 1; n >= 0; n--) {
|
for (int n = array.size() - 1; n >= 0; n--) {
|
||||||
if ((array.get(n).describeContents()
|
if ((array.valueAt(n).describeContents()
|
||||||
& Parcelable.CONTENTS_FILE_DESCRIPTOR) != 0) {
|
& Parcelable.CONTENTS_FILE_DESCRIPTOR) != 0) {
|
||||||
fdFound = true;
|
fdFound = true;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user