Merge "Fix a security exception when unbinding services" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
33532e0208
@@ -1493,12 +1493,13 @@ public final class ActiveServices {
|
|||||||
mAm.updateOomAdjLocked(r.binding.service.app, false);
|
mAm.updateOomAdjLocked(r.binding.service.app, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mAm.updateOomAdjLocked();
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
Binder.restoreCallingIdentity(origId);
|
Binder.restoreCallingIdentity(origId);
|
||||||
}
|
}
|
||||||
|
|
||||||
mAm.updateOomAdjLocked();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user