commit | 670ceded12e09219c41f4931b23d1baab6ab2fb0 | [log] [tgz] |
---|---|---|
author | Tun Zheng <peterzheng@google.com> | Thu Oct 12 11:56:50 2017 -0700 |
committer | Tun Zheng <peterzheng@google.com> | Thu Oct 12 21:55:54 2017 +0000 |
tree | 7a29c0cf41cead45fd3e2cd9ee5243c93646583a | |
parent | 60d548786e5521d819c9eadeaa34fcffe36c45ff [diff] |
Fix group divider make chrome crash issue. ListMenuItemView's group divider is only existed in popup_menu_item_layout, but Chrome use list_menu_item_layout. It will make NullPointerException and crash the chrome. Fix it by check null before using the group divider. Bug: 66987086 Test: Long click an image from webpage in chrome, click the "Download image" item, and it works well. Change-Id: Ie5f19194a968b4fff0126e1cf8bebda5344c8105