diff options
author | lihuan3 <lihuan3@xiaomi.com> | 2020-12-25 16:09:41 +0800 |
---|---|---|
committer | 欢 李 <lihuan3@xiaomi.com> | 2020-12-25 09:38:42 +0000 |
commit | ecc7a0a55a6c3213f04d3543c0a9b8fc922b6c57 (patch) | |
tree | 75bdd69ee1a5941be28a99e41c45c5c4616edee5 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | c779768dbce403f9aed53557e779176fc7f8b5e7 (diff) |
[Bugfix] Fix the wrong lastBackgroundTime in UidRecord
Test:A process call into updateOomAdjLocked in background
which will set its uidRec.lastBackgroundTime = SystemClock.uptimeMillis();
and then in the idleUidsLocked() method it will compare the
lastBackgroundTime with the elapsedRealtime which may cause a
process which just go into background a few seconds ago become
idle state and then be killed by this
Change-Id: I419a555ef2f6490c26290b19fc86756fde293551
Signed-off-by: lihuan3 <lihuan3@xiaomi.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions