Fix sl4a build

Use the public APIs instead of member variables directly.

Change-Id: Ie00c245b10297b1ae7d8196abad9caa5d95aef2b
1 file changed