Fix Core Platform API JNI check am: 6c56db31b8

Change-Id: I0b05e6e62225b19440ad257d9d4dab295920554e