Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df890b4d authored by Rubin Xu's avatar Rubin Xu Committed by Android Git Automerger
Browse files

am 082f0bf3: am df608e39: am 3d521c0a: Merge "Perform post installation...

am 082f0bf3: am df608e39: am 3d521c0a: Merge "Perform post installation operations directly if backup manager is disabled" into lmp-mr1-dev

* commit '082f0bf3':
  Perform post installation operations directly if backup manager is disabled
parents fc7e8f0b 082f0bf3
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -8638,7 +8638,11 @@ public class PackageManagerService extends IPackageManager.Stub {
                        if (DEBUG_INSTALL) Log.v(TAG, "token " + token
                                + " to BM for possible restore");
                        try {
                            if (bm.isBackupServiceActive(UserHandle.USER_OWNER)) {
                                bm.restoreAtInstall(res.pkg.applicationInfo.packageName, token);
                            } else {
                                doRestore = false;
                            }
                        } catch (RemoteException e) {
                            // can't happen; the backup manager is local
                        } catch (Exception e) {