commit | d4fb032975899081a600ed9234ed03d89a44ff5b | [log] [tgz] |
---|---|---|
author | Vlad Popa <pvlad@google.com> | Tue Jan 31 10:25:51 2023 +0100 |
committer | Vlad Popa <pvlad@google.com> | Mon Feb 27 11:40:09 2023 +0100 |
tree | d437fa6992615ad2d2dc903162109b3f8cb18426 | |
parent | cb83f23e7f22a52202b781eb10be0999be62df6f [diff] |
CSD: Implement logic for initial safe hearing warning This logic is defined in IEC62368-1 3rd edition chapter 10.6.5. The main idea is to show a warning before the user is exposed to RS2. This warning may not be shown any more than every 20h. For now using the same index based volume logic from the legacy safe hearing implementation. Test: logs and dumpsys Bug: 266921392 Change-Id: Iaf78ff785a0826c538b55f2dc45aa0bf91b25e2d