1package: "com.android.appsearch.flags" 2container: "com.android.appsearch" 3 4# Mainline flags had to be is_fixed_read_only in the past but this is no longer true in Android B+ 5# Flags going forward can be created read-write by leaving out is_fixed_read_only. 6# Note, trunk stable does NOT support changing flags from read-only to read-write or vice versa. 7# If you want to change a flag's read type, a new flag must be created. 8 9flag { 10 name: "enable_safe_parcelable_2" 11 is_exported: true 12 namespace: "appsearch" 13 description: "Use SafeParcelable to serialize data through binder" 14 bug: "275629842" 15 is_fixed_read_only: true 16} 17 18flag { 19 name: "enable_grouping_type_per_schema" 20 is_exported: true 21 namespace: "appsearch" 22 description: "Enable result grouping by schema type" 23 bug: "258715421" 24 is_fixed_read_only: true 25} 26 27flag { 28 name: "enable_generic_document_copy_constructor" 29 is_exported: true 30 namespace: "appsearch" 31 description: "Enable GenericDocument to take another GenericDocument to copy construct." 32 bug: "171882200" 33 is_fixed_read_only: true 34} 35 36flag { 37 name: "enable_list_filter_has_property_function" 38 is_exported: true 39 namespace: "appsearch" 40 description: "Enable the hasProperty function in list filter query expressions." 41 bug: "309826655" 42 is_fixed_read_only: true 43} 44 45flag { 46 name: "enable_list_filter_match_score_expression_function" 47 is_exported: true 48 namespace: "appsearch" 49 description: "Enable the 'matchScoreExpression' function in list filter query expressions." 50 bug: "377215223" 51 is_fixed_read_only: true 52} 53 54flag { 55 name: "enable_put_documents_request_add_taken_actions" 56 is_exported: true 57 namespace: "appsearch" 58 description: "Enable addTakenActions API in PutDocumentsRequest." 59 bug: "314026345" 60 is_fixed_read_only: true 61} 62 63flag { 64 name: "enable_set_publicly_visible_schema" 65 is_exported: true 66 namespace: "appsearch" 67 description: "Enable setPubliclyVisibleSchema API in SetSchemaRequest." 68 bug: "325262525" 69 is_fixed_read_only: true 70} 71 72flag { 73 name: "enable_generic_document_builder_hidden_methods" 74 is_exported: true 75 namespace: "appsearch" 76 description: "Enable GenericDocument.Builder to use previously hidden methods." 77 bug: "318408639" 78 is_fixed_read_only: true 79} 80 81flag { 82 name: "enable_search_spec_filter_properties" 83 is_exported: true 84 namespace: "appsearch" 85 description: "Enable addFilterProperties API in SearchSpec and SearchSuggestionSpec." 86 bug: "296088047" 87 is_fixed_read_only: true 88} 89 90flag { 91 name: "enable_search_spec_set_search_source_log_tag" 92 is_exported: true 93 namespace: "appsearch" 94 description: "Enable the setSearchSourceLogTag API in SearchSpec." 95 bug: "315370764" 96 is_fixed_read_only: true 97} 98 99flag { 100 name: "enable_enterprise_global_search_session" 101 is_exported: true 102 namespace: "appsearch" 103 description: "Enable personal profile to search over allowed enterprise profile data in AppSearch through enterprise global search session." 104 bug: "237388235" 105 is_fixed_read_only: true 106} 107 108flag { 109 name: "enable_set_schema_visible_to_configs" 110 is_exported: true 111 namespace: "appsearch" 112 description: "Enable the addSchemaTypeVisibleToConfig API in the setSchemaRequest." 113 bug: "300162279" 114 is_fixed_read_only: true 115} 116 117flag { 118 name: "enable_app_functions" 119 namespace: "appsearch" 120 description: "Guards everything related to AppFunction." 121 bug: "327134039" 122 is_fixed_read_only: true 123 is_exported: true 124} 125 126flag { 127 name: "enable_generic_document_over_ipc" 128 namespace: "appsearch" 129 description: "Guards system API for parcelling Generic documents." 130 bug: "357551503" 131 is_fixed_read_only: true 132 is_exported: true 133} 134 135flag { 136 name: "enable_result_denied_and_result_rate_limited" 137 namespace: "appsearch" 138 description: "Enable previously hidden constants in AppSearchResult." 139 bug: "279047435" 140 is_fixed_read_only: true 141 is_exported: true 142} 143 144flag { 145 name: "enable_get_parent_types_and_indexable_nested_properties" 146 namespace: "appsearch" 147 description: "Enable previously hidden APIs in AppSearchSchema." 148 bug: "291122592" 149 is_fixed_read_only: true 150 is_exported: true 151} 152 153flag { 154 name: "enable_schema_embedding_property_config" 155 namespace: "appsearch" 156 description: "Enables embedding vectors to be used for searches in AppSearch" 157 bug: "326656531" 158 is_fixed_read_only: true 159 is_exported: true 160} 161 162flag { 163 name: "enable_schema_embedding_quantization" 164 namespace: "appsearch" 165 description: "Enables embedding quantization." 166 bug: "359959345" 167 is_fixed_read_only: true 168 is_exported: true 169} 170 171flag { 172 name: "enable_informational_ranking_expressions" 173 namespace: "appsearch" 174 description: "Enables the additional informational ranking expression API" 175 bug: "332642571" 176 is_fixed_read_only: true 177 is_exported: true 178} 179 180 181flag { 182 name: "enable_search_spec_search_string_parameters" 183 namespace: "appsearch" 184 description: "Enables the tokenize function in the list filter language" 185 bug: "352780707" 186 is_fixed_read_only: true 187 is_exported: true 188} 189 190flag { 191 name: "apps_indexer_enabled" 192 namespace: "appsearch" 193 description: "Enables the apps indexer module" 194 bug: "275592563" 195 is_fixed_read_only: true 196 is_exported: true 197} 198 199flag { 200 name: "enable_contacts_index_first_middle_and_last_names" 201 namespace: "appsearch" 202 description: "Enables the indexing of first, middle, and last names in contacts indexer" 203 bug: "358082031" 204 is_fixed_read_only: true 205 is_exported: true 206} 207 208flag { 209 name: "app_open_event_indexer_enabled" 210 namespace: "appsearch" 211 description: "Enables the app open event indexer module" 212 bug: "357835538" 213 is_fixed_read_only: true 214 is_exported: true 215} 216 217flag { 218 name: "enable_result_already_exists" 219 namespace: "appsearch" 220 description: "Enable the RESULT_ALREADY_EXISTS constant in AppSearchResult" 221 bug: "357708638" 222 is_fixed_read_only: true 223 is_exported: true 224} 225 226flag { 227 name: "enable_blob_store" 228 namespace: "appsearch" 229 description: "Enable the BlobHandle and putBlob APIs in AppSearch" 230 bug: "273591938" 231 is_fixed_read_only: true 232 is_exported: true 233} 234 235flag { 236 name: "enable_enterprise_empty_batch_result_fix" 237 namespace: "appsearch" 238 description: "Populates the GetDocuments batch result with RESULT_NOT_FOUND when the enterprise user cannot be retrieved." 239 bug: "349805579" 240 is_fixed_read_only: true 241 is_exported: true 242} 243 244flag { 245 name: "enable_apps_indexer_incremental_put" 246 namespace: "appsearch" 247 description: "Calls put only for added and updated AppFunctionStaticMetadata documents" 248 bug: "367410454" 249 is_fixed_read_only: true 250 is_exported: true 251} 252 253flag { 254 name: "enable_additional_builder_copy_constructors" 255 namespace: "appsearch" 256 description: "Enables additional builder copy constructors for AppSearchSchema, SetSchemaRequest, SearchSpec, JoinSpec, AppSearchBatchResult, and GetSchemaResponse." 257 bug: "369563892" 258 is_fixed_read_only: true 259 is_exported: true 260} 261 262flag { 263 name: "enable_abstract_syntax_trees" 264 namespace: "appsearch" 265 description: "Enables abstract syntax trees to be built and used within AppSearch." 266 bug: "356661489" 267 is_fixed_read_only: true 268 is_exported: true 269} 270 271flag { 272 name: "enable_search_spec_filter_document_ids" 273 namespace: "appsearch" 274 description: "Enables the addFilterDocumentId API in the SearchSpec." 275 bug: "367464836" 276 is_fixed_read_only: true 277 is_exported: true 278} 279 280flag { 281 name: "enable_document_limiter_replace_tracking" 282 namespace: "appsearch" 283 description: "Enables the replacement of the calculation of doc limits." 284 bug: "363301147" 285 is_fixed_read_only: true 286 is_exported: true 287} 288 289flag { 290 name: "enable_scorable_property" 291 namespace: "appsearch" 292 description: "Enables the feature of scorable property." 293 bug: "357105964" 294 is_fixed_read_only: true 295 is_exported: true 296} 297 298flag { 299 name: "enable_search_result_parent_types" 300 namespace: "appsearch" 301 description: "Enables wrapping the parent types of a document in the SearchResult instead of GenericDocument." 302 bug: "371610934" 303 is_fixed_read_only: true 304 is_exported: true 305 } 306 307flag { 308 name: "enable_delete_propagation_type" 309 namespace: "appsearch" 310 description: "Enables delete propagation type related APIs." 311 bug: "376913014" 312 is_fixed_read_only: true 313 is_exported: true 314} 315 316flag { 317 name: "enable_app_functions_schema_parser" 318 namespace: "appsearch" 319 description: "Enables the AppFunctionSchemaParser for dynamic schema parsing." 320 bug: "380729091" 321 is_fixed_read_only: true 322 is_exported: true 323} 324 325flag { 326 name: "enable_check_contacts_indexer_delta_timestamps" 327 namespace: "appsearch" 328 description: "Enables checking Contacts Indexer delta timestamps before delta updates." 329 bug: "329108459" 330 is_exported: true 331 metadata { 332 purpose: PURPOSE_BUGFIX 333 } 334} 335 336flag { 337 name: "enable_four_hour_min_time_optimize_threshold" 338 namespace: "appsearch" 339 description: "Sets the minimum time interval threshold between successive optimize calls to 4 hours." 340 bug: "385020106" 341 is_exported: true 342 metadata { 343 purpose: PURPOSE_BUGFIX 344 } 345} 346 347flag { 348 name: "enable_apps_indexer_check_prior_attempt" 349 namespace: "appsearch" 350 description: "Enables a check that prevents apps indexer running too soon after a prior sync." 351 bug: "385197463" 352 is_exported: true 353 metadata { 354 purpose: PURPOSE_BUGFIX 355 } 356} 357 358flag { 359 name: "enable_check_contacts_indexer_update_job_params" 360 namespace: "appsearch" 361 description: "Enables checking Contacts Indexer update job params on boot and rescheduling if the job params do not match the expected." 362 bug: "384773430" 363 is_exported: true 364} 365 366flag { 367 name: "enable_app_open_events_indexer_check_prior_attempt" 368 namespace: "appsearch" 369 description: "Enables a check that prevents app open events indexer running too soon after a prior sync." 370 bug: "385197463" 371 is_exported: true 372 metadata { 373 purpose: PURPOSE_BUGFIX 374 } 375} 376 377flag { 378 name: "enable_all_package_indexing_on_indexer_update" 379 namespace: "appsearch" 380 description: "Enables the all package indexing when app indexer is updated." 381 bug: "389034742" 382 is_exported: true 383 metadata { 384 purpose: PURPOSE_BUGFIX 385 } 386} 387 388flag { 389 name: "enable_isolated_storage" 390 namespace: "appsearch" 391 description: "Uses isolated storage for user data." 392 bug: "384768541" 393 is_exported: true 394} 395 396flag { 397 name: "enable_recovery_proof_persistence" 398 namespace: "appsearch" 399 description: "Whether mutations should call persistToDisk with RECOVERY_PROOF (true) or LITE (false)" 400 bug: "352556856" 401 is_exported: true 402} 403 404flag { 405 name: "enable_schema_description" 406 namespace: "appsearch" 407 description: "Enable getDescription and related builders." 408 bug: "326987971" 409 is_exported: true 410} 411 412flag { 413 name: "enable_app_search_manage_blob_files" 414 namespace: "appsearch" 415 description: "Enable AppSearch to manage blob files." 416 bug: "392140774" 417 is_exported: true 418 metadata { 419 purpose: PURPOSE_BUGFIX 420 } 421} 422 423flag { 424 name: "enable_calculate_time_since_last_attempted_optimize" 425 namespace: "appsearch" 426 description: "Enable time since last optimize to be calculated by last attempted optimize run time instead of last successful optimize run time." 427 bug: "385189503" 428 is_exported: true 429 metadata { 430 purpose: PURPOSE_BUGFIX 431 } 432} 433 434flag { 435 name: "enable_qualified_id_join_index_v3" 436 namespace: "appsearch" 437 description: "Enable qualified id join index v3." 438 bug: "376913014" 439 is_exported: true 440} 441 442flag { 443 name: "enable_soft_index_restoration" 444 namespace: "appsearch" 445 description: "Enable soft index restoration." 446 bug: "384947619" 447 is_exported: true 448} 449 450flag { 451 name: "enable_marker_file_for_optimize" 452 namespace: "appsearch" 453 description: "Enable marker file creation for Optimize API." 454 bug: "385021899" 455 is_exported: true 456 metadata { 457 purpose: PURPOSE_BUGFIX 458 } 459} 460 461flag { 462 name: "enable_release_backup_schema_file_if_overlay_present" 463 namespace: "appsearch" 464 description: "Enable releasing the backup schema file instance in the schema store if the overlay schema instance exists." 465 bug: "396436137" 466 is_exported: true 467 metadata { 468 purpose: PURPOSE_BUGFIX 469 } 470} 471 472flag { 473 name: "enable_embedding_match_info" 474 namespace: "appsearch" 475 description: "Enables the option to retrieve embedding match info during snippetting." 476 bug: "395128139" 477 is_exported: true 478} 479 480flag { 481 name: "enable_batch_put" 482 namespace: "appsearch" 483 description: "Uses the new batch put API from Icing." 484 bug: "394875109" 485 is_exported: true 486 metadata { 487 purpose: PURPOSE_BUGFIX 488 } 489} 490