package Ġapp . cash . pap ar azz i . internal Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . Context Wrapper Ċ import Ġandroid . content . res . Asset Manager Ċ import Ġcom . android . ide . common . rendering . api . Asset Repository Ċ import Ġjava . io . InputStream Ċ Ċ internal Ġclass ĠP ap ar azz i Context ( base : ĠContext , Ġprivate Ġval Ġasset Repository : ĠAsset Repository ) ĊĠĠĠ Ġ: ĠContext Wrapper ( base ) Ġ{ ĊĊĠ Ġoverride Ġfun Ġget Assets (): ĠAsset Manager Ġ= ĠP ap ar azz i Asset Manager ( asset Repository ) Ċ Ċ } Ċ Ċ internal Ġclass ĠP ap ar azz i Asset Manager ( private Ġval Ġasset Repository : ĠAsset Repository ) ĊĠĠĠ Ġ: ĠAsset Manager () Ġ{ ĊĊĠ Ġoverride Ġfun Ġopen ( fileName : ĠString ): ĠInputStream Ġ= Ġopen ( fileName , ĠACCESS _ STREAM ING ) ĊĊĠ Ġoverride Ġfun Ġopen ( fileName : ĠString , Ġmode : ĠInt ): ĠInputStream Ġ= ĊĠĠĠ Ġasset Repository . open Asset ("/ $ fileName ", Ġmode ) Ċ Ċ } Ċ