commit | f6095a82fab20906ecd22e1bef8877519467ab16 | [log] [tgz] |
---|---|---|
author | Nataniel Borges <natanieljr@google.com> | Thu Feb 14 15:37:30 2019 -0800 |
committer | Nataniel Borges <natanieljr@google.com> | Thu Feb 14 15:37:30 2019 -0800 |
tree | 07c3880b6db5e0fccdc56ee03948c66360c633c8 | |
parent | 73ba692accfc0e356e112620671aa7ddb314606b [diff] |
Fix "TypeError: Cannot read property 'x' of null" on SF traces The protobuf definition allows the position attribute not to be defined. Winscope crashes if the position is not defined, instead of assuming it as (x: 0, y: 0) Test: Load a SF protobuf object without the position attribute. Check if Winscope does't crash while loading it. Change-Id: Ib12ba7875f1e7b22819274c1cd9961a1dbfe82cf