Skip to content

Commit 6ad5b4f

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "Fix issue #6426645: API REVIEW: android.app.ActivityOptions" into jb-dev
2 parents c9c2319 + ddc52a8 commit 6ad5b4f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

api/current.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2927,11 +2927,11 @@ package android.app {
29272927
}
29282928

29292929
public class ActivityOptions {
2930-
method public void join(android.app.ActivityOptions);
29312930
method public static android.app.ActivityOptions makeCustomAnimation(android.content.Context, int, int);
29322931
method public static android.app.ActivityOptions makeScaleUpAnimation(android.view.View, int, int, int, int);
29332932
method public static android.app.ActivityOptions makeThumbnailScaleUpAnimation(android.view.View, android.graphics.Bitmap, int, int);
29342933
method public android.os.Bundle toBundle();
2934+
method public void update(android.app.ActivityOptions);
29352935
}
29362936

29372937
public class AlarmManager {

core/java/android/app/ActivityOptions.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,11 @@ public static void abort(Bundle options) {
325325
}
326326

327327
/**
328-
* Join the values in <var>otherOptions</var> in to this one. Any values
328+
* Update the current values in this ActivityOptions from those supplied
329+
* in <var>otherOptions</var>. Any values
329330
* defined in <var>otherOptions</var> replace those in the base options.
330331
*/
331-
public void join(ActivityOptions otherOptions) {
332+
public void update(ActivityOptions otherOptions) {
332333
if (otherOptions.mPackageName != null) {
333334
mPackageName = otherOptions.mPackageName;
334335
}

0 commit comments

Comments
 (0)