commit | e8f0fe3140c30f7752b70ad4ee126615e923dbdf | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Jun 05 21:11:59 2018 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed Jun 06 07:54:21 2018 +0800 |
tree | 607561bc2afe310b6e647755742ab9421ac79cd2 | |
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