diff options
author | Michael Wright <michaelwr@google.com> | 2017-03-21 12:36:55 +0000 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2017-05-20 01:16:38 +0000 |
commit | 64c820d3d4510b4953a8e888eb792a367b52eaa0 (patch) | |
tree | c5cb00791cd5560f1719188f995c3207a3fd151e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 387b97e68b0020da1bd69567e9e8799ca98a19c5 (diff) |
Change the thread for handling shutdown of PowerManagerService.
Symptom:
Watchdog due to blocked handler PowerManagerService during shutdown
sequence.
Root cause:
While creating the dialogue for shutdown,
HashMap object is accessed by createView() at LayoutInflater.
This object is not excluded at multi threads.
When this issue is occurred, multiple threads accesses this object.
As the result, invalid state is generated inside HashMap object.
And circulating reference is occurred at getEntry method.
So system cannot get out of "for" loop.
It blockes the processing of PowerManagerService thread
and causes watchdog.
That thing is happening.
Solution:
Change the thread for handling shutdown
from "PowerManagerService" to "android.ui" thread.
As the result, exclusive control is not needed.
Bug: 35791029
Test: Manual
Change-Id: Icbc12fb2706fb3c7e859f53bbb4c65f488850ce6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions