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