e2fd14b9f61d58297ff962e8c31f49439e0309a9 |
|
28-Aug-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Jailing the saved instance state of all the dynamically generated views Using itemId instead of generating a new id for each item. This is because if the process gets killed, View.generateId will get reset but we will still receive the generated item id map in onRestoreInstance. This will cause conflicts with newly generated item ids. We wrap all the generated homescreen views inside a single sparse array. This ensures that we do not cause any conflict with dynamically generated views in other parts of the UI. Change-Id: I6fe69c2e1dd463402f51222715fae31b9d4dd240
/packages/apps/Launcher3/src/com/android/launcher3/util/ParcelableSparseArray.java
|