OSDN Git Service

Attempt install-time restore even for no-agent apps
authorChristopher Tate <ctate@google.com>
Thu, 31 Jul 2014 20:51:21 +0000 (13:51 -0700)
committerChristopher Tate <ctate@android.com>
Thu, 31 Jul 2014 21:41:12 +0000 (21:41 +0000)
commit73140e4df9ed9cfcc897f5cd0742b81d9839d4d4
treeb065ffd86d12bc8dd915521b8864526fa85b2dbf
parent874bcd82c223ce58c9d76edcf619b3988c672307
Attempt install-time restore even for no-agent apps

Packages without their own backup agents can still have restorable
data to be delivered.  Correct the logic for attempting a restore
at install time so that it no longer requires an app-defined backup
agent.

Bug 16688665

Change-Id: I7dcf7ef85ad6b5b393a2c97ce62f1b2eec9d3520
services/core/java/com/android/server/pm/PackageManagerService.java