Add samples for Google network and fused location

Bug: 7242814
Change-Id: I85119315b071e075224197e703c8b5bd86c639a9
diff --git a/overlays/location/frameworks/base/core/res/res/values/config.xml b/overlays/location/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..278bbce
--- /dev/null
+++ b/overlays/location/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2012, 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.
+ */
+-->
+<resources>
+
+    <!-- 
+       Sets the package names whose certificates should be used to
+       verify location providers are allowed to be loaded.
+    -->
+    <string-array name="config_locationProviderPackageNames" translatable="false">
+        <item>com.google.android.location</item>
+    </string-array>
+</resources>
diff --git a/products/location_overlay.mk b/products/location_overlay.mk
new file mode 100644
index 0000000..6831145
--- /dev/null
+++ b/products/location_overlay.mk
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2008 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.
+#
+
+# This is an example of how to set an overlay that configures the
+# default backup transport. In this example, the configuration points
+# to the Google implementation, to show the exact syntax in a real-world
+# example.
+
+PRODUCT_PACKAGE_OVERLAYS := device/sample/overlays/location
+
+# Uncomment this line to include the Google network and fused location providers
+#PRODUCT_PACKAGES := NetworkLocation