summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2023-12-14 11:35:51 +0000
committer Joanne Chung <joannechung@google.com> 2023-12-22 04:36:04 +0000
commit102342698eb81a7048789ef330a1ea3fd4f3474c (patch)
tree2487077e4f42bd89ee988df8a7fa1536f90f47b7 /libs/androidfw/FileStream.cpp
parent70ce23b036fcf1bc0552bb133ddd1b388feae11b (diff)
Fix SdkSandboxStorageHostTest
When the feature is enabled, the system doesn’t give app id if the installed package is a sdk library. The Settings writePackageLPr() will write the appIds to xml, it will read these appIds when booting. The system will ignore appid -1 to create packageSetting that causes the app dependent on this sdk-library be removed. The permission service is also NPE because this app is removed. Try to write a flag to help indentify if the system needs to create PackageSettungs for sdk library. Bug: 314772888 Test: atest SdkSandboxStorageHostTest Change-Id: Ib53e775db123d0008948f1c2a1702bdaa0a47b76
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions