From 10c59a365a095d322f29aa969a3d0f6bb3314972 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Thu, 16 Jul 2009 15:15:25 -0700 Subject: [PATCH] DO NOT MERGE - Disable settings backup in Donut --- services/java/com/android/server/SystemServer.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index b038a64c70c38..aa1a5cf962495 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -52,6 +52,7 @@ import java.lang.reflect.InvocationTargetException; class ServerThread extends Thread { private static final String TAG = "SystemServer"; private final static boolean INCLUDE_DEMO = false; + private final static boolean INCLUDE_BACKUP = false; private static final int LOG_BOOT_PROGRESS_SYSTEM_RUN = 3010; @@ -318,8 +319,10 @@ class ServerThread extends Thread { } try { - Log.i(TAG, "Starting Backup Service"); - ServiceManager.addService(Context.BACKUP_SERVICE, new BackupManagerService(context)); + if (INCLUDE_BACKUP) { + Log.i(TAG, "Starting Backup Service"); + ServiceManager.addService(Context.BACKUP_SERVICE, new BackupManagerService(context)); + } } catch (Throwable e) { Log.e(TAG, "Failure starting Backup Service", e); }