android: move up MethodResult.keepAlive and MethodResult.release.