PhoneStateReceiver: Remove a couple of nested code blocks.

Remove a couple of nested code blocks to improve on readability.
Add copyright header to all java files in the repository.

This also adds some fuzz from the the Android project formatter.