summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Eric Biggers <ebiggers@google.com> 2024-10-30 22:34:04 +0000
committer Eric Biggers <ebiggers@google.com> 2024-10-31 03:37:05 +0000
commitd50f72fe0e6fba0547b12660de6017ab43d2c3d1 (patch)
treeea209bfa702b18a394e0948f56de9565d886e637 /api/api_test.go
parent7d00da340e6a49bfd1b62d34e2f0f73054db64e2 (diff)
Always set CE key protection in migrateUserToSpWithBoundKeysLocked()
The conditions for skipping setCeStorageProtection() in migrateUserToSpWithBoundKeysLocked() have been causing some confusion. They exist only to avoid some misleading log messages from vold during this migration. Let's just remove these conditions and run setCeStorageProtection() unconditionally, like what is already done for initUserSuperKeys(). I will try to improve the log messages in vold. Test: Upgraded a device from UQ1A to main with this CL Flag: EXEMPT should only affect log messages. Change-Id: I30b74162bc36c5e4fc614fe64d05c8b3bf19e73c
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions