summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Samiul Islam <samiul@google.com> 2022-02-21 15:29:05 +0000
committer Mohammad Samiul Islam <samiul@google.com> 2022-03-04 00:26:02 +0000
commitbeaf4d8692f8ec6d52aa33629c0d60f69c9aa747 (patch)
tree43bc4fcbc944010be9939ad9326a2548133c9f08 /libs/androidfw/StringPool.cpp
parent598ddd813f22607bba1f805554f5eb2f51dd2e10 (diff)
Create sdk directory for an app only if app consumes sdk
Currently, we create sdk directories for all apps. This means during boot time, when we create app data directory for system apps, we are now creating twice the amount of directories as before. This has significant impact on boot time. In order to avoid the regression, we are now limiting the creation to only when app actually consumes an sdk and needs these directories. We have introduced a new installd flag: FLAG_STORAGE_SDK, which needs to be passed to installd when sdk directory should be created for the app. Bug: 220095381 Bug: 217543371 Test: atest SupplementalProcessStorageHostTest Change-Id: I72af7c9460892bf7ac6d908a6a7ca6912167b894
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions