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

Commit 2be4cfcc authored by Wen ZHANG's avatar Wen ZHANG Committed by Wen Zhang
Browse files

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

is available for PO since N and DO since O.

Test: Change to Javadoc only

Change-Id: Icc54fd8c9f188207f49d623795b17b835fc9b92d
parent 7393cfe3
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.