package Ġcom . fre el app . libs . location fetcher . impl . util Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . pm . PackageManager Ċ import Ġandroid . os . Build Ċ import Ġandroidx . core . app . Activity Compat Ċ Ċ internal Ġfun ĠContext . has Permissions ( ĊĠĠĠ Ġpermissions : ĠArray < String > Ċ ): ĠBoolean Ġ= ĊĠĠĠ Ġif Ġ( Build . VERSION . SDK _ INT Ġ< ĠBuild . VERSION _ CODES . M ) Ġtrue Ġelse Ġpermissions . all Ġ{ ĊĠĠĠĠĠĠĠ ĠActivity Compat . check Self Permission ( this , Ġit ) Ġ== ĠPackage Manager . PERMISSION _ GRAN TED ĊĠĠĠ Ġ} Ċ