Merge changes I64d8f8fe,I47176685 into udc-dev

* changes:
  Move to use the writeSparseArray
  Handle the lint error for NewAPi