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

Commit a2b274bd authored by Makoto Onuki's avatar Makoto Onuki
Browse files

SUW shouldn't use hidden APIs.

Make getDeviceOwnerNameOnAnyUser() a system API.

Bug 26142341

Change-Id: I481b26f45c35215b9221d96b66833af47fcf5cf0
parent 6771fc41
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5938,6 +5938,7 @@ package android.app.admin {
    method public deprecated android.content.ComponentName getDeviceInitializerComponent();
    method public java.lang.String getDeviceOwner();
    method public java.lang.String getDeviceOwnerLockScreenInfo();
    method public java.lang.String getDeviceOwnerNameOnAnyUser();
    method public java.util.List<byte[]> getInstalledCaCerts(android.content.ComponentName);
    method public int getKeyguardDisabledFeatures(android.content.ComponentName);
    method public java.lang.String getLongSupportMessage(android.content.ComponentName);
+1 −0
Original line number Diff line number Diff line
@@ -3045,6 +3045,7 @@ public class DevicePolicyManager {
     *
     * @hide
     */
    @SystemApi
    public String getDeviceOwnerNameOnAnyUser() {
        if (mService != null) {
            try {