commit | 7826cb2fd35ed23d7f90cc4dfbc0dad1cb2c4600 | [log] [tgz] |
---|---|---|
author | Gary Mai <garymai@google.com> | Tue Feb 07 16:18:28 2017 -0800 |
committer | Gary Mai <garymai@google.com> | Tue Feb 07 16:18:28 2017 -0800 |
tree | f23f034df91eaa52abce361e8e8db940bf6d450e | |
parent | 88a73c18a615379afdcce8a53ae78a953c77cb4a [diff] |
Let user immediately save to device account when no accounts exist ContactEditorFragment expects an account to be returned from the activity otherwise it just closes, so save and pass the default through if the user pressed cancel. Test: Manually verified hitting cancel sets the device account as the default and you're immediately taken to the editor without needing to tap add contact again. Bug: 34623569 Change-Id: I153af7cc89738fd80b7315b921d561723feb936d