Fix return value for is_supported api and checking error value of play api