Bug 844588 - Set correct min-version for clone method in TwoWayView (r=mfinkle)

This commit is contained in:
Lucas Rocha 2013-02-25 19:56:04 +00:00
parent faef970019
commit 65fd710f50

View File

@ -3784,7 +3784,7 @@ public class TwoWayView extends AdapterView<ListAdapter> implements
}
}
@TargetApi(11)
@TargetApi(14)
private SparseBooleanArray cloneCheckStates() {
if (mCheckStates == null) {
return null;
@ -3792,7 +3792,7 @@ public class TwoWayView extends AdapterView<ListAdapter> implements
SparseBooleanArray checkedStates;
if (Build.VERSION.SDK_INT >= 11) {
if (Build.VERSION.SDK_INT >= 14) {
checkedStates = mCheckStates.clone();
} else {
checkedStates = new SparseBooleanArray();