Create a valid ActivityOptions Bundle even for default animations
am: b759bd3b4a
Change-Id: Ib9b61f2bf4ac6b6001664ebbc40d115089e75326
This commit is contained in:
@@ -1211,9 +1211,6 @@ public class ActivityOptions {
|
||||
* methods that take an options Bundle.
|
||||
*/
|
||||
public Bundle toBundle() {
|
||||
if (mAnimationType == ANIM_DEFAULT) {
|
||||
return null;
|
||||
}
|
||||
Bundle b = new Bundle();
|
||||
if (mPackageName != null) {
|
||||
b.putString(KEY_PACKAGE_NAME, mPackageName);
|
||||
|
||||
Reference in New Issue
Block a user