update to new API
Remove extra arrays and allocations for manual
allocation -> int conversions which were
a legacy issue.

Change-Id: I7c71f764e48b01bb29911c1231e8fce5df8ff2a2
2 files changed