| 46 | {} |
| 47 | |
| 48 | WindowCore::~WindowCore() |
| 49 | { |
| 50 | bdn::android::wrapper::View view(getJView()); |
| 51 | if (!view.isNull_()) { |
| 52 | // remove the view from its parent. |
| 53 | bdn::android::wrapper::ViewGroup parent(view.getParent().getRef_()); |
| 54 | if (!parent.isNull_()) { |
| 55 | parent.removeView(view); |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | void WindowCore::init() |
| 61 | { |