commit | dcee1dea6bc7c5265cb4d2778bcb18724d68bfbe | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Tue Oct 06 10:26:00 2015 -0700 |
committer | Chong Zhang <chz@google.com> | Tue Oct 06 10:29:55 2015 -0700 |
tree | 646e7e32f8068af815225624f0e242e1f1b1dee4 | |
parent | 3e832afec336b8efbef70e152af1a69ecdfee86f [diff] |
Make window callbacks non static member of ViewRootImpl Move add/removeWindowCallbacks to onAttachedToWindow/onDetachedFromWindow. There might be more than one windows in an app process, the window callbacks need to be per window, not global. bug: 24679461 Change-Id: I216ff27b2a41ecfe7399a8161df362bebc0ac96a