Merge "Fix a security exception when unbinding services" into oc-dev

This commit is contained in:
Amith Yamasani
2017-05-11 19:17:07 +00:00
committed by Android (Google) Code Review

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;
}