diff options
author | Yuichi Araki <yaraki@google.com> | 2014-06-12 14:52:28 +0900 |
---|---|---|
committer | Yuichi Araki <yaraki@google.com> | 2014-06-17 12:50:40 +0900 |
commit | b91b22ca2982e2a0e68a27b8d73fb72d04c2aea9 (patch) | |
tree | 6b8e259492e0a4d142a807c40fc43c38918073d3 /admin/BasicManagedProfile/template-params.xml | |
parent | f3330be3f3d734dcc0c8e83c9d52432a868c4137 (diff) | |
download | android-b91b22ca2982e2a0e68a27b8d73fb72d04c2aea9.tar.gz |
Add a sample showing how to create a managed profile and what developers can do with it.
Bug: 14400206
Change-Id: Ieae938cd7c0a32ac5c677f584721cc54ddf94eaa
Diffstat (limited to 'admin/BasicManagedProfile/template-params.xml')
-rw-r--r-- | admin/BasicManagedProfile/template-params.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/admin/BasicManagedProfile/template-params.xml b/admin/BasicManagedProfile/template-params.xml new file mode 100644 index 00000000..456716cf --- /dev/null +++ b/admin/BasicManagedProfile/template-params.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + + + +<sample> + <name>BasicManagedProfile</name> + <group>Admin</group> + <package>com.example.android.basicmanagedprofile</package> + + + + <!-- change minSdk if needed--> + <minSdk>21</minSdk> + <compileSdkVersion>"android-L"</compileSdkVersion> + + + <strings> + <intro> + <![CDATA[ + This sample demonstrates how to create a managed profile. You can also learn how to + enable or disable other apps and how to set restrictions to them. Intents can be + configured to be forwarded between primary account and managed profile. Finally, you can + wipe all the data associated with the profile. + Note that there can only be one managed profile on a device. + ]]> + </intro> + </strings> + <template src="base"/> + +</sample> |