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

Commit c073e956 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Mark getProfileOwnerAsUser(int) as UnsupportedAppUsage again

As it was in P. There are no public APIs created, hence there is no
better, _public_, alternative.

Fixes: 135282729
Test: none
Change-Id: I199cfcc125f948b983eb55a199abf673cc58b7e1
parent 4c510c08
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6396,6 +6396,7 @@ public class DevicePolicyManager {
    /**
     * @hide
     */
    @UnsupportedAppUsage
    public @Nullable ComponentName getProfileOwnerAsUser(final int userId) {
        if (mService != null) {
            try {