commit | f1af0171b7c6b8f82179f2bfffda33f82ee16399 | [log] [tgz] |
---|---|---|
author | Pinyao Ting <pinyaoting@google.com> | Mon Jul 20 11:54:38 2020 -0700 |
committer | Pinyao Ting <pinyaoting@google.com> | Mon Jul 20 17:55:14 2020 -0700 |
tree | 201d7cae6a5f106e7e593871c9a8147573d1193a | |
parent | a64362ee73ddf8080b86729336f6cf064ed81710 [diff] |
Fix launcher crash after restore with some specific widgets. The internal implementation of PendingAppWidgetHostView#getDefaultViews uses the same view across updates which causes the exception in AppWidgetHostView#applyContent when it tries to call addView() because the view has already been added to its parent view in previous iteration. Bug: 151901506 Test: manual Change-Id: Ieccec814ac514e592d0d4f196b60ba89aec0d661