commit | d8b0b233249c176b7adc1a7ee1e97f89e6a0698c | [log] [tgz] |
---|---|---|
author | Chet Haase <chet@google.com> | Mon May 20 06:46:11 2013 -0700 |
committer | Chet Haase <chet@google.com> | Mon May 20 07:57:02 2013 -0700 |
tree | 923165ace5335d37ec9431394f2d5b98416aa4d9 | |
parent | 30c798d58772efd595fffebd9d0d54f717e34ed6 [diff] |
Add null check in ViewOverlay View.getOverlay().clear() can failed with an NPE if there are no drawables in the overlay. Fix: add a null check before dereferencing the mDrawables field. Issue #8895794 getOverlay.clear() crashes if drawables were not added previously Change-Id: I9b2a63036450915681ba3a89a0911e2490063702