Search code examples
androidandroid-drawabledisplayandroid-wallpapersurfaceflinger

Android UI behaves differently with different display hardware


My android device behaves in a strange manner when I connect a 1366 X 768 lvds display. The UI is different from what I was getting with HDMI connected. I'm getting a different home screen with some other wallpaper and more than that the navigation keys at the bottom are missing.

It looks like based on the hardware display configuration the UI is configured.

Is there a way to override this behaviour? Please suggest some ways to tackle this..

Android Version : Lollipop 5.0.1


Solution

  • issue was due to a hard coded display density parameter. It was hard coded to 240. Issue is resolved when the density value is changed to 160.

    $adb shell "echo qemu.sf.lcd_density=160 >> /system/build.prop"

    Thanks, Arjun.