Loading core/java/android/app/backup/BackupManager.java +7 −3 Original line number Diff line number Diff line Loading @@ -145,8 +145,10 @@ public class BackupManager { try { IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(), null); if (binder != null) { session = new RestoreSession(mContext, binder); result = session.restorePackage(mContext.getPackageName(), observer); } } catch (RemoteException e) { Log.w(TAG, "restoreSelf() unable to contact service"); } finally { Loading @@ -170,7 +172,9 @@ public class BackupManager { try { // All packages, current transport IRestoreSession binder = sService.beginRestoreSession(null, null); if (binder != null) { session = new RestoreSession(mContext, binder); } } catch (RemoteException e) { Log.w(TAG, "beginRestoreSession() couldn't connect"); } Loading Loading
core/java/android/app/backup/BackupManager.java +7 −3 Original line number Diff line number Diff line Loading @@ -145,8 +145,10 @@ public class BackupManager { try { IRestoreSession binder = sService.beginRestoreSession(mContext.getPackageName(), null); if (binder != null) { session = new RestoreSession(mContext, binder); result = session.restorePackage(mContext.getPackageName(), observer); } } catch (RemoteException e) { Log.w(TAG, "restoreSelf() unable to contact service"); } finally { Loading @@ -170,7 +172,9 @@ public class BackupManager { try { // All packages, current transport IRestoreSession binder = sService.beginRestoreSession(null, null); if (binder != null) { session = new RestoreSession(mContext, binder); } } catch (RemoteException e) { Log.w(TAG, "beginRestoreSession() couldn't connect"); } Loading