Peter Laraia
42b6e6682c
Fix crash - check if backgroundColor is null before trying to fetch it in ViewProps isLayoutOnly
...
Summary:
Noticed while working in MobileHome with android device, when interacting with the Tasks change progress/priority components (MobileHomeTasksDetailsSelectorToken), which provides `borderRadius` style and `backgroundColor: ifSelected ? value : null`, and when `backgroundColor` is `null`, the line changed in this diff crashes (throwing the `NoSuchKeyException` at `ReadableNativeMap:110` [because of isNull check on `ReadableNativeMap:107`])
Changelog:
[Android][Fixed] - Fixed crash when using style borderRadius: any with backgroundColor: null
Reviewed By: JoshuaGross
Differential Revision: D27932828
fbshipit-source-id: 801b04c856ee9dc5a36bbf3e6e3d81de9b1e81a1
2021-04-22 10:41:38 -07:00
..
2020-12-11 16:45:55 -08:00
2020-12-11 16:45:55 -08:00
2019-10-16 10:06:34 -07:00
2021-03-31 06:33:23 -07:00
2021-04-22 10:41:38 -07:00
2021-04-01 04:50:59 -07:00
2020-03-19 20:49:36 -07:00
2020-12-11 16:45:55 -08:00
2021-04-05 17:45:29 -07:00
2020-07-07 23:32:38 -07:00
2021-03-24 03:52:31 -07:00
2021-03-26 00:09:40 -07:00
2021-03-26 00:09:40 -07:00
2020-10-20 17:00:47 -07:00
2021-03-23 14:11:47 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2021-01-22 19:32:14 -08:00
2020-07-20 00:33:22 -07:00
2020-05-11 09:01:33 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2021-03-04 22:22:34 -08:00
2020-04-02 14:11:17 -07:00
2019-10-16 10:06:34 -07:00
2021-01-28 14:07:26 -08:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2021-03-31 06:33:23 -07:00
2019-10-16 10:06:34 -07:00
2020-12-09 21:17:25 -08:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-12-04 19:58:10 -08:00
2019-10-16 10:06:33 -07:00
2020-05-13 15:44:24 -07:00
2020-05-13 15:44:24 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:33 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2021-03-01 17:55:16 -08:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2021-03-24 03:52:31 -07:00
2021-03-08 15:09:04 -08:00
2019-10-16 10:06:34 -07:00
2020-05-15 21:43:05 -07:00
2019-10-16 10:06:34 -07:00
2021-02-16 10:12:24 -08:00
2021-02-16 10:12:24 -08:00
2021-03-31 06:33:23 -07:00
2021-03-08 15:09:04 -08:00
2019-10-16 10:06:34 -07:00
2021-02-16 10:12:24 -08:00
2020-05-26 11:39:28 -07:00
2021-01-28 14:07:26 -08:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2019-11-05 13:18:59 -08:00
2019-10-16 10:06:34 -07:00
2021-03-04 22:22:34 -08:00
2019-10-16 10:06:33 -07:00
2021-02-16 10:12:24 -08:00
2021-02-16 10:12:24 -08:00
2020-03-02 15:12:09 -08:00
2019-10-16 10:06:33 -07:00