commit | 7e3453c5cb7308ecf123bd7fa8d21f7978f98b31 | [log] [tgz] |
---|---|---|
author | Tony Huang <tonyychuang@google.com> | Fri Mar 22 14:18:34 2019 +0800 |
committer | Tony Huang <tonyychuang@google.com> | Fri Mar 22 14:38:02 2019 +0800 |
tree | dc26c72d8d1a7bde51816612264c2d73c99cb186 | |
parent | 3a567f4c5d18f2ede6fa9f65e7c99bb44b298840 [diff] |
Workaround for fix a11y crash bug a11y event will trigger getSpanSize and we will check view type there and we use cursor to check view type, however, cursor is null at this timing then cause NPE. Add null check to prevent NPE and test it will not cause other a11y side effect. Fix: 128490497 Test: manual Test: atest DocumentsUITests Change-Id: Ic6ddd8db5bf67f559c8855c5adc5e55da99304e7