← Back to team overview

ubuntu-phone team mailing list archive

Re: Find out if running on a phone

 

Hi,

On 11.01.2016 00:15, Michi Henning wrote:
>> That said, there might be some rare cases where you need info on the
>> currently connected input devices. We're working on an API for that [1]
>> which I think Timo is already looking to add to the images, but it's not
>> landed yet.
> 
> Thanks Michael! Is there any doc or header files I can look at? The silo doesn’t include an MR link.

Right... forgot that it's a gerrit MR, not Launchpad:

https://codereview.qt-project.org/#/c/101049/

> 
>> In any case, if you want to know if you are "on a phone or on a
>> desktop", you are probably trying to walk the wrong direction.
> 
> This is for the thumbnailer. Depending on whether hardware codecs (phone) or software codecs (desktop) are installed, I need to change performance tuning parameters. The hardware and software codecs have very different timings, and, unfortunately, different semantics. For example, the hardware codecs cannot be run concurrently on the device because of a kernel/android bug:
> 
> https://bugs.launchpad.net/ubuntu/+source/thumbnailer/+bug/1466273
> 
> Michi.
> 
>>
>> [1] https://requests.ci-train.ubuntu.com/#/ticket/763
>>
>> Hope this helps,
>> Michael
>>
>> -- 
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
> 

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References