Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix #667 NPE on sdk < ICS

  • Loading branch information...
commit 19c36fcddf14130fbc45cbcffbd023c3dd8be5a8 1 parent aa32765
@rahulparsani rahulparsani authored
View
4 actionbarsherlock/src/com/actionbarsherlock/internal/view/menu/MenuBuilder.java
@@ -354,8 +354,8 @@ public void restoreActionViewStates(Bundle states) {
SparseArray<Parcelable> viewStates = states.getSparseParcelableArray(
getActionViewStatesKey());
- if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB && viewStates == null) {
- //Fixes Issue #652 with sdk <= 2.3.6
+ if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH && viewStates == null) {
+ //Fixes Issues #667 & #652 with sdk <= 3.2
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.