Android: Fixed incorrect handling of performance flags