@@ -25,6 +25,7 @@ public sealed class ApplicationConfig
2525 public bool broken_exception_transitions ;
2626 public bool instant_run_enabled ;
2727 public bool jni_add_native_method_registration_attribute_present ;
28+ public bool have_runtime_config_blob ;
2829 public byte bound_stream_io_exception_type ;
2930 public uint package_naming_policy ;
3031 public uint environment_variable_count ;
@@ -150,27 +151,32 @@ static ApplicationConfig ReadApplicationConfig (string envFile)
150151 ret . jni_add_native_method_registration_attribute_present = ConvertFieldToBool ( "jni_add_native_method_registration_attribute_present" , envFile , i , field [ 1 ] ) ;
151152 break ;
152153
153- case 7 : // bound_stream_io_exception_type: byte / .byte
154+ case 7 :
155+ AssertFieldType ( envFile , ".byte" , field [ 0 ] , i ) ;
156+ ret . have_runtime_config_blob = ConvertFieldToBool ( "have_runtime_config_blob" , envFile , i , field [ 1 ] ) ;
157+ break ;
158+
159+ case 8 : // bound_stream_io_exception_type: byte / .byte
154160 AssertFieldType ( envFile , ".byte" , field [ 0 ] , i ) ;
155161 ret . bound_stream_io_exception_type = ConvertFieldToByte ( "bound_stream_io_exception_type" , envFile , i , field [ 1 ] ) ;
156162 break ;
157163
158- case 8 : // package_naming_policy: uint32_t / .word | .long
164+ case 9 : // package_naming_policy: uint32_t / .word | .long
159165 Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile } :{ i } ': { field [ 0 ] } ") ;
160166 ret . package_naming_policy = ConvertFieldToUInt32 ( "package_naming_policy" , envFile , i , field [ 1 ] ) ;
161167 break ;
162168
163- case 9 : // environment_variable_count: uint32_t / .word | .long
169+ case 10 : // environment_variable_count: uint32_t / .word | .long
164170 Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile } :{ i } ': { field [ 0 ] } ") ;
165171 ret . environment_variable_count = ConvertFieldToUInt32 ( "environment_variable_count" , envFile , i , field [ 1 ] ) ;
166172 break ;
167173
168- case 10 : // system_property_count: uint32_t / .word | .long
174+ case 11 : // system_property_count: uint32_t / .word | .long
169175 Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile } :{ i } ': { field [ 0 ] } ") ;
170176 ret . system_property_count = ConvertFieldToUInt32 ( "system_property_count" , envFile , i , field [ 1 ] ) ;
171177 break ;
172178
173- case 11 : // android_package_name: string / [pointer type]
179+ case 12 : // android_package_name: string / [pointer type]
174180 Assert . IsTrue ( expectedPointerTypes . Contains ( field [ 0 ] ) , $ "Unexpected pointer field type in '{ envFile } :{ i } ': { field [ 0 ] } ") ;
175181 pointers . Add ( field [ 1 ] . Trim ( ) ) ;
176182 break ;
0 commit comments