$:/litapp/blog

A blog about nothing, coding, photography, and generative art


Android Profiles and DIY Launchers - 2024/01/14 21:43

My current job does not provide a company phone but allows to set the company google account on the personal devices, the account does not install a separate profile, I initially just added the google work account to my phone but felt wrong. Randomly on hackernews or reddit I found out that is possible to install TestDPC that allows to separate accounts for applications, exactly as if a work profile is enforced. This is nice and good but my DIY launcher did not support work profiles, so I rolled up my sleeves and after few too many searches I was able to implement it. The following is a summary of what is needed to support work profiles in a launcher, with the hope it can helps anyone looking for similar information. [...]