Fix native registration.

I thought I'd tested my previous change but hadn't.

Change-Id: Ie121b571cc2f767dd4bbe10291a56fe31496e6cc
1 file changed