package Ġcom . pho qe . f ack la Ċ Ċ import Ġandroid . app . Notification Ċ import Ġandroid . app . Notification Channel Ċ import Ġandroid . app . Notification Manager Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . Context . NOTIFICATION _ SERVICE Ċ import Ġandroid . os . Build Ċ import Ġandroidx . annotation . Requires Api Ċ import Ġtim ber . log . Tim ber Ċ Ċ @ Requires Api ( Build . VERSION _ CODES . O ) Ċ class ĠNotification Register ( private Ġval Ġcontext : ĠContext ) Ġ{ ĊĠĠĠ Ġprivate Ġval Ġmanager Ġ= Ġcontext . getSystem Service ( NOTIFICATION _ SERVICE ) Ġas ĠNotification Manager ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ ĠTim ber . v (" init ") ĊĊĠĠĠĠĠĠĠ Ġcreate Channels () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġcreate Channels () Ġ{ ĊĠĠĠĠĠĠĠ ĠTim ber . v (" create Channels ") ĊĊĠĠĠĠĠĠĠ Ġcreate Fake Location Channel () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġcreate Fake Location Channel () Ġ{ ĊĠĠĠĠĠĠĠ ĠTim ber . v (" create Fake Location Channel ") ĊĊĠĠĠĠĠĠĠ Ġval Ġchannel Ġ= ĠNotification Channel ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcontext . getString ( R . string . fake _ location _ channel _ id ), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcontext . getString ( R . string . fake _ location _ channel _ name ), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠNotification Manager . IMPORT ANCE _ HIGH ĊĠĠĠĠĠĠĠ Ġ) ĊĊĠĠĠĠĠĠĠ Ġchannel . description Ġ= Ġcontext . getString ( R . string . fake _ location _ channel _ description ) ĊĠĠĠĠĠĠĠ Ġchannel . lock screen Visibility Ġ= ĠNotification . VIS IBILITY _ SECRET ĊĊĠĠĠĠĠĠĠ Ġmanager . create Notification Channel ( channel ) ĊĠĠĠ Ġ} Ċ }