commit | c11fac355d5057ad066adc3abbbb2b2d64fba5e7 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue Feb 27 19:20:15 2018 -0800 |
committer | Sunny Goyal <sunnygoyal@google.com> | Tue Feb 27 19:23:01 2018 -0800 |
tree | d3aad8b2f68b2c8a2c6e76291bc5e94985cae6a0 | |
parent | efa671294e8ac67a0554ff5679255ee8c9bf747d [diff] |
Fixing widgets get deteled because of double bind If the AppWidgetHost starts listening in the middle of bind, it rebinds the old widgets before a new widget is bound, leading to double bind. We should clear all pending binds, before starting a rebind. As an extra check only rebind a view which is attached to the screen. Bug: 73814840 Change-Id: Ie3af683dc4095b158547e700d11e4faf7999466f