summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2023-03-07 11:02:59 -0800
committer Songchun Fan <schfan@google.com> 2023-03-07 11:36:08 -0800
commitc835bf549b9cce8bc7872fe9cd0e2acd3bb8b223 (patch)
tree3b1e08cbd39cdc7c34144b705f598d327793d0a2 /libs/androidfw/ApkParsing.cpp
parent96c8a3b33f154e09b89abe9ddf2ea5f31922919c (diff)
[SettingsProvider] only increment generation of unset settings if new setting is non-predefined
This is a small optimization for the previous CL. The generation number of all non-predefined, unset settings should only be incremented if the newly inserted setting is also non-predefined. If it's a predefined setting, it doesn't affect the non-predefined, unset settings. BUG: 228619157 Test: atest android.widget.TextViewPrecomputedTextPerfTest#testOnMeasure_RandomText Test: observed no regression Change-Id: I33e2391e3e07fb5251cb497a0e87e9815d540e55
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions