1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<restrictions xmlns:android="http://schemas.android.com/apk/res/android"> 18 <restriction android:key="hidden_key" 19 android:restrictionType="hidden"/> 20 <restriction 21 android:defaultValue="true" 22 android:description="@string/restrictionManager_desc" 23 android:key="bool_key" 24 android:restrictionType="bool" 25 android:title="@string/restrictionManager_title"/> 26 <restriction 27 android:defaultValue="test" 28 android:key="string_key" 29 android:restrictionType="string"/> 30 31 <restriction android:key="int_key" 32 android:restrictionType="integer" 33 android:defaultValue="15"/> 34 <restriction android:key="bundle_key" 35 android:restrictionType="bundle"> 36 <restriction 37 android:key="bundle_string_key" 38 android:restrictionType="string"/> 39 <restriction 40 android:defaultValue="true" 41 android:key="bundle_bool_key" 42 android:restrictionType="bool"/> 43 44 </restriction> 45 <restriction android:key="bundle_array_key" 46 android:restrictionType="bundle_array"> 47 <restriction android:key="bundle_array_int" 48 android:restrictionType="integer"/> 49 <restriction android:key="bundle_array_bundle_key" 50 android:restrictionType="bundle"> 51 <restriction android:key="bundle_array_bundle_int_key" 52 android:restrictionType="integer"/> 53 </restriction> 54 </restriction> 55</restrictions>