c90cc15b804fb00339a3b98e5c951549f9b03599 |
|
19-Jun-2015 |
Walter Jang <wjang@google.com> |
Make saving a contact less confusing * Add always visible save menu item (a checkmark icon) on both the compact and full editors. Selecting it saves changes and closes the editor (what back does currently). * On the compact editor, make back perform a discard, including warning the user if there are unsaved changes. * On the full editor, back still saves and goes back to the full editor. This is not ideal but it's out of scope to not save changes between the two editors when editing an existing contact. Bug 19983789 Change-Id: Ie23b75978db70f2b438a824e39f0ae8fb8aa99ec
/packages/apps/Contacts/src/com/android/contacts/activities/CompactContactEditorActivity.java
|
3e76408e47ca135c092b5eee73ae49d8697b0a10 |
|
22-May-2015 |
Walter Jang <wjang@google.com> |
Distinguish between editor back button presses and framework stopage We carry whether the editor fragment is being stopped because of a back button press or because the framework stopped the hosting Activity all the way through the various editor fragment callbacks and the ContactSaveService because it is not until ContactEditorBaseActivity.onSaveFinished where we start the next Intent -- starting it causes a "flash" if recents is clicked and follwed by an immediate starting of the next editor Activity, which is the bug that was filed. With this change, we only use the ContactSaveService resultIntent to go back to the compact editor on back presses. The expected behavior/tested scenarios are described at go/b21198041 Bug 21198041 Bug 19624360 Change-Id: Ic350e12aa447cff81747e003f504f25100bd5c60
/packages/apps/Contacts/src/com/android/contacts/activities/CompactContactEditorActivity.java
|
bdd32641ae2c2bc6214608cc5712dfb2b96e0305 |
|
09-May-2015 |
Brian Attwell <brianattwell@google.com> |
Handle runtime permissions For now, we handle runtime permissions in the most hamfisted and maintainable way possible: don't let any Activity's be fully created unless we get all the runtime permissions. Bug: 20066216 Change-Id: Iaab9ad2a8106d34b5e20a1eae1ef7a5560dc49a2
/packages/apps/Contacts/src/com/android/contacts/activities/CompactContactEditorActivity.java
|
e2797dad8a5dd18561077c723db01d8e136a820d |
|
23-Apr-2015 |
Walter Jang <wjang@google.com> |
Fix compact contact edit frag not added right on rotate Bug 20517400 Bug 20317185 Change-Id: I6faac9745017781320d86f8cd19b8edafeaa0c7d
/packages/apps/Contacts/src/com/android/contacts/activities/CompactContactEditorActivity.java
|
a69f58fcf5c143ac7dd6421a30004d56813e321a |
|
02-Apr-2015 |
Walter Jang <wjang@google.com> |
Don't add compact editor fragment if it's already there Bug 20040887 Change-Id: Ib968203e0340cd442e5652376a9e2aa7347994b1
/packages/apps/Contacts/src/com/android/contacts/activities/CompactContactEditorActivity.java
|
5a7a23bdb698b8e741a425c9617c5e33e6314cdd |
|
06-Mar-2015 |
Walter Jang <wjang@google.com> |
Return to the compact contact editor on back from the fully expanded one Bug 19624360 Change-Id: I249f1e456a2d85c5ecd831358692d56b09ee5a5b
/packages/apps/Contacts/src/com/android/contacts/activities/CompactContactEditorActivity.java
|
3f990ba4e35a99078d831c041290e574a320caa5 |
|
27-Jan-2015 |
Walter Jang <wjang@google.com> |
Move some contact editor functionality into new base classes To make room for a new "compact" contact editor. The Status and SaveMode interfaces in ContactEditorFragment were moved to ContactEditorBaseActivity but the Listener interface was moved to the ContactEditorBaseFragment. The logic in ContactEditorFragment to construct the result Intent after successful saves was alos moved to the ContactEditorBaseFragment. This reverts commit 02375f1e45ade453c56810f32d63dfe8eebe4f44. Change-Id: Ib0129d9ba4e4351677b6979c5f720df2094bf48d
/packages/apps/Contacts/src/com/android/contacts/activities/CompactContactEditorActivity.java
|
02375f1e45ade453c56810f32d63dfe8eebe4f44 |
|
26-Jan-2015 |
Walter Jang <wjang@google.com> |
Revert "Move some contact editor functionality into new base classes" This reverts commit 5d1c571dbe5b4a60aec6cb81d69e9e595813268e. Change-Id: Ia9df02198b460529c157fbee6012349b0eca0bf3
/packages/apps/Contacts/src/com/android/contacts/activities/CompactContactEditorActivity.java
|
5d1c571dbe5b4a60aec6cb81d69e9e595813268e |
|
22-Jan-2015 |
Walter Jang <wjang@google.com> |
Move some contact editor functionality into new base classes To make room for a new "compact" contact editor. The Status and SaveMode interfaces in ContactEditorFragment were moved to ContactEditorBaseActivity but the Listener interface was moved to the ContactEditorBaseFragment. The logic in ContactEditorFragment to construct the result Intent after successful saves was alos moved to the ContactEditorBaseFragment. Bug 19124091 Change-Id: I5dd0b64580026a72757025915ee59be0b7d1dcbc
/packages/apps/Contacts/src/com/android/contacts/activities/CompactContactEditorActivity.java
|