package Ġcom . ti ago hs . h qr . notification Ċ Ċ import Ġandroid . app . Notification Channel Ċ import Ġandroid . app . Notification Manager Ċ import Ġandroid . content . Context Ċ import Ġandroid . os . Build Ċ import Ġcom . ti ago hs . h qr . R Ċ import Ġcom . ti ago hs . h qr . helpers . extensions . notification Manager Ċ Ċ object ĠNotifications Ġ{ ĊĊĠĠĠ Ġconst Ġval ĠCHAN NEL _ DOWNLOAD ER Ġ= Ġ" downloader _ channel " ĊĠĠĠ Ġconst Ġval ĠID _ DOWNLOAD _ CH AP TER Ġ= Ġ 2 0 1 ĊĠĠĠ Ġconst Ġval ĠID _ DOWNLOAD _ CH AP TER _ ERROR Ġ= Ġ 2 0 2 ĊĊĠĠĠ Ġconst Ġval ĠCHAN NEL _ UP DAT ER Ġ= Ġ" updater _ channel " ĊĠĠĠ Ġconst Ġval ĠID _ UP DAT ER Ġ= Ġ 1 ĊĊĠĠĠ Ġconst Ġval ĠCHAN NEL _ COMMON Ġ= Ġ" common _ channel " ĊĊĠĠĠ Ġfun Ġcreate Channels ( context : ĠContext ) Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( Build . VERSION . SDK _ INT Ġ< ĠBuild . VERSION _ CODES . O ) Ġreturn ĊĊĠĠĠĠĠĠĠ Ġval Ġchannels Ġ= ĠlistOf ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠNotification Channel ( CHANNEL _ DOWNLOAD ER , Ġcontext . getString ( R . string . channel _ downloader ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠNotification Manager . IMPORT ANCE _ LOW ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġcontext . notification Manager . create Notification Channels ( channels ) ĊĠĠĠ Ġ} Ċ }