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

Commit 908dc5da authored by Varun Shah's avatar Varun Shah
Browse files

Update SyncManager wakelock name.

Remove potential PII which can be included in the account name.

Bug: 306218230
Bug: 285176164
Test: builds; atest CtsSyncManagerTest
Change-Id: I4520f4cbba099f604b464f4011663e49c314bf53
parent 5a0dbedc
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -588,8 +588,7 @@ public class SyncOperation {
            return wakeLockName;
            return wakeLockName;
        }
        }
        return (wakeLockName = target.provider
        return (wakeLockName = target.provider
                + "/" + target.account.type
                + "/" + target.account.type);
                + "/" + target.account.name);
    }
    }


    // TODO: Test this to make sure that casting to object doesn't lose the type info for EventLog.
    // TODO: Test this to make sure that casting to object doesn't lose the type info for EventLog.