Merge \"Fix NPE in startup wizard caused by former change.\" into nyc-mr1-dev
am: 3c35716655
Change-Id: I8c1b64aee8c6e2b793fdc41def968113f71ed15c
This commit is contained in:
@@ -4271,7 +4271,8 @@ public class Activity extends ContextThemeWrapper
|
||||
private Bundle transferSpringboardActivityOptions(Bundle options) {
|
||||
if (options == null && (mWindow != null && !mWindow.isActive())) {
|
||||
final ActivityOptions activityOptions = getActivityOptions();
|
||||
if (activityOptions.getAnimationType() == ActivityOptions.ANIM_SCENE_TRANSITION) {
|
||||
if (activityOptions != null &&
|
||||
activityOptions.getAnimationType() == ActivityOptions.ANIM_SCENE_TRANSITION) {
|
||||
return activityOptions.toBundle();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user