Location updates work even after device restarted

Hi Chenjishi,
I am Sundeep, working as a software developer. As am working on android apps, found your android fused location sample here. It is very helpful and made my work easy.
In my Application, I need location updates even after the user restarts the device(Switch OFF & ON). This was not implemented in your Android Location Demo.

I have added this new feature(we can say) to my fork and this is the pull request for new changes.
Please, review the code and merge the code into the repository.
Thank you.