Implement ROLLBACK_DATA_POLICY_RETAIN

The current code has handled the retain policy
correctly. All we need is fix the comment.

Bug: 194981157
Test: CTS will be added
Change-Id: Ie234d2ba7f0c3e592ba4d0e0935b8f7eeb6f30d2
This commit is contained in:
JW Wang
2021-08-12 14:26:54 +08:00
parent 2a9a26c56d
commit 77aa98c871

View File

@@ -1077,8 +1077,7 @@ public abstract class PackageManager {
public static final int ROLLBACK_DATA_POLICY_WIPE = 1;
/**
* User data won't be backed up during install and won't be restored during rollback.
* TODO: Not implemented yet.
* User data won't be backed up during install and will remain unchanged during rollback.
*
* @hide
*/