Fix: UndoManager#saveInstanceState.
The number of redo states was stored to Parcel in saveInstanceState; however, there wasn't corresponding read in restoreInstanceState. Bug: 29113655 Change-Id: I95298f43dd206e0318a80f1643d2129d1199cc9e
This commit is contained in:
@@ -142,7 +142,6 @@ public class UndoManager {
|
||||
mUndos.get(i).writeToParcel(p);
|
||||
}
|
||||
i = mRedos.size();
|
||||
p.writeInt(i);
|
||||
while (i > 0) {
|
||||
p.writeInt(2);
|
||||
i--;
|
||||
|
||||
Reference in New Issue
Block a user