diff options
| author | 2025-01-29 09:49:16 -0800 | |
|---|---|---|
| committer | 2025-02-03 16:10:10 -0800 | |
| commit | 70621f3ab4170fe2d406658bc70eca108d3856ac (patch) | |
| tree | 9924d41e3e4f8fee6d17006e4078689e94839772 /api/api_test.go | |
| parent | 5ed9b5d5aeead08afd0450e32122817c27065b58 (diff) | |
Move wifi check into systemUI
Rather than checking if the phone is connected to a wifi network at
notification receipt (and choosing whether to hide sensitive content
based on that), we will instead check at notification render time. We
also will combine the "last locked time check" with the "has the device
been locked for 10 minutes" check, so that a notification doesn't show
as unredacted, and then become redacted 10 minutes later
Bug: 358403414
Fixes: 393600031
Flag: android.app.redact_sensitive_content_notifications_on_lockscreen
Test: atest
NotificationManagerServiceTest,NotificationLockscreenUserManagerTest
Change-Id: Ib36e1bb2a7e4cbdf7d594e2762c33ecf9d66bd49
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions