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

Commit d8c3b39c authored by Ashley Smith's avatar Ashley Smith Committed by android-build-merger
Browse files

Merge "Fixing a NPE in DevicePolicyManagerService" into nyc-dev am: 6c917901

am: a582dd00

* commit 'a582dd00':
  Fixing a NPE in DevicePolicyManagerService

Change-Id: Ifc64f674f02e707eec85a407c31dd20030dbfda0
parents 5683dde6 a582dd00
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -5672,7 +5672,10 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
            // Shutting down backup manager service permanently.
            long ident = mInjector.binderClearCallingIdentity();
            try {
                mInjector.getIBackupManager().setBackupServiceActive(UserHandle.USER_SYSTEM, false);
                if (mInjector.getIBackupManager() != null) {
                    mInjector.getIBackupManager()
                            .setBackupServiceActive(UserHandle.USER_SYSTEM, false);
                }
            } catch (RemoteException e) {
                throw new IllegalStateException("Failed deactivating backup service.", e);
            } finally {