Ensure PropertyValue returned from native side is not null. 86/132486/2
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)
commite5d676ff829aefe6fd7a1437ae9d62a95d553102
tree120bda39c776b2f34f2a8570d52856cc99f87509
parent97871301df4ff58eb3c06b29b95442ba920f9878
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
Tizen.NUI/src/public/BaseComponents/View.cs