summaryrefslogtreecommitdiff
path: root/cmds/installd/utils.cpp
diff options
context:
space:
mode:
author Samiul Islam <samiul@google.com> 2022-02-21 15:23:36 +0000
committer Samiul Islam <samiul@google.com> 2022-03-16 11:26:41 +0000
commita0340b3cdd537b30cf5d031ae93b491699d37811 (patch)
tree96c3b461ba0bdf6e0f018cbfb1dea0b6044e2778 /cmds/installd/utils.cpp
parenta90b4e7b44c3043bb1979bb981f65ce36d67222d (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. The PM will be responsible for passing a flag whenever an app consumes sdk. Bug: 220095381 Bug: 217543371 Test: atest installd_service_test Ignore-AOSP-First: Feature is being developed in internal branch Change-Id: I96c19f43f13080b19a80fcb92b22a4042934b785 Merged-In: I96c19f43f13080b19a80fcb92b22a4042934b785 (cherry picked from commit 7d5b1dada05cce59c1dd22f0bc3feab5b6fc6329)
Diffstat (limited to 'cmds/installd/utils.cpp')
0 files changed, 0 insertions, 0 deletions