xref: /aosp_15_r20/development/samples/browseable/AppRestrictionSchema/_index.jd (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1
2page.tags="AppRestrictionSchema"
3sample.group=Admin
4@jd:body
5
6<p>
7
8            This sample shows how to use app restrictions. This application has one boolean
9            restriction with a key \"can_say_hello\" that defines whether the only feature of this
10            app (press the button to show \"Hello\" message) is enabled or disabled. Use
11            AppRestrictionEnforcer sample to toggle the restriction.
12
13        </p>
14