Fix transition for forced resizable exit

Since the transition is picked from layout params from the activity
below, we need to manually override it.

Bug: 28750938
Change-Id: I7351c7d8bd14a393cba51d6afb1e644204217440
This commit is contained in:
Jorim Jaggi
2016-05-13 14:11:42 -07:00
parent 0f6a6c4bc1
commit e6d157b936

View File

@@ -77,6 +77,12 @@ public class ForcedResizableInfoActivity extends Activity implements OnTouchList
return true;
}
@Override
public void finish() {
super.finish();
overridePendingTransition(0, R.anim.forced_resizable_exit);
}
@Override
public void setTaskDescription(ActivityManager.TaskDescription taskDescription) {
// Do nothing