History log of /packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d1cb9045bffc3843f5a294d41ce4608c701bcccc 06-Nov-2015 Wenyi Wang <wenyiw@google.com> Close QuickContact after unlinking contact from editor

Bug: 25230841
Change-Id: Ifbf5bb5d9cbfe7ea9186176d59f36d82953462a3
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
2bac9401f5020cc726bef6ea301a85116db41c6e 06-Nov-2015 Wenyi Wang <wenyiw@google.com> Revert "Reload QuickContact after unlinking to remove stale badges"

This reverts commit 42a6b34fe1505b0e3dd1c32c8c4b33e09e5d802c.

Change-Id: Ic7ce7b8a9c361196bd0e8cbd3a10acfe03dd1049
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
42a6b34fe1505b0e3dd1c32c8c4b33e09e5d802c 04-Nov-2015 Wenyi Wang <wenyiw@google.com> Reload QuickContact after unlinking to remove stale badges

Bug: 25230841
Change-Id: I697ab4822168f3320b9b2dc37014df15e5e2a3be
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
e3373dceb689209533e95a2cfbfbf1d9008ab6f6 27-Oct-2015 Walter Jang <wjang@google.com> Don't save editor before showing join suggestions

This requires us to pass the raw contact ID of the
contact to join to both the (new) confirmation
dialog and the contact save service so that we
have it to do the join after the save completes.

Bug 25314004
Bug 21956248

Change-Id: Icdcb2165a0e599dfa3745fe8a919b208d4a48b43
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
bfea74f34f3c1c4ea33302c0c59635acb7b801ad 19-Oct-2015 Wenyi Wang <wenyiw@google.com> Further UI tweak of photo picker

- When photo picker is shown, the action bar title will be "Choose photo".
- Modified column width of GridView in photo picker to use entire screen
width.
- Changed the folder of all photos button to "all photos"

Bug: 24988706

Change-Id: Ia3e3ddf515c308e1cf6cdabc4c99fd7f9d983bc0
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
79658e14360a4ec75530a9dcae338f48c9d5f043 24-Sep-2015 Walter Jang <wjang@google.com> Remember editor expansion state on rotates (E10)

* Prompt user about discarding changes when back pressed
on editor (regressed in E5)
* Show a toast and close when no editors (i.e. input
fields) can be bound.
* Try to clarify the different behavior of
CompactSectionSectionView for names and groups.

Bug 23589603

Change-Id: If045ddb6d839574dc4109195b0d8841cd6083561
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
28a27279554af7b1e5ff664d3da97954c462a797 20-Sep-2015 Walter Jang <wjang@google.com> Revert moving between the compact and full editors (E5)

We are reverting most of the changes made to fix
b/19624360 in MNC. The reason to do this is to reduce
the massive complexity moving between the two editors
introduced.

Since the compact editor now expands in place, the full
editor will likely only used to view read-only raw
contacts now.

Bug 23589603

Change-Id: Idfcc07d8aae65295d4b3f0a0e3e7f5eb701a46c4
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
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/ContactEditorBaseActivity.java
ef711f78432f8f188a5322851c355809ac9137cd 16-Jun-2015 Walter Jang <wjang@google.com> 1/2 Sync Contacts and GoogleContacts manifests

Also removed "com.google" from the full editor
action names.

Change-Id: I1b8afb8f8a32ab1fe60c7174d092830d81dcee07
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
398cd4b1fbfa7d2fabfc4addf6a156a841a5aa6a 16-Jun-2015 Walter Jang <wjang@google.com> Pass the preferred name ID into the contact editor

Bug 21870691

Change-Id: I99cc6bf8d90f32469ca7cf105567dcc3edf48e9f
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
61c63d03df0d87f27f572eb1c168a454bf836df8 05-Jun-2015 Brian Attwell <brianattwell@google.com> Check for null getCurrentFocus(). Fix NPE

Bug: 21644090
Change-Id: If09f89d806410e4f6850f0fabdb00bfbe093a33d
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
02941b68472c5ae241a03e1bbdb4117921f3d257 04-Jun-2015 Seigo Nonaka <nona@google.com> Merge "Hide software input when the Activity is closed." into mnc-dev
ac679af994faece43536f1e8b2613f30c50300e1 01-Jun-2015 Walter Jang <wjang@google.com> Pass the preferred photo ID into the contact editor

Bug 21498424

Change-Id: I35e8fa3cff4d963f8017bdd596132fe749479a17
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
cbea0442a5de891be621294af663f69b025f15ef 03-Jun-2015 Seigo Nonaka <nona@google.com> Hide software input when the Activity is closed.

Input method manager does not close software input when the text
field focus is out. This is a workaround of Bug 20612313 by hiding
in onPause callback manually.

Bug: 20612313
Change-Id: I81d0c8e41b1df81c2383a361c56698a61afe89c8
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.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/ContactEditorBaseActivity.java
055c66d459732973f7341331b143d7ab9974c4ed 12-Mar-2015 Walter Jang <wjang@google.com> Fixed some contact editor compiler warnings

Change-Id: I31deaeeedc4ae49da6b0326b128767785cd01852
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
1e8801bc9bc60bdd1c95f582c460590272cfad64 10-Mar-2015 Walter Jang <wjang@google.com> Pass full res contact photos between the compact and full editors

Bug 19624360
Bug 19655206

Change-Id: I590ec7ecec75a9af95b824f5db9cda8f8aeda675
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
921287ef72ca601027bf2971b0733493adde16d2 10-Mar-2015 Walter Jang <wjang@google.com> Fixes for returning to the compact editor from the expanded one

* Don't abort the save even if there are no unsaved changed
when returning the compact from the full editor
* No need to pass the material palette on insert intents.
It does, however, need to be passed back to the compact
editor when editing an existing contact w/o a picture.
* Fix returning to the compact editor repeatedly by
removing the Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
on compact editor intents.
* Updated StructuredNameEditorView#getDisplayName to fall
back to the display name directly from the ValuesDelta.
This is required when the name is passed to the
contact editor, and the user does not change it, in which
case it will not be written to the underlying data
structure, and thus not passed subsequent expantions.

Bug 19624360

Change-Id: Ife285f3e411a869a76fbbff4d42939c866db617c
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.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/ContactEditorBaseActivity.java
4c3a81d1fa0ae2de11f2ad090d33905b908bf468 07-Mar-2015 Walter Jang <wjang@google.com> Fix typo in singleTop compact contact editor Activity

Change-Id: Id44d1c132ae01f94b65ebe3e231c086858cbc0c2
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
36d6a163bc31f76490d3bc0867a56437711bd1f7 20-Feb-2015 Walter Jang <wjang@google.com> Start the fully expanded editor when "More fields" is clicked

Note, StructuredName must be handled specially on inserts when it is
passed to the fully expanded editor when creating a new contact
because normally the contact name is not overriden.

Bug 19124091

Change-Id: I1d2b383c50b42a3624a7a8c18dd3278d7c3b069d
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
f46abd89a3386cbdadff99e96df826bb27f987e9 21-Feb-2015 Walter Jang <wjang@google.com> Apply the quick contact color to default photos in the compact editor

Bug 19124091

Change-Id: I375fc8c88ab7b1bd452fbeab0e3e6444b83be094
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
c6100ffd22ae176a3e84a1062d8cb92d955faef2 20-Feb-2015 Brian Attwell <brianattwell@google.com> Avoid senseless disambiguation #2/2

This makes having two contacts apps on the same
device tolerable.

Bug: 18777272
Change-Id: Ib75eadfb94eee2c5c8305747eddd01ba9a8b1dc4
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.java
92f8ccc1f15df787b7434224857c056721281046 06-Feb-2015 Walter Jang <wjang@google.com> Do setIntentExtras, on[Save|Join]Completed in base contact edit fragment

Do setGroupMetaData in the child classes since the layout will be
drastically different between the two.

Also moved a public Intent extra constant to the base.

Bug 19124091

Change-Id: Idd20ff39b91eb3584c69e406f1e3472bcb278f42
/packages/apps/Contacts/src/com/android/contacts/activities/ContactEditorBaseActivity.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/ContactEditorBaseActivity.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/ContactEditorBaseActivity.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/ContactEditorBaseActivity.java