summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Ana Krulec <akrulec@google.com> 2020-02-07 12:02:38 -0800
committer Ana Krulec <akrulec@google.com> 2020-02-07 12:57:06 -0800
commit5d47791e231cdddb2ae933e8b1923c43533c7663 (patch)
tree457c6ad757251cc432e4b3ed862d72e746c2d489 /libs/gui/BufferQueueThreadState.cpp
parent74a2eb62f434fccd0299e9ca7eab614fa5b7d291 (diff)
SF Crash Bug fix
There is a state when Scheduler returns a config which is not allowed by the policy. This can happen when policy has changed, and scheduler decided that the next config should be the current config. We fix it by returning the current config, if allowed, otherwise the default. Change-Id: Id49674dc5cf6cc36eb6a48dfec7d007063c1f382 Bug: 149077559 Test: Turn off all policies. Toggle smoooth display. Doesn't fail. Test: Turn off all polcies. Open Waze. Doesn't fail. Test: Turn off all policies. Open TouchLatency app. Switch between 60/90. Test: Turn off all policies. Play youtube video. Test: Turn off all policies. Open Chrome. Play video.
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions