On Settings lockscreen changes send new safety status to Safety Center.
Bug: 215518847 Test: atest SettingsUnitTests Test: make RunSettingsRoboTests Change-Id: Id8e957e58c45195260157b2b61b93ecbc203164b
This commit is contained in:
@@ -30,6 +30,7 @@ import androidx.fragment.app.Fragment;
|
||||
import com.android.internal.widget.LockPatternUtils;
|
||||
import com.android.internal.widget.LockscreenCredential;
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.safetycenter.LockScreenSafetySource;
|
||||
|
||||
/**
|
||||
* An invisible retained worker fragment to track the AsyncWork that saves (and optionally
|
||||
@@ -110,6 +111,7 @@ abstract class SaveChosenLockWorkerBase extends Fragment {
|
||||
if (mUnificationProfileCredential != null) {
|
||||
mUnificationProfileCredential.zeroize();
|
||||
}
|
||||
LockScreenSafetySource.onLockScreenChange(getContext());
|
||||
}
|
||||
|
||||
public void setBlocking(boolean blocking) {
|
||||
|
||||
Reference in New Issue
Block a user