Merge changes from topic '37686554' into nougat-cts-dev

* changes:
  liblog: add __android_log_close()
  Fix vold vulnerability in FrameworkListener
  libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8
  debuggerd: verify that traced threads belong to the right process.