1# Use this file to add new flags to the HealthFitness module instead of flags.aconfig. 2package: "com.android.healthfitness.flags" 3container: "com.android.healthfitness" 4 5flag { 6 # Unlike "development_database" flag, this flag is for the implementation of the infrastructure 7 # that allow guarding and rolling out DB schema changes from "Staging" onwards, so this flag 8 # will eventually be rolled out to "mainline" and removed after "mainline". 9 name: "infra_to_guard_db_changes" 10 namespace: "health_fitness_aconfig" 11 description: "Flag to guard implementation of the infrastructure which will be used to flag DB schema changes." 12 bug: "340809376" 13 is_fixed_read_only: true 14} 15 16flag { 17 # This flag should NEVER be turned on in prod / release for real users. 18 # This flag turns on development only features in the database schema. 19 # It is used to guard database schema changes that are not finalized enough 20 # to add upgrade/downgrade code for, and so should only be used on development 21 # devices. If this flag is enabled then the device could have data loss. 22 name: "development_database" 23 namespace: "health_fitness_aconfig" 24 description: "Flag for using currently being developed database tables." 25 bug: "354913565" 26 is_fixed_read_only: true 27 is_exported: true 28} 29 30flag { 31 name: "personal_health_record" 32 namespace: "health_fitness_aconfig" 33 description: "Flag for adding new PHR features." 34 bug: "329271826" 35 is_fixed_read_only: true 36 is_exported: true 37} 38 39flag { 40 name: "personal_health_record_database" 41 namespace: "health_fitness_aconfig" 42 description: "Flag for guarding DB schema changes for PHR features." 43 bug: "340809376" 44 is_fixed_read_only: true 45 is_exported: true 46} 47 48flag { 49 name: "personal_health_record_telemetry" 50 namespace: "health_fitness_aconfig" 51 description: "Flag for guarding telemetry for PHR MVP APIs. This is for normal WW" 52 bug: "361796560" 53 is_fixed_read_only: true 54 is_exported: true 55} 56 57flag { 58 name: "personal_health_record_telemetry_private_ww" 59 namespace: "health_fitness_aconfig" 60 description: "Flag for guarding telemetry for PHR MVP APIs. This is for private WW" 61 bug: "375157800" 62 is_fixed_read_only: true 63 is_exported: true 64} 65 66flag { 67 name: "personal_health_record_ui_telemetry" 68 namespace: "health_fitness_aconfig" 69 description: "Flag for guarding telemetry for PHR MVP UI." 70 bug: "342159144" 71 is_fixed_read_only: true 72 is_exported: true 73} 74 75flag { 76 name: "personal_health_record_entries_screen" 77 namespace: "health_fitness_aconfig" 78 description: "Flag for guarding the improved Health Record Entries screen." 79 bug: "362672526" 80 is_fixed_read_only: true 81 is_exported: true 82} 83 84flag { 85 name: "personal_health_record_lock_screen_banner" 86 namespace: "health_fitness_aconfig" 87 description: "Flag for guarding the home screen banner that recommends setting up a device lock." 88 bug: "375384825" 89 is_fixed_read_only: true 90 is_exported: true 91} 92 93flag { 94 name: "personal_health_record_enable_d2d_and_export_import" 95 namespace: "health_fitness_aconfig" 96 description: "Flag for merging PHR data in both device to device transfer and export/import flows." 97 bug: "369809932" 98 is_fixed_read_only: true 99 is_exported: true 100} 101 102flag { 103 name: "personal_health_record_disable_d2d" 104 namespace: "health_fitness_aconfig" 105 description: "Flag for excluding PHR tables from device to device transfer flow." 106 bug: "369809932" 107 is_fixed_read_only: true 108 metadata { 109 purpose: PURPOSE_BUGFIX 110 } 111 is_exported: true 112} 113 114flag { 115 name: "personal_health_record_disable_export_import" 116 namespace: "health_fitness_aconfig" 117 description: "Flag for excluding PHR tables from export/import flow." 118 bug: "369809932" 119 is_fixed_read_only: true 120 metadata { 121 purpose: PURPOSE_BUGFIX 122 } 123 is_exported: true 124} 125 126flag { 127 name: "personal_health_record_enable_export_import" 128 namespace: "health_fitness_aconfig" 129 description: "Flag for including PHR tables from export/import flow. Because personal_health_record_disable_export_import flag has already been rolled out to mainline for M-02 2025, so it won't be rolled back. Instead, this flag is added to override that flag." 130 bug: "369809932" 131 is_fixed_read_only: true 132 is_exported: true 133} 134 135flag { 136 name: "phr_fhir_structural_validation" 137 namespace: "health_fitness_aconfig" 138 description: "Flag for validating structure of FHIR resources when upserting medical data." 139 bug: "350010200" 140 is_fixed_read_only: true 141 is_exported: true 142} 143 144flag { 145 name: "phr_fhir_oneof_validation" 146 namespace: "health_fitness_aconfig" 147 description: "UNUSED." 148 bug: "376673951" 149 is_fixed_read_only: true 150 is_exported: true 151} 152 153flag { 154 name: "phr_fhir_primitive_type_validation" 155 namespace: "health_fitness_aconfig" 156 description: "Flag for validating FHIR primitive data types when upserting medical data." 157 bug: "361775172" 158 is_fixed_read_only: true 159 is_exported: true 160} 161 162flag { 163 name: "phr_fhir_basic_complex_type_validation" 164 namespace: "health_fitness_aconfig" 165 description: "Flag for basic validation of FHIR complex types when upserting medical data." 166 bug: "376283237" 167 is_fixed_read_only: true 168 is_exported: true 169} 170 171flag { 172 name: "phr_fhir_complex_type_validation" 173 namespace: "health_fitness_aconfig" 174 description: "Flag for full validation of FHIR complex types when upserting medical data." 175 bug: "377701407" 176 is_fixed_read_only: true 177 is_exported: true 178} 179 180flag { 181 name: "phr_fhir_validation_disallow_empty_objects_arrays" 182 namespace: "health_fitness_aconfig" 183 description: "Flag for disallowing empty objects and arrays." 184 bug: "382469576" 185 is_fixed_read_only: true 186 is_exported: true 187} 188 189flag { 190 name: "phr_fhir_extension_validation" 191 namespace: "health_fitness_aconfig" 192 description: "Flag for validating the structure of Extension data type." 193 bug: "377706021" 194 is_fixed_read_only: true 195 is_exported: true 196} 197 198flag { 199 name: "phr_fhir_resource_validator_use_weak_reference" 200 namespace: "health_fitness_aconfig" 201 description: "Flag for using WeakReference for the FhirResourceValidator to allow it to be garbage collected." 202 bug: "375153151" 203 is_fixed_read_only: true 204 is_exported: true 205} 206 207flag { 208 name: "phr_upsert_fix_parcel_size_calculation" 209 namespace: "health_fitness_aconfig" 210 description: "Flag for fixing the UpsertMedicalResourceRequest parcel size calculation." 211 bug: "379819662" 212 is_fixed_read_only: true 213 is_exported: true 214 metadata { 215 purpose: PURPOSE_BUGFIX 216 } 217} 218 219flag { 220 name: "phr_upsert_fix_use_shared_memory" 221 namespace: "health_fitness_aconfig" 222 description: "Flag for fixing upsertMedicalResources to use shared memory." 223 bug: "380022133" 224 is_fixed_read_only: true 225 is_exported: true 226 metadata { 227 purpose: PURPOSE_BUGFIX 228 } 229} 230 231flag { 232 name: "phr_read_medical_resources_fix_query_limit" 233 namespace: "health_fitness_aconfig" 234 description: "Flag for fixing the readMedicalResources query." 235 bug: "381201968" 236 is_fixed_read_only: true 237 is_exported: true 238 metadata { 239 purpose: PURPOSE_BUGFIX 240 } 241} 242 243flag { 244 name: "export_import" 245 namespace: "health_fitness_aconfig" 246 description: "Flag for adding new export/import feature." 247 bug: "318484000" 248 is_fixed_read_only: true 249 is_exported: true 250} 251 252flag { 253 name: "mindfulness" 254 namespace: "health_fitness_aconfig" 255 description: "Enables mindfulness session data type." 256 bug: "341704006" 257 is_fixed_read_only: true 258 is_exported: true 259} 260 261flag { 262 name: "new_information_architecture" 263 namespace: "health_fitness_aconfig" 264 description: "Enables new information architecture." 265 bug: "291249677" 266 is_fixed_read_only: true 267 is_exported: true 268} 269 270flag { 271 name: "health_connect_mappings" 272 namespace: "health_fitness_aconfig" 273 description: "Uses new mappings for convenient data type maintenance." 274 bug: "353283052" 275 is_fixed_read_only: true 276 is_exported: true 277} 278 279flag { 280 name: "onboarding" 281 namespace: "health_fitness_aconfig" 282 description: "Enables onboarding elements for users, such as banners and notifications." 283 bug: "356819770" 284 is_fixed_read_only: true 285 is_exported: true 286} 287 288flag { 289 name: "export_import_fast_follow" 290 namespace: "health_fitness_aconfig" 291 description: "Enables export/import feature updates after MVP, during the fast-follow stage." 292 bug: "318484000" 293 is_fixed_read_only: true 294 is_exported: true 295} 296 297flag { 298 name: "clear_caches_after_switching_user" 299 namespace: "health_fitness_aconfig" 300 description: "Enables clearing database caches after switching users." 301 bug: "355426144" 302 is_fixed_read_only: true 303 metadata { 304 purpose: PURPOSE_BUGFIX 305 } 306} 307 308flag { 309 name: "cycle_phases" 310 namespace: "health_fitness_aconfig" 311 description: "Enables menstrual cycle phases data type." 312 bug: "296855479" 313 is_fixed_read_only: true 314 is_exported: true 315} 316 317flag { 318 name: "add_missing_access_logs" 319 namespace: "health_fitness_aconfig" 320 description: "Adds missing access logs" 321 bug: "359582925" 322 is_fixed_read_only: true 323 is_exported: true 324 metadata { 325 purpose: PURPOSE_BUGFIX 326 } 327} 328 329flag { 330 name: "ecosystem_metrics" 331 namespace: "health_fitness_aconfig" 332 description: "Enables collection of ecosystem metrics." 333 bug: "369507783" 334 is_fixed_read_only: true 335 is_exported: true 336} 337 338flag { 339 name: "immediate_export" 340 namespace: "health_fitness_aconfig" 341 description: "Enables immediate export." 342 bug: "318484000" 343 is_fixed_read_only: true 344 is_exported: true 345} 346 347flag { 348 name: "cloud_backup_and_restore" 349 namespace: "health_fitness_aconfig" 350 description: "Enables cloud B&R." 351 bug: "369798725" 352 is_fixed_read_only: true 353 is_exported: true 354} 355 356flag { 357 name: "cloud_backup_and_restore_db" 358 namespace: "health_fitness_aconfig" 359 description: "Enables DB modification for cloud B&R." 360 bug: "369798725" 361 is_fixed_read_only: true 362 is_exported: true 363} 364 365flag { 366 name: "ecosystem_metrics_db_changes" 367 namespace: "health_fitness_aconfig" 368 description: "Enables DB modification to allow collection of ecosystem metrics." 369 bug: "369507783" 370 is_fixed_read_only: true 371 is_exported: true 372} 373 374flag { 375 name: "logcat_censor_iae" 376 namespace: "health_fitness_aconfig" 377 description: "In Health Connect service only log the stack trace, not the message for IllegalArgumentExceptions." 378 bug: "372454440" 379 is_fixed_read_only: true 380 is_exported: true 381} 382 383flag { 384 name: "activity_intensity" 385 namespace: "health_fitness_aconfig" 386 description: "Enables the activity intensity data type." 387 bug: "373585917" 388 is_fixed_read_only: true 389 is_exported: true 390} 391 392flag { 393 name: "activity_intensity_db" 394 namespace: "health_fitness_aconfig" 395 description: "Enables DB changes to support the activity intensity data type." 396 bug: "373585917" 397 is_fixed_read_only: true 398 is_exported: true 399} 400 401flag { 402 name: "export_import_nice_to_have" 403 namespace: "health_fitness_aconfig" 404 description: "Enables export/import feature updates after fast follow stage." 405 bug: "318484000" 406 is_fixed_read_only: true 407 is_exported: true 408} 409 410flag { 411 name: "expressive_theming_enabled" 412 namespace: "health_fitness_aconfig" 413 description: "Enables expressive theming for the UI." 414 bug: "376085738" 415 is_fixed_read_only: true 416 is_exported: true 417} 418 419flag { 420 name: "architecture_improvement" 421 namespace: "health_fitness_aconfig" 422 description: "Enables architecture and testing improvement for HC." 423 bug: "376085738" 424 is_fixed_read_only: true 425 is_exported: true 426} 427 428flag { 429 name: "replace_body_sensor_permission_enabled" 430 is_fixed_read_only: true 431 namespace: "android_health_services" 432 description: "This fixed read-only flag is used to enable replacing permission BODY_SENSORS (and BODY_SENSORS_BACKGROUND) with granular health permission READ_HEART_RATE (and READ_HEALTH_DATA_IN_BACKGROUND)" 433 bug: "364638912" 434} 435 436flag { 437 name: "deprecate_exercise_session_type_breathing" 438 namespace: "android_health_services" 439 description: "Deprecates ExerciseSessionType#EXERCISE_SESSION_TYPE_GUIDED_BREATHING" 440 bug: "373629817" 441 is_exported: true 442} 443 444flag { 445 name: "refactor_aggregations" 446 namespace: "health_fitness_aconfig" 447 description: "Make changes to the aggregation code to make it safer and more intuitive." 448 bug: "382661671" 449 is_fixed_read_only: true 450 is_exported: true 451} 452 453flag { 454 name: "smoking" 455 namespace: "health_fitness_aconfig" 456 description: "Enables smoking data type." 457 bug: "383298243" 458 is_fixed_read_only: true 459 is_exported: true 460} 461 462flag { 463 name: "single_user_permission_intent_tracker" 464 namespace: "health_fitness_aconfig" 465 description: "Make changes to the HealthPermissionIntentAppsTracker to make it per user instead of handling all users in one class." 466 bug: "389614387" 467 is_fixed_read_only: true 468 is_exported: true 469} 470 471flag { 472 name: "entries_pagination" 473 namespace: "health_fitness_aconfig" 474 description: "Enables pagination for data entries screens." 475 bug: "384028690" 476} 477 478flag { 479 name: "symptoms" 480 namespace: "health_fitness_aconfig" 481 description: "Enables the symptoms data type." 482 bug: "391627288" 483 is_fixed_read_only: true 484 is_exported: true 485} 486 487flag { 488 name: "symptoms_db" 489 namespace: "health_fitness_aconfig" 490 description: "Enables DB changes to support the symptoms data type." 491 bug: "391627288" 492 is_fixed_read_only: true 493 is_exported: true 494} 495 496flag { 497 name: "smoking_db" 498 namespace: "health_fitness_aconfig" 499 description: "Enables DB changes to support the nicotine intake data type." 500 bug: "394115085" 501 is_fixed_read_only: true 502 is_exported: true 503} 504 505flag { 506 name: "extend_export_import_telemetry" 507 namespace: "health_fitness_aconfig" 508 description: "Flag for adding improved logging for export import" 509 bug: "375394408" 510 is_fixed_read_only: true 511 is_exported: true 512} 513 514flag { 515 name: "launch_onboarding_activity" 516 namespace: "health_fitness_aconfig" 517 description: "Flag for launching an onboarding activity exported by a client app" 518 bug: "270672374" 519 is_fixed_read_only: true 520 is_exported: true 521} 522 523flag { 524 name: "exercise_segment_weight" 525 namespace: "health_fitness_aconfig" 526 description: "Enables changes to add optional weight data to exercise segments APIs" 527 bug: "396405077" 528 is_fixed_read_only: true 529 is_exported: true 530} 531 532flag { 533 name: "exercise_segment_weight_db" 534 namespace: "health_fitness_aconfig" 535 description: "Enables database changes to add optional weight data to exercise segments APIs" 536 bug: "396405077" 537 is_fixed_read_only: true 538 is_exported: true 539} 540 541flag { 542 name: "step_tracking_enabled" 543 namespace: "health_fitness_aconfig" 544 description: "Enables native step tracking within Health Connect" 545 bug: "397419824" 546 is_fixed_read_only: true 547 is_exported: true 548} 549 550flag { 551 name: "phr_change_logs" 552 namespace: "health_fitness_aconfig" 553 description: "Enables PHR support in change logs API" 554 bug: "362968743" 555 is_fixed_read_only: true 556 is_exported: true 557} 558 559flag { 560 name: "phr_change_logs_db" 561 namespace: "health_fitness_aconfig" 562 description: "Enables PHR support in change logs API" 563 bug: "362968743" 564 is_fixed_read_only: true 565 is_exported: true 566} 567