← Back to team overview

ubuntu-phone team mailing list archive

How to query the type of device in use?

 

Hey,

We have a few settings bugs like
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1258211
" "About this phone" makes no sense on other devices"

The design recommendation for that one is to use "about this phone" on a
phone and "about this device" on tablets/desktops/etc

Is there an api/documented way to query the "type of device" in use we
could use for that?

Thanks,
Sebastien Bacher


Follow ups