package Ġuk . n hs . n hs x . covid 1 9 . android . app . ex posure . share keys Ċ Ċ import Ġandroid . app . Activity Ċ import Ġandroid . content . Intent Ċ import Ġandroid . os . Bundle Ċ import Ġkotlinx . android . synt hetic . main . activity _ book _ follow _ up _ test . book Follow Up Test Button Ċ import Ġkotlinx . android . synt hetic . main . view _ toolbar _ background . toolbar Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . R Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . common . Base Activity Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . test ordering . Test Ordering Activity Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . util . view utils . set Close Toolbar Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . util . view utils . setOn Single ClickListener Ċ Ċ class ĠBook Follow Up Test Activity Ġ: ĠBase Activity ( R . layout . activity _ book _ follow _ up _ test ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġset Close Toolbar ( toolbar , Ġclose Indicator Ġ= ĠR . drawable . ic _ close _ primary , Ġtitle Res Id Ġ= ĠR . string . empty ) ĊĊĠĠĠĠĠĠĠ Ġbook Follow Up Test Button . setOn Single ClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠstartActivity For Result ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠTest Ordering Activity . get Intent ( this ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠTest Ordering Activity . REQUEST _ CODE _ ORDER _ A _ TEST ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Activity Result ( request Code : ĠInt , ĠresultCode : ĠInt , Ġdata : ĠIntent ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Activity Result ( request Code , ĠresultCode , Ġdata ) ĊĠĠĠĠĠĠĠ Ġif Ġ( request Code Ġ== ĠTest Ordering Activity . REQUEST _ CODE _ ORDER _ A _ TEST Ġ&& ĠresultCode Ġ== ĠActivity . RESULT _ OK ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġfinish () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ