diff options
author | Riddle Hsu <riddlehsu@google.com> | 2018-06-05 21:11:59 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2018-06-06 07:54:21 +0800 |
commit | e8f0fe3140c30f7752b70ad4ee126615e923dbdf (patch) | |
tree | 607561bc2afe310b6e647755742ab9421ac79cd2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | db63d3b644059e2185d189d8487ffebc418bf09b (diff) |
Fix exception from DateTimeView unregisters receiver again
Although parent view may invoke onDetachedFromWindow incorrectly,
itself should guarantee to unregister receiver only when removing
the last attached view.
Change-Id: I4b701c223c6aa354896a4067f77aad9c98d88dfd
Fixes: 78506836
Test: atest FrameworksCoreTests:DateTimeViewTest
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions