Merge "[Thread] add Thread aconfig_declaration to java_sdk_library" into main