package Ġch . r my . android . http _ shortcuts . http Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . fr an mont iel . persistent cookie jar . Persistent Cookie Jar Ċ import Ġcom . fr an mont iel . persistent cookie jar . cache . Cookie Cache Ċ import Ġcom . fr an mont iel . persistent cookie jar . cache . Set Cookie Cache Ċ import Ġcom . fr an mont iel . persistent cookie jar . persistence . Shared Prefs Cookie Pers istor Ċ Ċ object ĠCookie Manager Ġ{ ĊĊĠĠĠ Ġfun Ġget Cookie Jar ( context : ĠContext ) Ġ= ĊĠĠĠĠĠĠĠ ĠPersistent Cookie Jar ( cookie Session Store , ĠShared Prefs Cookie Pers istor ( context )) ĊĊĠĠĠ Ġfun Ġclear Cookies ( context : ĠContext ) Ġ{ ĊĠĠĠĠĠĠĠ Ġcookie Session Store . clear () ĊĠĠĠĠĠĠĠ ĠShared Prefs Cookie Pers istor ( context ). clear () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġval Ġcookie Session Store : ĠCookie Cache Ġby Ġlazy Ġ{ ĊĠĠĠĠĠĠĠ ĠSet Cookie Cache () ĊĠĠĠ Ġ} Ċ Ċ }