commit | 90f339a5a343f82c3c32e4467c54ded94a1807a1 | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Thu Jun 13 17:44:04 2013 -0700 |
committer | Adam Powell <adamp@google.com> | Thu Jun 13 17:44:04 2013 -0700 |
tree | 99b59625a11b1a7fa93b1263faf95770f42fbac3 | |
parent | 256a5f8cda213969d9ae577a13427b4ae371ea61 [diff] |
Don't save ScrollView/HorizontalScrollView saved state for old apps Older apps may have given IDs to ScrollViews and views of a different class in layouts that vary by configuration. Now that ScrollViews save state this causes ClassCastExceptions when trying to restore instance state. Only save new instance state for ScrollView/HorizontalScrollView for apps targeting post-API 18. Change-Id: Icaa095cd20bef35dddc225a17c5a8e30b3faea02