overlay: add contact provider and managed provision fixs
Change-Id: I6435c1c2dbbd28bfca8f8a4fb21785939714adc8
diff --git a/overlay/common/packages/apps/ManagedProvisioning/res/values/vendor_required_apps_managed_device.xml b/overlay/common/packages/apps/ManagedProvisioning/res/values/vendor_required_apps_managed_device.xml
new file mode 100644
index 0000000..f7f3f8e
--- /dev/null
+++ b/overlay/common/packages/apps/ManagedProvisioning/res/values/vendor_required_apps_managed_device.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 The Pure Nexus 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.
+-->
+<resources>
+ <string-array name="vendor_required_apps_managed_device">
+ <item>com.android.vending</item>
+ <item>com.google.android.gms</item>
+ <item>com.google.android.contacts</item>
+ <item>com.google.android.googlequicksearchbox</item>
+ <item>com.google.android.launcher</item>
+ <item>com.android.launcher</item>
+ <item>com.google.android.dialer</item>
+ <item>com.google.android.apps.messaging</item>
+ </string-array>
+</resources>
diff --git a/overlay/common/packages/apps/ManagedProvisioning/res/values/vendor_required_apps_managed_profile.xml b/overlay/common/packages/apps/ManagedProvisioning/res/values/vendor_required_apps_managed_profile.xml
new file mode 100644
index 0000000..bf2ce16
--- /dev/null
+++ b/overlay/common/packages/apps/ManagedProvisioning/res/values/vendor_required_apps_managed_profile.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 The Pure Nexus 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.
+-->
+<resources>
+ <string-array name="vendor_required_apps_managed_profile">
+ <item>com.android.vending</item>
+ <item>com.google.android.gms</item>
+ <item>com.google.android.contacts</item>
+ </string-array>
+</resources>
diff --git a/overlay/common/packages/apps/ManagedProvisioning/res/values/vendor_required_apps_managed_user.xml b/overlay/common/packages/apps/ManagedProvisioning/res/values/vendor_required_apps_managed_user.xml
new file mode 100644
index 0000000..9e8372d
--- /dev/null
+++ b/overlay/common/packages/apps/ManagedProvisioning/res/values/vendor_required_apps_managed_user.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 The Pure Nexus 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.
+-->
+<resources>
+ <string-array name="vendor_required_apps_managed_user">
+ <item>com.android.vending</item>
+ <item>com.google.android.gms</item>
+ <item>com.google.android.contacts</item>
+ <item>com.google.android.googlequicksearchbox</item>
+ <item>com.google.android.launcher</item>
+ <item>com.android.launcher</item>
+ <item>com.google.android.dialer</item>
+ <item>com.google.android.apps.messaging</item>
+ </string-array>
+</resources>
diff --git a/overlay/common/packages/providers/ContactsProvider/res/values/config.xml b/overlay/common/packages/providers/ContactsProvider/res/values/config.xml
new file mode 100644
index 0000000..32ba32c
--- /dev/null
+++ b/overlay/common/packages/providers/ContactsProvider/res/values/config.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 The Pure Nexus 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.
+-->
+<resources>
+ <string name="metadata_sync_pacakge">com.google.android.gms</string>
+</resources>