summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorMohammad Samiul Islam <samiul@google.com>2020-09-14 17:48:43 +0100
committerMohammad Samiul Islam <samiul@google.com>2020-09-24 19:37:21 +0100
commit7d1793fa1bb34b3f1ab170d13362145ac7010289 (patch)
tree56849c6c34aac5456fdec023e76bc40f0c924cce /libutils/Unicode.cpp
parent429034fa7d55f8b2994374c7607d5ea1018e5aea (diff)
Activate encryption for /data/app-staging folder
Without enabling the encryption on this folder, we will not be able to rename files from this folder to /data/app folder, since /data/app folder is encrypted. Trying to rename files between unencrypted folder to encrypted folder throws EXDEV error. Turning on encryption for /data/app-staging has the following concerns: 1. Turning on the encryption will erase all of its content. But this is fine since during OTA we fail all staged sessions anyway. 2. We need to create hardlinks from /data/app-staging to /data/apex/active. This is also fine since we will be creating link from encrypted folder (/data/app-staging) to non-encrypted folder and this does not throw EXDEV error. Bug: 163037460 Test: atest StagedInstallTest Change-Id: Ie78f6df0c0e08de54a39c5e406957ad0a56b7727
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions