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

Commit 6b8e0649 authored by Esteban Talavera's avatar Esteban Talavera
Browse files

Update setApplicationRestrictions documentation

From M we support nested Bundles in the input parameter

Bug: 23076454
Change-Id: I9c27d19ccfbc713ca757cbdde7ea9fbbc3839302
parent 7157c2ca
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -3176,8 +3176,13 @@ public class DevicePolicyManager {
     * Called by a profile or device owner to set the application restrictions for a given target
     * application running in the profile.
     *
     * <p>The provided {@link Bundle} consists of key-value pairs, where the types of values may be
     * boolean, int, String, or String[].
     * <p>The provided {@link Bundle} consists of key-value pairs, where the types of values may be:
     * <ul>
     * <li>{@code boolean}
     * <li>{@code int}
     * <li>{@code String} or {@code String[]}
     * <li>From {@link android.os.Build.VERSION_CODES#M}, {@code Bundle} or {@code Bundle[]}
     * </ul>
     *
     * <p>The application restrictions are only made visible to the target application and the
     * profile or device owner.