summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Samiul Islam <samiul@google.com> 2022-03-08 11:22:35 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-03-08 11:22:35 +0000
commit8934416fcd5860e17fca1e7af7da50340dbf9a88 (patch)
tree9321e4202ed4b2a6e27bbc2626d5fba15593986d
parentbfd4f600ffb9848939716da52d212b3ddddb18a6 (diff)
parent87f63f84108e21bf9a896c47071adb73071a2ad4 (diff)
Stop creating sdk data directories due to boot time regression am: f4aae9ee08 am: 87f63f8410
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2006951 Change-Id: I933acdba3d89b91977f798238496f4e6f99c221e
-rw-r--r--cmds/installd/InstalldNativeService.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmds/installd/InstalldNativeService.cpp b/cmds/installd/InstalldNativeService.cpp
index 7c219449d3..dd7c3d3524 100644
--- a/cmds/installd/InstalldNativeService.cpp
+++ b/cmds/installd/InstalldNativeService.cpp
@@ -722,7 +722,9 @@ binder::Status InstalldNativeService::createAppDataLocked(
}
}
- {
+ // TODO(b/220095381): Due to boot time regression, we have omitted call to
+ // createAppDirectoryForSupplementalData from here temporarily (unless it's for testing)
+ if (uuid_ != nullptr && strcmp(uuid_, "TEST") == 0) {
auto status = createAppDirectoryForSupplementalData(uuid, packageName, userId, appId,
previousAppId, seInfo, flags);
if (!status.isOk()) {