Prevent NullPointerException when mCompat is null
Merge pull request #30 from hijamoya/nullpo

Prevent NullPointerException when mCompat is null