commit | 3a83f0e9a9f6be24076104faadc48b7be4ea4ed7 | [log] [tgz] |
---|---|---|
author | Willie Koomson <wvk@google.com> | Tue Jan 11 01:07:52 2022 +0000 |
committer | Willie Koomson <wvk@google.com> | Thu Jan 27 22:43:27 2022 +0000 |
tree | 53530ce71de4b0fe3fe22e108318f9abb53c2906 | |
parent | e5c32305971b7233aef0e3e0837d483c907d96a2 [diff] |
Make setRemoteAdapter() work for nested RemoteViews This change adds applyNestedView() and reapplyNestedView() to RemoteViews. This makes it possible to pass the top-level "rootParent" view (usually AppWidgetHostView for widgets) to nested RemoteViews that are added by addView(). This allows setRemoteAdapter actions to work properly when they are used in nested RemoteViews. Bug: 214288099 Test: RemoteViewsTest Change-Id: I4fa3fe98d89bffdc0a5be46dabed12b9c217219e