Change registerNativeAllocation to long argument
am: f57f7d4cac

Change-Id: I84d91cc114897fc7055ac0edf7e948aedab670ab