vendredi 2 janvier 2015

[Q] xdpi/ydpi erroneously reported as ~160 on Z7 Mini. topic






Despite ro.sf.lcd_density being set to 480 (which means xxhdpi DPI bucket is selected), both xdpi and ydpi is reported as ~160 (as can be seen using e.g. Screen Size). When an application attempts to calculate screen size, it's erroneously calculated as ~13 inches. This causes trouble in e.g. VR apps (such as Google Cardboard) and a few others.

Any ideas on how to get getDisplayMetrics().xdpi/ypdi to report correct values?






Aucun commentaire:

Enregistrer un commentaire