Enable strict mode for > 9 api level
Enable strict mode for > 9 api level