Android: Fixed incorrect handling of performance flags
Merge pull request #1008 from mfleisz/perfflags

Android: Fixed incorrect handling of performance flags