Merge "Fix issue #6426645: API REVIEW: android.app.ActivityOptions" into jb-dev

This commit is contained in:
Dianne Hackborn
2012-05-04 16:10:16 -07:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 3 deletions

View File

@ -2927,11 +2927,11 @@ package android.app {
}
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 {

View File

@ -325,10 +325,11 @@ public class ActivityOptions {
}
/**
* 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;
}