summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Pedro Loureiro <pedroql@google.com> 2021-12-20 15:49:09 +0000
committer Pedro Loureiro <pedroql@google.com> 2022-04-06 12:52:11 +0000
commita40064f2a730c14cf685aeacf93360e6cc1aca2b (patch)
treec1c4c632b339290e8bd80de2c0bc82fa347fb736 /libs/androidfw/StringPool.cpp
parente748d40d2bf89a3c3f91d40942071e1c9a54ade6 (diff)
Use strings in shared library updatability attributes
Migrate from ints to Strings so we can pass codenames. Otherwise we can't use these attributes representing a release in progress until that release is finalized. I.e. if release T is in progress, we don't get the correct behaviour if we use "T" in those attributes. Also added some more tests which found some edge cases that weren't properly handled: tests for when the shared libraries are first removed from bootclasspath and moved to a module and then added again to the bootclasspath via a mainline update; In turn those tests found a bug where we would apply the logic for onBootclasspathBefore X on devices before X which is not required. Bug: 191978330 Test: atest com.android.server.pm.parsing.library.ApexSharedLibraryUpdaterTest com.android.server.systemconfig.SystemConfigTest Change-Id: I85a3287422877a95394153b575ae422745fda27d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions