commit | 72745fffe8d43b12ebb753b562191e319e5c1cda | [log] [tgz] |
---|---|---|
author | Seonggoo Kang <seonggoo.kang@lge.com> | Wed Dec 24 13:55:50 2014 +0900 |
committer | Seonggoo Kang <seonggoo.kang@lge.com> | Wed Dec 24 14:05:17 2014 +0900 |
tree | 5804bdb9e772f39e1888f0574e575960fa936579 | |
parent | 5e1e38ccdd3da34f65a642dc25b5b2b5cf2b6059 [diff] |
Prevent duplicated registration of OnComputeInternalInsetsListener OnComputeInternalInsetsListener is added when initViews is called, and initViews is called by onCreate and onConfigurationChanged. But it is removed only by onDestroy. Therefore listeners are accumulated and it results performance issue. So before adding, remove mInsetListener that was previously added. Change-Id: I494d3f1875613d73d3f9b8e2af286b5800f03196