I'm writing an app that needs to distinguish between Android Stock ROM and other ROMs like SenseUI, etc.
How can I do that within my application?
Thanks.
I'm writing an app that needs to distinguish between Android Stock ROM and other ROMs like SenseUI, etc.
How can I do that within my application?
Thanks.
Copyright © 2021 Jogjafile Inc.
I found that querying
ro.product.brand
usinggetprop
yields exactly what I needed.For stock ROMs the value we get back is google
For SenseUI for example, we will get back HTC
The above method will return the only google or HTC etc...
I hope it helped someone else as well.