Skip to content

Commit

Permalink
fix(android): amend resume timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Mathews committed Mar 25, 2019
1 parent e65d2a2 commit 9fd3517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public void run()
{
handleOpen(options);
}
}, 300);
}, Build.VERSION.SDK_INT > Build.VERSION_CODES.M ? 1 : 100);
return;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,6 @@ protected Bundle createActivityOptionsBundle(Activity activity)
protected boolean hasActivityTransitions()
{
final boolean animated = TiConvert.toBoolean(getProperties(), TiC.PROPERTY_ANIMATED, true);
return (LOLLIPOP_OR_GREATER && animated && sharedElementPairs != null && !sharedElementPairs.isEmpty());
return LOLLIPOP_OR_GREATER && animated;
}
}

0 comments on commit 9fd3517

Please sign in to comment.