Some Samsung devices return null cursors.

Prevent ```SamsungBadgeProvider``` a NP when return null cursors.

Also update gradle build tools to final release 1.0.0