My mistake.
I mean not PRODUCT_PACKAGE_OVERLAYS.

I mean PRODUCT_PROPERTY_OVERRIDES.

Any help here?

On Feb 3, 6:24 pm, NoraBora <[email protected]> wrote:
> in vendor/xxx/system.prop
>     ro.sf.lcd_density = 160
>
> in vendor/xxx/xxx.mk
>     PRODUCT_PACKAGE_OVERLAYS += ro.sf.lcd_density = 240
>
> after I build
>
> on the device,> cat /system/build.prop
>
>    ...
>    ro.sf.lcd_density = 160
>    ...
>    #
>    # ADDITIONAL_BUILD_PROPERTIES
>    #
>    ...
>    ro.sf.lcd_density = 240
>    ...
>
> so I expected ro.sf.lcd_density is overridden to 240 but
>
> the screen seems like 160dpi and when I type "getprop
> ro.sf.lcd_density" it returns 160.
>
> Is this normal? the second property in build.prop is ignored?

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to