From 918beeb8926349bd74b09bbe38c01b7e99c84faa Mon Sep 17 00:00:00 2001 From: Dario Freni Date: Wed, 22 Dec 2021 01:00:01 +0000 Subject: Preserve attributes on rollback. Bug: 211570674 Bug: 195477363 Test: atest RollbackTest (test modified in a separate CL) Change-Id: Ic5b8a7c7ace1efe32fc2ce1afeb6485a542bcea4 --- cmds/installd/InstalldNativeService.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/cmds/installd/InstalldNativeService.cpp b/cmds/installd/InstalldNativeService.cpp index 3b29e2bd16..c3256fcfff 100644 --- a/cmds/installd/InstalldNativeService.cpp +++ b/cmds/installd/InstalldNativeService.cpp @@ -1131,16 +1131,15 @@ binder::Status InstalldNativeService::fixupAppData(const std::optional