summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorHui Yu <huiyu@google.com>2020-04-27 14:31:04 -0700
committerHui Yu <huiyu@google.com>2020-04-27 14:31:04 -0700
commitf759a58e3b3145da979a2446c1cf9a467eeee9bb (patch)
tree88837120e008abdfc3ab206ff7e4380dd4907795 /tools/aapt2/java/JavaClassGenerator.cpp
parenta29a359ce4e9bb12cd49c41ec758161a8ea92239 (diff)
If didSomething condition is reversed.
updateOomAdjLocked() should be called when didSomething is true. When startActivity, WindowManager post a runnable to DisplayThread and ActivityManagerService to update UidRecord's proc state, because the thread switch, sometimes proc state does not get updated on time. This fix will make updateOomAdjLocked() is called immediately after startActivity. Bug: 155110902 Test: regression test atest cts/tests/app/src/android/app/cts/ActivityManagerProcessStateTest.java Change-Id: Icdb93fbd25c3c281c7dfdaafe190765630e7b64e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions