Merge "Fix a security exception when unbinding services" into oc-dev am: 33532e0208

am: d07592f7a7

Change-Id: I632b14f0647010b5b8d46053696c45d2e17700c4
This commit is contained in:
Amith Yamasani
2017-05-11 20:56:28 +00:00
committed by android-build-merger

View File

@@ -1493,12 +1493,13 @@ public final class ActiveServices {
mAm.updateOomAdjLocked(r.binding.service.app, false);
}
}
mAm.updateOomAdjLocked();
} finally {
Binder.restoreCallingIdentity(origId);
}
mAm.updateOomAdjLocked();
return true;
}