diff options
author | Robert Snoeberger <snoeberger@google.com> | 2019-03-04 16:05:36 -0500 |
---|---|---|
committer | Robert Snoeberger <snoeberger@google.com> | 2019-03-04 16:05:36 -0500 |
commit | d747025c7437258a169987845f86a0e1489bd130 (patch) | |
tree | 47857b4f3571b28feddc717a60c3baae3979f910 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d829952305eb3678aaa6d9df1bb186399e4300a9 (diff) |
Fixes IllegalStateException caused by child already having parent
Detaches custom clock during onDetachFromWindow. This removes the
custom clock view from the keyguard during configuration changes.
The root cause for this issue is that the clock plugins remain in
memory after ag/6576777. There needs to be a way to communicate
to the clock plugin that it is done being used (something like
an onDestroyViews method). I'm leaving this work for a follow up
change.
Fixes: 127289716
Test: IllegalStateException not seen in logcat when performing repro
steps.
Change-Id: I184c52b25cb61325a920067dfc415b163f6a6b6d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions