Merge "Add back the throwIfParentInstance checking in getAffiliationIds" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
91c6e44e9e
@@ -7636,6 +7636,7 @@ public class DevicePolicyManager {
|
||||
* empty set if none have been set.
|
||||
*/
|
||||
public @NonNull Set<String> getAffiliationIds(@NonNull ComponentName admin) {
|
||||
throwIfParentInstance("getAffiliationIds");
|
||||
try {
|
||||
return new ArraySet<>(mService.getAffiliationIds(admin));
|
||||
} catch (RemoteException e) {
|
||||
|
||||
Reference in New Issue
Block a user