summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Willie Koomson <wvk@google.com> 2022-01-12 22:08:26 +0000
committer Willie Koomson <wvk@google.com> 2022-01-27 22:43:45 +0000
commit35641ae2c08a764d9480d65e4081b22473379bc4 (patch)
treecf1de5ccb74513f4b3e1ec061d058832a64aef4e /libs/hwui/FrameInfoVisualizer.cpp
parent3a83f0e9a9f6be24076104faadc48b7be4ea4ed7 (diff)
Propagate apply flags to nested RemoteViews
This change propagates FLAG_WIDGET_IS_COLLECTION_CHILD and FLAG_USE_LIGHT_BACKGROUND_LAYOUT to nested RemoteViews (either added by addView, or set as portrait/landscape/sized RemoteViews) if that flag is also present on the parent RemoteView. For FLAG_WIDGET_IS_COLLECTION_CHILD, this prevents a PendingIntent from being set on a RemoteView that is a child of a collection item RemoteView. For FLAG_USE_LIGHT_BACKGROUND_LAYOUT, this ensures that nested RemoteViews use their light background layout if this is set on the parent. Bug: 214288099 Test: RemoteViewsTest Change-Id: I8da92d0d338631a99ee718a136bf9674827437bb
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions