package Ġio . horizontal systems . bank wallet . core Ċ Ċ import Ġandroid . app . Application Ċ import Ġandroid . content . SharedPreferences Ċ import Ġandroid . preference . Preference Manager Ċ import Ġandroidx . core . app . Notification Manager Compat Ċ import Ġcom . squareup . leak can ary . Leak Can ary Ċ import Ġio . horizontal systems . bank wallet . Build Config Ċ import Ġio . horizontal systems . bank wallet . core . factories .* Ċ import Ġio . horizontal systems . bank wallet . core . managers .* Ċ import Ġio . horizontal systems . bank wallet . core . security . Encryption Manager Ċ import Ġio . horizontal systems . bank wallet . core . security . KeyStore Manager Ċ import Ġio . horizontal systems . bank wallet . core . storage .* Ċ import Ġio . horizontal systems . bank wallet . modules . full transaction info . Full Transaction Info Factory Ċ import Ġio . horizontal systems . bank wal val . core . utils . Emoji Helper Ċ import Ġjava . util . logging . Level Ċ import Ġjava . util . logging . Logger Ċ Ċ class ĠApp Ġ: ĠApplication () Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġpreferences : ĠSharedPreferences ĊĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġfee Rate Provider : ĠF ee Rate Provider ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġsecure Storage : ĠIS ec ured Storage ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar ĠlocalStorage : ĠI LocalStorage ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġkey Store Manager : ĠI KeyStore Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġkey Provider : ĠI Key Provider ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġencryption Manager : ĠI Encryption Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġwords Manager : ĠWord s Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġrandom Manager : ĠI Random Provider ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġnetwork Manager : ĠIN etwork Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġcurrency Manager : ĠI Currency Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġbackground Manager : ĠBackground Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġlanguage Manager : ĠI Language Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġsystem Info Manager : ĠI System Info Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġpin Manager : ĠIP in Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġlock Manager : ĠI Lock Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġkey Store ChangeListener : ĠKey Store ChangeListener ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġapp Config Provider : ĠI AppConfig Provider ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġadapter Manager : ĠI Adapter Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġwallet Manager : ĠI Wallet Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġwallet Factory : ĠI Wallet Factory ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġwallet Storage : ĠI Wallet Storage ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġaccount Manager : ĠI Account Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġbackup Manager : ĠI Backup Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġaccount Creator : ĠI Account Creator ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġpredefined Account Type Manager : ĠI Pre defined Account Type Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġdefault Wallet Creator : ĠDefault Wallet Creator ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġwallet Rem over : ĠWallet Rem over ĊĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġrate Sync Scheduler : ĠRate Sync Scheduler ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġrate Manager : ĠRate Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġrate Stats Manager : ĠI Rate Stats Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġconnectivity Manager : ĠConnect ivity Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġapp Database : ĠApp Database ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġrate Storage : ĠI Rate Storage ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġaccounts Storage : ĠI Accounts Storage ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġprice Alerts Storage : ĠI Price Alerts Storage ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġprice Alert Manager : ĠPrice Alert Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġenabled Wallet s Storage : ĠI Enabled Wallet Storage ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġtransaction Info Factory : ĠFull Transaction Info Factory ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġtransaction DataProvider Manager : ĠTransaction DataProvider Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġe thereum Kit Manager : ĠIE thereum Kit Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġeos Kit Manager : ĠIE os Kit Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġbin ance Kit Manager : ĠBin ance Kit Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġnumber Formatter : ĠI App Number Formatter ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġaddress Parser Factory : ĠAddress Parser Factory ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġfee Coin Provider : ĠF ee Coin Provider ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġprice Alert Handler : ĠI Price Alert Handler ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġbackground Price Alert Manager : ĠI Background Price Alert Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġemoji Helper : ĠIE moji Helper ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġnotification Manager : ĠIN ot ification Manager ĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġnotification Factory : ĠIN ot ification Factory ĊĊĠĠĠĠĠĠĠ Ġlateinit Ġvar Ġinstance : ĠApp ĊĠĠĠĠĠĠĠĠĠĠĠ Ġprivate Ġset ĊĊĠĠĠĠĠĠĠ Ġvar Ġlast Exit Date : ĠLong Ġ= Ġ 0 ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate () ĊĊĠĠĠĠĠĠĠ Ġif Ġ( Leak Can ary . isIn Analyzer Process ( this )) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ// ĠThis Ġprocess Ġis Ġdedicated Ġto ĠLe ak Can ary Ġfor Ġheap Ġanalysis . ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ// ĠYou Ġshould Ġnot Ġinit Ġyour Ġapp Ġin Ġthis Ġprocess . ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ ĠLe ak Can ary . install ( this ) ĊĊĠĠĠĠĠĠĠ Ġif Ġ(! Build Config . DEBUG ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ// Disable Ġlogging Ġfor Ġlower Ġlevels Ġin ĠRelease Ġbuild ĊĠĠĠĠĠĠĠĠĠĠĠ ĠLogger . getLogger (" "). level Ġ= ĠLevel . SEVERE ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġinstance Ġ= Ġthis ĊĠĠĠĠĠĠĠ Ġpreferences Ġ= ĠPreference Manager . getDefault SharedPreferences ( application Context ) ĊĊĠĠĠĠĠĠĠ Ġapp Config Provider Ġ= ĠApp Config Provider () ĊĠĠĠĠĠĠĠ Ġfee Rate Provider Ġ= ĠF ee Rate Provider ( instance , Ġapp Config Provider ) ĊĠĠĠĠĠĠĠ Ġbackground Manager Ġ= ĠBackground Manager ( this ) ĊĠĠĠĠĠĠĠ ĠKey Store Manager (" MASTER _ KEY "). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġkey Store Manager Ġ= Ġthis ĊĠĠĠĠĠĠĠĠĠĠĠ Ġkey Provider Ġ= Ġthis ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġencryption Manager Ġ= ĠEncryption Manager ( key Provider ) ĊĠĠĠĠĠĠĠ Ġsecure Storage Ġ= ĠSec ured Storage Manager ( encryption Manager ) ĊĠĠĠĠĠĠĠ Ġe thereum Kit Manager Ġ= ĠEthereum Kit Manager ( app Config Provider ) ĊĠĠĠĠĠĠĠ Ġeos Kit Manager Ġ= ĠE os Kit Manager ( app Config Provider ) ĊĠĠĠĠĠĠĠ Ġbin ance Kit Manager Ġ= ĠBin ance Kit Manager ( app Config Provider ) ĊĊĠĠĠĠĠĠĠ Ġapp Database Ġ= ĠApp Database . getInstance ( this ) ĊĠĠĠĠĠĠĠ Ġrate Storage Ġ= ĠR ates Repository ( app Database ) ĊĠĠĠĠĠĠĠ Ġaccounts Storage Ġ= ĠAccounts Storage ( app Database ) ĊĊĠĠĠĠĠĠĠ Ġwallet Factory Ġ= ĠWallet Factory () ĊĠĠĠĠĠĠĠ Ġenabled Wallet s Storage Ġ= ĠEnabled Wallet s Storage ( app Database ) ĊĠĠĠĠĠĠĠ Ġwallet Storage Ġ= ĠWallet Storage ( app Config Provider , Ġwallet Factory , Ġenabled Wallet s Storage ) ĊĠĠĠĠĠĠĠ ĠlocalStorage Ġ= ĠLocal Storage Manager () ĊĊĠĠĠĠĠĠĠ Ġwords Manager Ġ= ĠWord s Manager ( localStorage ) ĊĠĠĠĠĠĠĠ Ġnetwork Manager Ġ= ĠNetwork Manager ( app Config Provider ) ĊĠĠĠĠĠĠĠ Ġrate Stats Manager Ġ= ĠRate Stats Manager ( network Manager , Ġrate Storage ) ĊĠĠĠĠĠĠĠ Ġaccount Manager Ġ= ĠAccount Manager ( accounts Storage , ĠAccount Clean er ( app Config Provider . test Mode )) ĊĠĠĠĠĠĠĠ Ġbackup Manager Ġ= ĠBackup Manager ( account Manager ) ĊĠĠĠĠĠĠĠ Ġwallet Manager Ġ= ĠWallet Manager ( account Manager , Ġwallet Factory , Ġwallet Storage ) ĊĠĠĠĠĠĠĠ Ġdefault Wallet Creator Ġ= ĠDefault Wallet Creator ( wallet Manager , Ġapp Config Provider , Ġwallet Factory ) ĊĠĠĠĠĠĠĠ Ġaccount Creator Ġ= ĠAccount Creator ( account Manager , ĠAccount Factory (), Ġwords Manager , Ġdefault Wallet Creator ) ĊĠĠĠĠĠĠĠ Ġpredefined Account Type Manager Ġ= ĠPre defined Account Type Manager ( app Config Provider , Ġaccount Manager , Ġaccount Creator ) ĊĠĠĠĠĠĠĠ Ġwallet Rem over Ġ= ĠWallet Rem over ( account Manager , Ġwallet Manager ) ĊĊĠĠĠĠĠĠĠ Ġrandom Manager Ġ= ĠRandom Provider () ĊĠĠĠĠĠĠĠ Ġsystem Info Manager Ġ= ĠSystem Info Manager () ĊĠĠĠĠĠĠĠ Ġpin Manager Ġ= ĠPin Manager ( secure Storage , ĠlocalStorage ) ĊĠĠĠĠĠĠĠ Ġlock Manager Ġ= ĠLock Manager ( pin Manager ). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbackground Manager . register Listener ( this ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġkey Store ChangeListener Ġ= ĠKey Store ChangeListener ( system Info Manager , Ġkey Store Manager ). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbackground Manager . register Listener ( this ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġlanguage Manager Ġ= ĠLanguage Manager ( localStorage , Ġapp Config Provider , Ġ" en ") ĊĠĠĠĠĠĠĠ Ġcurrency Manager Ġ= ĠCurrency Manager ( localStorage , Ġapp Config Provider ) ĊĠĠĠĠĠĠĠ Ġnumber Formatter Ġ= ĠNumber Formatter ( language Manager ) ĊĊĠĠĠĠĠĠĠ Ġconnectivity Manager Ġ= ĠConnect ivity Manager () ĊĊĠĠĠĠĠĠĠ Ġadapter Manager Ġ= ĠAdapter Manager ( wallet Manager , ĠAdapter Factory ( instance , Ġapp Config Provider , Ġe thereum Kit Manager , Ġeos Kit Manager , Ġbin ance Kit Manager ), Ġe thereum Kit Manager , Ġeos Kit Manager , Ġbin ance Kit Manager ) ĊĊĠĠĠĠĠĠĠ Ġrate Manager Ġ= ĠRate Manager ( rate Storage , Ġnetwork Manager , Ġwallet Storage , Ġcurrency Manager , Ġconnectivity Manager ) ĊĠĠĠĠĠĠĠ Ġrate Sync Scheduler Ġ= ĠRate Sync Scheduler ( rate Manager , Ġwallet Manager , Ġcurrency Manager , Ġconnectivity Manager ) ĊĊĠĠĠĠĠĠĠ Ġtransaction DataProvider Manager Ġ= ĠTransaction DataProvider Manager ( app Config Provider , ĠlocalStorage ) ĊĠĠĠĠĠĠĠ Ġtransaction Info Factory Ġ= ĠFull Transaction Info Factory ( network Manager , Ġtransaction DataProvider Manager ) ĊĊĠĠĠĠĠĠĠ Ġaddress Parser Factory Ġ= ĠAddress Parser Factory () ĊĠĠĠĠĠĠĠ Ġfee Coin Provider Ġ= ĠF ee Coin Provider ( app Config Provider ) ĊĊĠĠĠĠĠĠĠ Ġprice Alerts Storage Ġ= ĠPrice Alerts Storage ( app Config Provider , Ġapp Database ) ĊĠĠĠĠĠĠĠ Ġprice Alert Manager Ġ= ĠPrice Alert Manager ( wallet Manager , Ġprice Alerts Storage ) ĊĠĠĠĠĠĠĠ Ġemoji Helper Ġ= ĠEmoji Helper () ĊĠĠĠĠĠĠĠ Ġnotification Factory Ġ= ĠNotification Factory ( emoji Helper , Ġinstance ) ĊĠĠĠĠĠĠĠ Ġnotification Manager Ġ= ĠNotification Manager ( Notification Manager Compat . from ( this )) ĊĠĠĠĠĠĠĠ Ġprice Alert Handler Ġ= ĠPrice Alert Handler ( price Alerts Storage , Ġnotification Manager , Ġnotification Factory ) ĊĠĠĠĠĠĠĠ Ġbackground Price Alert Manager Ġ= ĠBackground Price Alert Manager ( price Alerts Storage , Ġrate Manager , Ġcurrency Manager , Ġrate Storage , Ġprice Alert Handler , Ġnotification Manager ). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbackground Manager . register Listener ( this ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ ĠBackground Rate Alert Scheduler . start Periodic Worker ( instance ) ĊĠĠĠ Ġ} Ċ Ċ } Ċ