package Ġcom . ud acity . project 4 . location rem inders . permission Ċ Ċ import Ġandroid . content . Context Ċ Ċ class ĠPermission Provider ( context : ĠContext ) Ġ{ ĊĊĠĠĠ Ġvar Ġbackground Location : ĠPermission Handler Ġ= ĊĠĠĠĠĠĠĠ ĠBackground Location Permission Handler ( context ) ĊĠĠĠ Ġvar Ġfine Location : ĠPermission Handler Ġ= ĊĠĠĠĠĠĠĠ ĠF ine Location Permission Handler ( context ) ĊĊĠĠĠ Ġfun Ġhas Permissions (): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġbackground Location . has Permission () Ġ&& Ġfine Location . has Permission () ĊĠĠĠ Ġ} Ċ } Ċ