package Ġio . github . priv ac yst ream s . app Ċ Ċ import Ġandroid . content . Broadcast Receiver Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . Intent Ċ import Ġandroid . util . Log Ċ import Ġio . github . priv ac yst ream s . app . db . P Stream Collect Service Ċ Ċ /** Ċ Ġ* ĠReceive Ġbroadcast s Ġand Ġreact Ċ Ġ*/ Ċ class ĠP Stream Broadcast Receiver (): ĠBroadcast Receiver () Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġon Receive ( context : ĠContext , Ġintent : ĠIntent ) Ġ{ ĊĠĠĠĠĠĠĠ ĠLog . d ( Config . APP _ NAME , Ġ" Broadcast Ġreceived !") ĊĠĠĠĠĠĠĠ Ġif Ġ( intent . action Ġ== ĠIntent . ACTION _ BOOT _ COMPLETED ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ// ĠStart Ġservices Ġwhen Ġboot Ġcompleted ĊĠĠĠĠĠĠĠĠĠĠĠ ĠP Stream Collect Service . start ( context ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ