maxlines fix for android level < 16
Merge pull request #14 from fscz/master

maxlines fix for android level < 16