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

Commit 67165032 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Re-add aconfig flags for audio attribute restrictions

Due to the way CTS is packaged, certain configurations
still require the flag definition to be in place

Test: TreeHugger
Fixes: 412904859
Flag: EXEMPT bug fix
Change-Id: I57704234681abe12e4f8e9a90d1f695a88891cd4
parent 069fc783
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -341,3 +341,24 @@ flag {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "restrict_audio_attributes_call"
  namespace: "systemui"
  description: "Only CallStyle notifs can use USAGE_NOTIFICATION_RINGTONE"
  bug: "331793339"
}

flag {
  name: "restrict_audio_attributes_alarm"
  namespace: "systemui"
  description: "Only alarm category notifs can use USAGE_ALARM"
  bug: "331793339"
}

flag {
  name: "restrict_audio_attributes_media"
  namespace: "systemui"
  description: "No notifs can use USAGE_UNKNOWN or USAGE_MEDIA"
  bug: "331793339"
}