Remove dependency on frameworks/native

Change-Id: I66e226f8390bd499e956b00e4088bc0e1e150cb1