Mario Danic 8 سال پیش
والد
کامیت
717e4b2096
3فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 1 0
      AndroidManifest.xml
  2. 1 0
      build.gradle
  3. 5 0
      res/xml/backup_config.xml

+ 1 - 0
AndroidManifest.xml

@@ -61,6 +61,7 @@
         android:name=".MainApp"
         android:icon="@mipmap/ic_launcher"
         android:label="@string/app_name"
+        android:fullBackupContent="@xml/backup_config"
         android:theme="@style/Theme.ownCloud.Toolbar"
         android:manageSpaceActivity="com.owncloud.android.ui.activity.ManageSpaceActivity">
         <activity

+ 1 - 0
build.gradle

@@ -49,6 +49,7 @@ dependencies {
     compile 'com.getbase:floatingactionbutton:1.10.1'
     compile 'com.google.code.findbugs:annotations:2.0.1'
     compile group: 'commons-io', name: 'commons-io', version: '2.4'
+    compile 'com.google.android.gms:play-services:10.2.0'
     compile 'com.evernote:android-job:1.1.6'
 
     /// dependencies for local unit tests

+ 5 - 0
res/xml/backup_config.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<full-backup-content>
+    <exclude domain="sharedpref" path="evernote_jobs.xml" />
+    <exclude domain="database" path="evernote_jobs.db" />
+</full-backup-content>