nicolas-raoul/Anki-Android — comment on commit 45fdb27e889fbc55bc76fbd711577939c06f1948
File: src/com/ichi2/anim/ActivityTransitionAnimation.java line 19
By nobnago:

this must be done in the calling class, because otherwise ad will crash (I put the "overridePendingTransition" in an extra class to avoid crashes on low android numbers.

--> every call must look like this:

if (StudyOptions.getApiLevel() >= 5) {
ActivityTransitionAnimation.slide(DeckPicker.this, ActivityTransitionAnimation.RIGHT);
}