Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f84ba16 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Add deleted flag back into aconfig

Flag was deleted from code but is necessary for CTS. Also, create some organization in commonly used flag files to better keep track of what flags can/cannot be deleted since invalid deletions are not caught at build time

Test: NotificationManagerTest
Fixes: 415154531
Flag: EXEMPT flag cleanup
Change-Id: I7a97f563bf535f4e05b2133d4bde9b8008cba2e3
parent 68a2606d
Loading
Loading
Loading
Loading
+94 −84
Original line number Diff line number Diff line
@@ -34,23 +34,6 @@ flag {
  is_fixed_read_only: true
}

# Flag for finalized API: In Nextfood but exported (and therefore must stay).
flag {
  name: "modes_api"
  is_exported: true
  namespace: "systemui"
  description: "This flag controls new and updated DND apis"
  bug: "300477976"
}

# Flag for inlined feature: In Nextfood but checked by CTS (and therefore must stay).
flag {
  name: "modes_ui"
  namespace: "systemui"
  description: "This flag controls new and updated DND UIs; dependent on flag modes_api"
  bug: "270703654"
}

flag {
  name: "modes_ui_dnd_tile"
  namespace: "systemui"
@@ -81,24 +64,6 @@ flag {
  }
}

flag {
  name: "api_tvextender"
  is_exported: true
  namespace: "systemui"
  description: "Guards new android.app.Notification.TvExtender api"
  bug: "308164892"
  is_fixed_read_only: true
}

flag {
  name: "lifetime_extension_refactor"
  is_exported: true
  namespace: "systemui"
  description: "Enables moving notification lifetime extension management from SystemUI to "
      "Notification Manager Service"
  bug: "299448097"
}

flag {
  name: "notification_expansion_optional"
  namespace: "systemui"
@@ -113,22 +78,6 @@ flag {
  bug: "368817201"
}

flag {
  name: "category_voicemail"
  is_exported: true
  namespace: "wear_sysui"
  description: "Adds a new voicemail category for notifications"
  bug: "322806700"
}

flag {
  name: "notification_channel_vibration_effect_api"
  is_exported: true
  namespace: "systemui"
  description: "This flag enables the API to allow setting VibrationEffect for NotificationChannels"
  bug: "241732519"
}

flag {
  name: "notif_channel_crop_vibration_effects"
  namespace: "systemui"
@@ -193,6 +142,7 @@ flag {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "notif_entry_creation_time_use_elapsed_realtime"
  namespace: "systemui"
@@ -203,30 +153,6 @@ flag {
  }
}

flag {
  name: "api_rich_ongoing"
  is_exported: true
  namespace: "systemui"
  description: "[RONs] Guards new RON-related APIs, including Notification.ProgressStyle"
  bug: "337261753"
}

flag {
  name: "opt_in_rich_ongoing"
  namespace: "systemui"
  is_exported: true
  description: "[RONs] v0.2 promotion logic: explicit opt-in and no colorization"
  bug: "410621769"
}

flag {
  name: "ui_rich_ongoing"
  is_exported: true
  namespace: "systemui"
  description: "[RONs] Guards new promotion logic and UI, including AOD notification and Colorization"
  bug: "367705002"
}

flag {
  name: "backup_restore_logging"
  namespace: "systemui"
@@ -289,14 +215,6 @@ flag {
  bug: "378128805"
}

flag {
  name: "nm_summarization"
  namespace: "systemui"
  description: "Allows the NAS to summarize notifications"
  bug: "390417189"
  is_exported: true
}

flag {
  name: "nm_summarization_ui"
  namespace: "systemui"
@@ -314,6 +232,89 @@ flag {
  }
}



# Start: exported flags that cannot be removed

flag {
  name: "nm_summarization"
  namespace: "systemui"
  description: "Allows the NAS to summarize notifications"
  bug: "390417189"
  is_exported: true
}

flag {
  name: "opt_in_rich_ongoing"
  namespace: "systemui"
  is_exported: true
  description: "[RONs] v0.2 promotion logic: explicit opt-in and no colorization"
  bug: "410621769"
}

flag {
  name: "notification_channel_vibration_effect_api"
  is_exported: true
  namespace: "systemui"
  description: "This flag enables the API to allow setting VibrationEffect for NotificationChannels"
  bug: "241732519"
}

flag {
  name: "modes_api"
  is_exported: true
  namespace: "systemui"
  description: "This flag controls new and updated DND apis"
  bug: "300477976"
}

flag {
  name: "api_tvextender"
  is_exported: true
  namespace: "systemui"
  description: "Guards new android.app.Notification.TvExtender api"
  bug: "308164892"
  is_fixed_read_only: true
}

flag {
  name: "lifetime_extension_refactor"
  is_exported: true
  namespace: "systemui"
  description: "Enables moving notification lifetime extension management from SystemUI to "
      "Notification Manager Service"
  bug: "299448097"
}

flag {
  name: "category_voicemail"
  is_exported: true
  namespace: "wear_sysui"
  description: "Adds a new voicemail category for notifications"
  bug: "322806700"
}

flag {
  name: "api_rich_ongoing"
  is_exported: true
  namespace: "systemui"
  description: "[RONs] Guards new RON-related APIs, including Notification.ProgressStyle"
  bug: "337261753"
}

flag {
  name: "ui_rich_ongoing"
  is_exported: true
  namespace: "systemui"
  description: "[RONs] Guards new promotion logic and UI, including AOD notification and Colorization"
  bug: "367705002"
}

# End: exported flags that cannot be removed


# Start: Flags that have been cleaned up in code but need to remain for CTS

flag {
  name: "restrict_audio_attributes_call"
  namespace: "systemui"
@@ -334,3 +335,12 @@ flag {
  description: "No notifs can use USAGE_UNKNOWN or USAGE_MEDIA"
  bug: "331793339"
}

flag {
  name: "modes_ui"
  namespace: "systemui"
  description: "This flag controls new and updated DND UIs; dependent on flag modes_api"
  bug: "270703654"
}

# End: Flags that have been cleaned up in code but need to remain for CTS
 No newline at end of file
+15 −0
Original line number Diff line number Diff line
@@ -73,3 +73,18 @@ flag {
  description: "Enables offloading Bitmaps to disk"
  bug: "398153219"
}





# Start: Flags that have been cleaned up in code but need to remain for CTS

flag {
  name: "ranking_update_ashmem"
  namespace: "systemui"
  description: "This flag controls moving ranking update contents into ashmem"
  bug: "249848655"
}

# End: Flags that have been cleaned up in code but need to remain for CTS
 No newline at end of file