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

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

Merge "Update javadoc of {set, get}OrganizationName to clearly specify that it...

Merge "Update javadoc of {set, get}OrganizationName to clearly specify that it is available for PO since N and DO since O."
parents f189de75 2be4cfcc
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -7534,12 +7534,12 @@ public class DevicePolicyManager {
    }

    /**
     * Called by the device owner or profile owner to set the name of the organization under
     * management.
     * <p>
     * If the organization name needs to be localized, it is the responsibility of the
     * {@link DeviceAdminReceiver} to listen to the {@link Intent#ACTION_LOCALE_CHANGED} broadcast
     * and set a new version of this string accordingly.
     * Called by the device owner (since API 26) or profile owner (since API 24) to set the name of
     * the organization under management.
     *
     * <p>If the organization name needs to be localized, it is the responsibility of the {@link
     * DeviceAdminReceiver} to listen to the {@link Intent#ACTION_LOCALE_CHANGED} broadcast and set
     * a new version of this string accordingly.
     *
     * @param admin Which {@link DeviceAdminReceiver} this request is associated with.
     * @param title The organization name or {@code null} to clear a previously set name.