Merge "Respond with null data when no screen lock." into main

This commit is contained in:
Elliot Sisteron
2023-08-15 11:55:11 +00:00
committed by Android (Google) Code Review
2 changed files with 9 additions and 3 deletions

View File

@@ -63,6 +63,12 @@ public final class LockScreenSafetySource {
}
if (!screenLockPreferenceDetailsUtils.isAvailable()) {
SafetyCenterManagerWrapper.get().setSafetySourceData(
context,
SAFETY_SOURCE_ID,
/* safetySourceData= */ null,
safetyEvent
);
return;
}