commit | 8cf30ff9c7c91ecbccddb553431b775ecbaf98da | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Mon Mar 08 13:43:19 2021 -0800 |
committer | Felipe Leme <felipeal@google.com> | Mon Mar 08 13:49:06 2021 -0800 |
tree | fc846cbbc86daf51c61bff7812cf190fd573dc32 | |
parent | fd8f4ae2700765f8fdfbc393a2a95da987fe32bc [diff] |
Fixed mark-profile-owner-on-organization-owned-device for non-profile users It was throwing a NPE as such users are "orphan". Test: adb shell dpm mark-profile-owner-on-organization-owned-device com.afwsamples.testdpc/.DeviceAdminReceiver Fixes: 182189140 Change-Id: Ib02d767a23c53c1c2886728c2f338628149f7868