summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2018-05-31 15:39:07 -0700
committer Robert Carr <racarr@google.com> 2018-05-31 15:57:52 -0700
commit9e1bf7c7cca8df2173a5fe1c52ac16011051af89 (patch)
treee2168390748915529ee59f995a925c2bbb12449a /libs/hwui/ProgramCache.cpp
parent1031bf5f761304987e6a2c5bbb5743a65c3253bf (diff)
Don't "notifyAppStopping" when going to sleep.
The WindowManager interprets notifyAppStopping as a signal that the app surface will be destroyed, but in the visible stopped states of going to sleep this may not necessarily be true. notifyAppStopping was only recently introduced for the purposes of handling detach children which isn't needed when turning the screen off. Simply not executing it when turning the screen off should be safe, if a little confusing. Test: Manual of bug + mess around with SV apps a bunch Bug: 80491358 Bug: 72921025 Change-Id: I7dd5d1e144e12ecfba038e15f84f9ae7c02aadd2
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions