package Ġcom . elm ur z ae v . downloader . facebook . extensions Ċ Ċ import Ġandroid . app . Activity Ċ import Ġandroid . content . pm . PackageManager Ċ import Ġandroidx . core . content . Context Compat Ċ Ċ fun ĠActivity . has Permission ( permission : ĠString ) Ġ= ĊĠĠĠ ĠContext Compat . check Self Permission ( this , Ġpermission ) Ġ== ĠPackage Manager . PERMISSION _ GRAN TED