summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src
diff options
context:
space:
mode:
author Yuri Lin <yurilin@google.com> 2025-01-28 17:44:00 -0500
committer Yuri Lin <yurilin@google.com> 2025-01-28 17:44:00 -0500
commit5a41c27228f3ca1e28d70627f8efa6f170197afb (patch)
treeda1dfb29d64c85eba3fd81dfd12347ba932dd41d /tests/DynamicCodeLoggerIntegrationTests/src
parentefc34112143fc62d0915f26f0af84f28e5a845c5 (diff)
Skip invalidating caches in NotificationManagerServiceTest
The IpcDataCaches used in NotificationManager and invalidated in PreferencesHelper cannot be invalidated in test processes unless the caches are set to test mode. Since this test is not intending to test caching behavior, make sure the component PreferencesHelper doesn't try to invalidate real caches when the test is running. Most tests in NMSTest use the mock PreferencesHelper anyway, but some do go through the "real" PreferencesHelper object created in TestableNotificationManagerService.init(). Flag: android.app.nm_binder_perf_cache_channels Bug: 381131846 Test: this Change-Id: I2f1922b2c5e038b256572add3b7d8514e11562c6
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions