Add DCHECK for kInitiated enum in Add Supervision dialog
Add DCHECK to ensure that user is not enrolled in supervision at the start of the Add Supervision process. Avoids future errors where the Add Supervision dialog is somehow launched despite the user already being enrolled in supervision. Bug: 977336 Change-Id: I0469fd4e11441176ecf79282ff12ff9a0dd707a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1789272Reviewed-by:Michael Giuffrida <michaelpg@chromium.org> Commit-Queue: Toby Huang <tobyhuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#694346}
Showing
Please register or sign in to comment