diff options
author | 2025-02-21 14:04:06 -0800 | |
---|---|---|
committer | 2025-02-28 09:51:41 -0800 | |
commit | cefabb22d58818dbd702f076cbbc477b4593a0cd (patch) | |
tree | 6da1c547498d22450d58b48e806a2f2d48a50787 /tools/aapt2/ResourceTable.cpp | |
parent | 909cc533175b236d072737169b2e4a5610315d67 (diff) |
Use the creation time and when to decide whether to redact otps
When deciding whether to redact a notification with an OTP, look to see
if the notification creation time is older than the when, and choose the
earliest timestamp. This ensures that an old OTP won't cause new notification
to be redacted.
Fixes: 389606876
Test: atest NotificationLockscreenUserManagerTest
Flag: android.app.redact_sensitive_content_notifications_on_lockscreen
Change-Id: Ia1f7f16e6c4ef59ca0d2ecbc0048eeb13f60e8f9
Diffstat (limited to 'tools/aapt2/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions