commit | 6293820c96ac1cf6f33377fb510549bf6a4f9ed6 | [log] [tgz] |
---|---|---|
author | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 10 18:29:31 2012 +0000 |
committer | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 10 18:29:31 2012 +0000 |
tree | 16072b01af38d8947559c63e6479276348bbf180 | |
parent | 8f338a3eebc4321d4048c10133eccb65edd8bc34 [diff] [blame] |
Disable transitions for the Android SampleApp. Review URL: https://codereview.appspot.com/6642063 git-svn-id: http://skia.googlecode.com/svn/trunk@5887 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/TransitionView.cpp b/samplecode/TransitionView.cpp index e755288..4f15bd3 100644 --- a/samplecode/TransitionView.cpp +++ b/samplecode/TransitionView.cpp
@@ -189,5 +189,10 @@ }; SkView* create_transition(SkView* prev, SkView* next, int direction) { +#ifdef SK_BUILD_FOR_ANDROID + // Disable transitions for Android + return next; +#else return SkNEW_ARGS(TransitionView, (prev, next, direction)); +#endif }