[On device supervision] Also consider Profile Owner in on-device supervision condition.
It is possible for the supervision app to hold PO instead of the supervision role, so we should check if there is a Profile owner and if it is the supervision component before determining whether the device is under pin-based supervision or not. Bug: 428743285 Flag: android.app.supervision.flags.enable_supervision_app_service Test: SupervisionRepositoryImplTest.kt Change-Id: Idc068bffc35de16c1c051343321c4a29dd3106fc
Loading
Please register or sign in to comment