package Ġcom . ben ny . open launcher . activity Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . Intent Ċ import Ġandroid . net . Uri Ċ import Ġandroid . os . Bundle Ċ import Ġcom . ben ny . open launcher . Build Config Ċ import Ġcom . ben ny . open launcher . R Ċ import Ġcom . daniel stone . material about library . Con venience Builder Ċ import Ġcom . daniel stone . material about library . Material About Activity Ċ import Ġcom . daniel stone . material about library . items . Material About Action Item Ċ import Ġcom . daniel stone . material about library . items . Material About Item OnClick Action Ċ import Ġcom . daniel stone . material about library . items . Material About Title Item Ċ import Ġcom . daniel stone . material about library . model . Material About Card Ċ import Ġcom . daniel stone . material about library . model . Material About List Ċ import Ġde . ps dev . license sd ialog . License s Dialog Ċ import Ġde . ps dev . license sd ialog . licenses . Apache Software License 2 0 Ċ import Ġde . ps dev . license sd ialog . licenses . MIT License Ċ import Ġde . ps dev . license sd ialog . model . Notice Ċ import Ġde . ps dev . license sd ialog . model . Not ices Ċ Ċ class ĠAbout Activity Ġ: ĠMaterial About Activity () Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġnotices Ġ= ĠNot ices () ĊĊĠĠĠĠĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Fast Adapter ", Ġ" https :// github . com / mike pen z / Fast Adapter ", Ġ" Mi ke ĠP enz ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Circular Re veal ", Ġ" https :// github . com / oz od ru kh / Circular Re veal ", Ġ" Ab d ull ae v ĠO z od ru kh ", ĠMIT License ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Material ScrollBar ", Ġ" https :// github . com / t uring - tech / Material ScrollBar ", Ġ" T uring ĠTechnologies ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Material ĠAbout ĠLibrary ", Ġ" https :// github . com / daniel - stone uk / material - about - library ", Ġ" Dan iel ĠSt one ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Material ĠDialog s ", Ġ" https :// github . com / af ol le st ad / material - dialogs ", Ġ" A id an ĠFol le st ad ", ĠMIT License ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Material ĠR ipple ĠLayout ", Ġ" https :// github . com / b alys v / material - ripple ", Ġ" B alys ĠVal ent uke vic ius ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Image Blur ring Ġ", Ġ" https :// github . com / qi uj uer / Image Blur ring ", Ġ" Qi uj uer ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Simple F inger Gest ures ", Ġ" https :// github . com / champ ion sw im mer / Simple F inger Gest ures _ Android _ Library ", Ġ" Ar nav ĠGu pta ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Text Drawable ", Ġ" https :// github . com / am uly ak h are / Text Drawable ", Ġ" A mul ya ĠK h are ", ĠMIT License ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Android On bo ar der ", Ġ" https :// github . com / ch yr ta / Android On bo ar der ", Ġ" Dz mit ry ĠCh yr ta , ĠDaniel ĠMor ales ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Custom Activity On Crash ", Ġ" https :// github . com / E re za / Custom Activity On Crash ", Ġ" E du ard ĠE re za ĠMart ÃŃ nez ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" B utter ĠKn ife ", Ġ" https :// github . com / J ake Wh art on / but ter knife ", Ġ" J ake ĠWh art on ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" j ared rum ml er Ġcolor picker ", Ġ" https :// github . com / j ared rum ml er / Color Picker ", Ġ" Ġj ared rum ml er ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnotices . add Notice ( Notice (" Android ĠSupport ĠLibrary ", Ġ" https :// developer . android . com / topic / libraries / support - library / revisions . html ", Ġ" The ĠAndroid ĠOpen ĠSource ĠProject ", ĠApache Software License 2 0 ())) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġset Theme ( R . style . App Theme _ Material About Activity ) ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Material About List ( context : ĠContext ): ĠMaterial About List Ġ{ ĊĠĠĠĠĠĠĠ Ġrun On Ui Thread Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsupport ActionBar !!. set Display Home As Up Enabled ( true ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsupport ActionBar !!. set Display Show Home Enabled ( true ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġval Ġtitle Card Ġ= ĠMaterial About Card . Builder () ĊĠĠĠĠĠĠĠ Ġtitle Card . addItem ( Material About Title Item ( R . string . app _ name , ĠR . string . tr uly _ launcher , ĠR . drawable . ic _ launcher )) ĊĠĠĠĠĠĠĠ Ġtitle Card . addItem ( Material About Action Item . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. icon ( R . drawable . ic _ info _ outline _ dark _ 2 4 dp ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. text ( getString ( R . string . version ) Ġ+ Ġ" Ġ" Ġ+ ĠBuild Config . VERSION _ NAME ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. setOn Click Action Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġget SharedPreferences (" quick Settings ", ĠContext . MODE _ PRIVATE ). edit (). put Boolean (" first Start ", Ġtrue ). apply () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠstartActivity ( Intent ( this , ĠInit Activity :: class . java )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠ Ġtitle Card . addItem ( Con venience Builder . create Website Action Item ( this , Ġresources . get Drawable ( R . drawable . ic _ github _ dark _ 2 4 dp ), Ġ" GitHub ", Ġfalse , ĠUri . parse (" https :// github . com / Open Launcher Team / open launcher "))) ĊĠĠĠĠĠĠĠ Ġtitle Card . addItem ( Material About Action Item ( getString ( R . string . about _ libs ), Ġnull , Ġresources . get Drawable ( R . drawable . ic _ android _ dark _ 2 4 dp ), ĠMaterial About Item OnClick Action Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠLicense s Dialog . Builder ( this @ About Activity ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Not ices ( notices ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Include Own License ( true ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. show () ĊĠĠĠĠĠĠĠ Ġ})) ĊĠĠĠĠĠĠĠ Ġtitle Card . addItem ( Con venience Builder . create Rate Action Item ( this , Ġresources . get Drawable ( R . drawable . ic _ thumb _ up _ dark _ 2 4 dp ), ĠgetString ( R . string . about _ rate ), Ġnull )) ĊĊĠĠĠĠĠĠĠ Ġval Ġop Team Card Ġ= ĠMaterial About Card . Builder () ĊĠĠĠĠĠĠĠ Ġop Team Card . title ( getString ( R . string . about _ team )) ĊĠĠĠĠĠĠĠ Ġop Team Card . addItem ( Material About Action Item . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. icon ( R . drawable . person _ ben ny k ok ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. text (" Ben ny K ok ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. sub Text ( getString ( R . string . about _ credit _ text _ ben ny k ok )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. setOn Click Action ( Con venience Builder . create Website OnClick Action ( this , ĠUri . parse (" http :// ben ny k ok . we eb ly . com / contact . html "))) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠ Ġop Team Card . addItem ( Material About Action Item . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. icon ( R . drawable . person _ dk an ada ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. text (" dk an ada ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. sub Text ( getString ( R . string . about _ credit _ text _ dk an ada )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. setOn Click Action ( Con venience Builder . create Website OnClick Action ( this , ĠUri . parse (" https :// github . com / dk an ada "))) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠ Ġop Team Card . addItem ( Material About Action Item . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. icon ( R . drawable . person _ gs ant ner ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. text (" G reg or ĠS ant ner ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. sub Text ( getString ( R . string . about _ credit _ text _ gs ant ner )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. setOn Click Action ( Con venience Builder . create Website OnClick Action ( this , ĠUri . parse (" http :// gs ant ner . net / "))) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĊĠĠĠĠĠĠĠ Ġval Ġcontributors Card Ġ= ĠMaterial About Card . Builder () ĊĠĠĠĠĠĠĠ Ġcontributors Card . title ( getString ( R . string . about _ credit )) ĊĠĠĠĠĠĠĠ Ġcontributors Card . addItem ( Material About Action Item . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. icon ( R . drawable . person _ chr is _ de bro die ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. text (" Ch ris ĠDe Bro die ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. sub Text ( R . string . about _ credit _ text _ chr is _ de bro die ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. setOn Click Action ( Con venience Builder . create Website OnClick Action ( this , ĠUri . parse (" https :// plus . google . com / 1 1 1 9 2 3 9 3 8 4 6 1 6 9 6 0 1 9 9 6 7 "))) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠ Ġcontributors Card . addItem ( Material About Action Item . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. icon ( R . drawable . person _ ga uk ler _ fa un ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. text (" Ga uk ler ĠFa un ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. sub Text ( R . string . about _ credit _ text _ ga uk ler _ fa un ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. setOn Click Action ( Con venience Builder . create Website OnClick Action ( this , ĠUri . parse (" https :// github . com / sco ute - d ich "))) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠ Ġcontributors Card . addItem ( Material About Action Item . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. text (" N ik ola ĠPer ov i Äĩ ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. sub Text (" Ser b ian Ġtranslation ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠ Ġcontributors Card . addItem ( Material About Action Item . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. text ( R . string . about _ credit _ text _ all _ contributors ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. setOn Click Action ( Con venience Builder . create Website OnClick Action ( this , ĠUri . parse (" https :// github . com / Open Launcher Team / open launcher / graphs / contributors "))) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĊĠĠĠĠĠĠĠ Ġreturn ĠMaterial About List . Builder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. add Card ( title Card . build ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. add Card ( op Team Card . build ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. add Card ( contributors Card . build ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠgetActivity Title (): ĠCharSequence Ġ= ĠgetString ( R . string . pref _ title __ about ) Ċ Ċ } Ċ