commit | ea92d977333bef11c6ab243d785a1b2d9c1f66ff | [log] [tgz] |
---|---|---|
author | Wale Ogunwale <ogunwale@google.com> | Thu Dec 08 07:33:13 2016 -0800 |
committer | Wale Ogunwale <ogunwale@google.com> | Thu Dec 08 07:33:13 2016 -0800 |
tree | 257d7c57928a9ab9ae71fab37339e203041834a7 | |
parent | 3c41744b8cab0eb540dee45a7f986bf25d78188e [diff] |
Don't return null in WS.getTopParentWindow on child detach Fixed issue with WindowState.getTopParentWindow() returning null when the child window is removed from it's parent. In this case it should return itself as the method documentation states. Change-Id: Iae40ca21241306048cae136887afc88593a6898d Fixes: 33446267 Test: bit FrameworksServicesTests:com.android.server.wm.WindowStateTests