commit | 779398e7eb462ca1562eee50a919305849582e08 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@android.com> | Tue Jun 16 13:17:50 2009 -0700 |
committer | Romain Guy <romainguy@android.com> | Tue Jun 16 13:17:50 2009 -0700 |
tree | 7d1258c6087908c2fd77a6843e6c47f02b4fa5ed | |
parent | a6061e043cb6056c303206c2c9870ae3758861f1 [diff] |
Fixes a potential NPE in View. Calling getLocationOnScreen() before the View is attached to a window can throw an NPE. This change simply guards against the exception.