Change registerNativeAllocation to long argument am: f57f7d4cac am: f0b3d333b5
am: 5725c80a40

Change-Id: I6d2f6e98e709b0692c3e17bccc709995268a0550