Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5db3695 authored by Al Sutton's avatar Al Sutton
Browse files

Add debug logging when keys are blocked

Adding a log statement at debug level so when the key blocking system
is tested end-to-end there's an easy indicator of a key being blocked.

Bug: 149548272
Test: No code which affects functionality to test
Change-Id: I9de8a7d47ffb75520d1adcba620ec13345c1c4ae
parent 231f41bf
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -76,9 +76,7 @@ import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;

@@ -802,6 +800,7 @@ public class PerformUnifiedRestoreTask implements BackupRestoreTask {
            final int size = in.getDataSize();

            if (excludedKeysForPackage != null && excludedKeysForPackage.contains(key)) {
                Slog.i(TAG, "Skipping blocked key " + key);
                in.skipEntityData();
                continue;
            }