summaryrefslogtreecommitdiff
path: root/android/src/com/artifex/mupdfdemo/SafeAnimatorInflater.java
AgeCommit message (Collapse)Author
2013-06-20Rearrange source files.Tor Andersson
2013-04-08Android: Fix operation under Froyo/Gingerbread.Robin Watts
Android resolves references at class load time, so when MuPDFActivity is loaded, it tries to resolve AnimatorInflater. This fails on a 2.2 system. The fix is to push the code into 'SafeAnimatorInflater'. When MuPDFActivity is loaded, SafeAnimatorInflater is resolved, but it's not actually loaded until it's used. We never use it unless we have at least honeycomb, hence we never try to resolve the missing class.