summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2025-02-21 15:16:16 +0100
committer Matías Hernández <matiashe@google.com> 2025-02-24 15:27:56 +0100
commitee3779d6cd0c34dbf399d66fab31a64f5be1fa39 (patch)
treeb4755230e34cf478a99c0d84cb5156a98feff6c9 /libs/androidfw/StringPool.cpp
parent3ea103cd81c307810fa566d6d6b2499395f38311 (diff)
Enforce a limit on the size of ZenModeConfig
If the treshold is exceeded, boot the apps that have created the biggest rules (excluding trusted apps). Also, use writeString8 for Zen-related parceling. This gives us considerable savings on average (might be slightly bigger for certain fields on non-ASCII charsets -- but even then most of the fields, like package name and rule id, are ~ASCII). Bug: 387498139 Test: atest ZenModeHelperTest ZenConfigTrimmerTest Flag: com.android.server.notification.limit_zen_config_size Change-Id: I4d0359af86f4b491b0723d2078de6626de9dfc85
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions