mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 844588 - Set correct min-version for clone method in TwoWayView (r=mfinkle)
This commit is contained in:
parent
faef970019
commit
65fd710f50
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user