summaryrefslogtreecommitdiff
path: root/libs/utils/ProcessState.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@android.com> 2009-06-16 13:17:50 -0700
committer Romain Guy <romainguy@android.com> 2009-06-16 13:17:50 -0700
commit779398e7eb462ca1562eee50a919305849582e08 (patch)
tree7d1258c6087908c2fd77a6843e6c47f02b4fa5ed /libs/utils/ProcessState.cpp
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 'libs/utils/ProcessState.cpp')
0 files changed, 0 insertions, 0 deletions