summaryrefslogtreecommitdiff
path: root/core/java/android/app/ApplicationThreadNative.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-06-16 13:17:50 -0700
committerRomain Guy <romainguy@android.com>2009-06-16 13:17:50 -0700
commit779398e7eb462ca1562eee50a919305849582e08 (patch)
tree7d1258c6087908c2fd77a6843e6c47f02b4fa5ed /core/java/android/app/ApplicationThreadNative.java
parenta6061e043cb6056c303206c2c9870ae3758861f1 (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.
Diffstat (limited to 'core/java/android/app/ApplicationThreadNative.java')
0 files changed, 0 insertions, 0 deletions