Merge "Fix issue #6426645: API REVIEW: android.app.ActivityOptions" into jb-dev
diff --git a/api/current.txt b/api/current.txt
index 8b1fcb6..bf79d81 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -2927,11 +2927,11 @@
   }
 
   public class ActivityOptions {
-    method public void join(android.app.ActivityOptions);
     method public static android.app.ActivityOptions makeCustomAnimation(android.content.Context, int, int);
     method public static android.app.ActivityOptions makeScaleUpAnimation(android.view.View, int, int, int, int);
     method public static android.app.ActivityOptions makeThumbnailScaleUpAnimation(android.view.View, android.graphics.Bitmap, int, int);
     method public android.os.Bundle toBundle();
+    method public void update(android.app.ActivityOptions);
   }
 
   public class AlarmManager {
diff --git a/core/java/android/app/ActivityOptions.java b/core/java/android/app/ActivityOptions.java
index 423b02a..b730581 100644
--- a/core/java/android/app/ActivityOptions.java
+++ b/core/java/android/app/ActivityOptions.java
@@ -325,10 +325,11 @@
     }
 
     /**
-     * Join the values in <var>otherOptions</var> in to this one.  Any values
+     * Update the current values in this ActivityOptions from those supplied
+     * in <var>otherOptions</var>.  Any values
      * defined in <var>otherOptions</var> replace those in the base options.
      */
-    public void join(ActivityOptions otherOptions) {
+    public void update(ActivityOptions otherOptions) {
         if (otherOptions.mPackageName != null) {
             mPackageName = otherOptions.mPackageName;
         }