Merge "Fix issue #3126018: No way to specify NativeActivity's native method" into gingerbread