summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Rubin Xu <rubinxu@google.com> 2023-04-28 20:51:42 +0100
committer Rubin Xu <rubinxu@google.com> 2023-04-28 20:51:42 +0100
commit98ddbe50852c03556625c1f5a0c56241f978d91a (patch)
treed7af0eb88c2fb1ed95aad1b111c9ce193470dd2e /libs/androidfw/FileStream.cpp
parent068e0087b52358f471b390535970a46a7854ff04 (diff)
Always clear password reset token when removing device owner
Move the token removal logic inside clearDeviceOwnerLocked so it's executed by all paths where DO is removed. This also fixes a bug where mLockPatternUtils.removeEscrowToken is throwing exception due to it's not inside a clear binder identity block. Bug: 280093211 Test: DeviceOwnerTest#clearDeviceOwnerApp_escrowTokenExists_success Change-Id: Ifaa1ffbd0f29b62fd05a9d746c26b44c52f4eaa0
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions