OSDN Git Service

Recents backup helper
authorChristopher Tate <ctate@google.com>
Tue, 18 Nov 2014 19:57:25 +0000 (11:57 -0800)
committerChristopher Tate <ctate@google.com>
Thu, 20 Nov 2014 20:48:25 +0000 (12:48 -0800)
commitac6a3a5e9d90edb533e5b377a4a14ef514be955a
tree5d03d18976e02f9f7ede07efab2bad3b074b005e
parent2e982258f10e9af21ec328faf41e77b38b109738
Recents backup helper

Handles backup/restore of recent tasks for the system.  Currently the
thumbnails are not saved.

At restore time the historical task records are placed in a designated
separate location rather than directly in the live bookkeeping; this
avoids ID duplication issues and makes it easier to deal with lazy
adoption of the historical task state as apps are installed on the
device post-restore.

Bug 17303286
Bug 15986349

Change-Id: Ie156c1e2ab9c9a7e7ac0447b27016fdcef55dded
core/java/android/app/backup/RecentsBackupHelper.java [new file with mode: 0644]
core/java/com/android/server/backup/SystemBackupAgent.java
services/core/java/com/android/server/am/TaskPersister.java