Temporary fix to prevent breakage with new API.

Adds back in the old method signature. This temporary method can
be deleted in a week or so, after all callers have been migrated to
the new API.

Test: Test that make finishes.
Bug: 72562867
Change-Id: I608fcab0ac5508a482fc8d1e63490d3cfc1fedb1
2 files changed