OSDN Git Service

Saving ALL state when contact editor is evicted
authorDmitri Plotnikov <dplotnikov@google.com>
Thu, 1 Apr 2010 00:52:25 +0000 (17:52 -0700)
committerDmitri Plotnikov <dplotnikov@google.com>
Thu, 1 Apr 2010 00:52:40 +0000 (17:52 -0700)
commit84a4eee9fe5871b8da646c6dd498b11e5fce92a7
tree63b515e70f00eb4def7e2fae17c9f62833d5021b
parent517bfe513592afce90b4c84aa075784f6c07ceae
Saving ALL state when contact editor is evicted

We failed to save three of the fields in onSaveInstanceState
As a result we would be
1) unable to attach a photo to a contact
2) get an out-of-memory situation if a sync is running at the same time
3) not be able to join a contact manually if the process is interrupted

Bug: 2558867
Change-Id: I28dd605e82c12b611e9919170d6ba5d17442b8fc
src/com/android/contacts/ui/EditContactActivity.java