package Ġuk . co . alt 2 3 6 . bluetooth connection log . ui . on boarding Ċ Ċ import Ġandroid . content . Context Ċ import Ġuk . co . alt 2 3 6 . bluetooth connection log . Build Config Ċ Ċ class ĠOn boarding Status Store ( context : ĠContext ) Ġ{ ĊĠĠĠ Ġprivate Ġval Ġprefs Ġ= Ġcontext . get SharedPreferences ( STORE _ NAME , ĠContext . MODE _ PRIVATE ) ĊĊĊĠĠĠ Ġfun Ġhas On Bo arded (): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġprefs . getLong ( KEY _ ON BO AR DED _ ON _ VERSION , Ġ- 1 ) Ġ> Ġ 0 ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset On Bo arded Version ( version : ĠLong ) Ġ{ ĊĠĠĠĠĠĠĠ Ġprefs . edit (). put Long ( KEY _ ON BO AR DED _ ON _ VERSION , Ġversion ). apply () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠSTORE _ NAME Ġ= ĠBuild Config . APPLICATION _ ID Ġ+ Ġ". ON BOARD ING _ STATUS " ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠKEY _ ON BO AR DED _ ON _ VERSION Ġ= Ġ" on bo arded _ version " ĊĠĠĠ Ġ} Ċ }