Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91c6e44e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add back the throwIfParentInstance checking in getAffiliationIds" into oc-dev

parents 756efea1 62cf5861
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {