Ensure PropertyValue returned from native side is not null.
authorUmar <m.umar@partner.samsung.com>
Mon, 5 Jun 2017 16:23:48 +0000 (17:23 +0100)
committerUmar <m.umar@partner.samsung.com>
Mon, 5 Jun 2017 16:57:41 +0000 (17:57 +0100)
commit3f3d69f58f96e3fb985b35655de2144df4302d45
tree4746330e1bbcf1ae49dda42dd648ce79d8487ce1
parent854796e555616f2acb04109fd8de44819aca52ad
Ensure PropertyValue returned from native side is not null.

The BACKGROUND property returns a PropertyMap and we are trying to find Visual.Property.Type inside that PropertyMap which is not available as it has not been set in the application side, and hence causing a crash. Anyway, this has now been fixed by adding null checks.

Change-Id: I2e2fe44a94e4fde15c259a9e67655dfabf165e95
src/Tizen.NUI/src/public/BaseComponents/View.cs