summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/users
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2012-09-11 17:04:10 -0700
committerAmith Yamasani <yamasani@google.com>2012-09-12 15:53:54 -0700
commit43db5267d6227cc008fc482ccd777e27ff292c42 (patch)
tree911c081aaefd98369936db1ad193d76412a27429 /src/com/android/settings/users
parent4a596b19eb84d9c0fa76aeac863dd5271993d9ce (diff)
downloadpackages_apps_settings-43db5267d6227cc008fc482ccd777e27ff292c42.zip
packages_apps_settings-43db5267d6227cc008fc482ccd777e27ff292c42.tar.gz
packages_apps_settings-43db5267d6227cc008fc482ccd777e27ff292c42.tar.bz2
Tell contacts to return back to Settings when done editing the profile info
Change-Id: I643884af6c062788123b59a115ce6e398430e6b1
Diffstat (limited to 'src/com/android/settings/users')
-rw-r--r--src/com/android/settings/users/UserSettings.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/settings/users/UserSettings.java b/src/com/android/settings/users/UserSettings.java
index 14b2833..fe1bd90 100644
--- a/src/com/android/settings/users/UserSettings.java
+++ b/src/com/android/settings/users/UserSettings.java
@@ -423,6 +423,9 @@ public class UserSettings extends SettingsPreferenceFragment
if (pref == mMePreference) {
Intent editProfile = new Intent(Intent.ACTION_EDIT);
editProfile.setData(ContactsContract.Profile.CONTENT_URI);
+ // To make sure that it returns back here when done
+ // TODO: Make this a proper API
+ editProfile.putExtra("finishActivityOnSaveCompleted", true);
startActivity(editProfile);
}
return false;