Refactor NativeInterace to wrap static native function as public non-static function
am: 26337ca3e1

Change-Id: I98b54f473dc6f121459c0d974479cea9dc2ab787