Add backup transport overlay
Change-Id: If5ef963df4e9680a93feee8c20b0178a69914f69
diff --git a/gms.mk b/gms.mk
index 9da091e..77b04cc 100644
--- a/gms.mk
+++ b/gms.mk
@@ -40,7 +40,8 @@
## Overlays
PRODUCT_PACKAGES += \
- GmsOverlay
+ GmsOverlay \
+ GmsSettingsProviderOverlay
## Permissions
PRODUCT_COPY_FILES += \
diff --git a/overlay/GmsSettingsProviderOverlay/Android.bp b/overlay/GmsSettingsProviderOverlay/Android.bp
new file mode 100644
index 0000000..8bb0fc6
--- /dev/null
+++ b/overlay/GmsSettingsProviderOverlay/Android.bp
@@ -0,0 +1,4 @@
+runtime_resource_overlay {
+ name: "GmsSettingsProviderOverlay",
+ product_specific: true
+}
diff --git a/overlay/GmsSettingsProviderOverlay/AndroidManifest.xml b/overlay/GmsSettingsProviderOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..417edad
--- /dev/null
+++ b/overlay/GmsSettingsProviderOverlay/AndroidManifest.xml
@@ -0,0 +1,7 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.mtg.gmssettingsprovideroverlay"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <application android:hasCode="false" />
+ <overlay android:targetPackage="com.android.providers.settings" android:priority="1337" android:isStatic="true" />
+</manifest>
diff --git a/overlay/GmsSettingsProviderOverlay/res/values/defaults.xml b/overlay/GmsSettingsProviderOverlay/res/values/defaults.xml
new file mode 100644
index 0000000..57ebaa5
--- /dev/null
+++ b/overlay/GmsSettingsProviderOverlay/res/values/defaults.xml
@@ -0,0 +1,3 @@
+<resources>
+ <string name="def_backup_transport">com.google.android.gms/.backup.BackupTransportService</string>
+</resources>