Merge "Respond with null data when no screen lock." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
4cb0ecc069
@@ -63,6 +63,12 @@ public final class LockScreenSafetySource {
|
||||
}
|
||||
|
||||
if (!screenLockPreferenceDetailsUtils.isAvailable()) {
|
||||
SafetyCenterManagerWrapper.get().setSafetySourceData(
|
||||
context,
|
||||
SAFETY_SOURCE_ID,
|
||||
/* safetySourceData= */ null,
|
||||
safetyEvent
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user