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

Commit a582dd00 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

* commit '6c917901':
  Fixing a NPE in DevicePolicyManagerService

Change-Id: I540f2d5e490e70c19e5e8d8926010bbcb1431048
parents d73ece96 6c917901
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 {