diff options
| author | 2022-01-12 22:08:26 +0000 | |
|---|---|---|
| committer | 2022-01-27 22:43:45 +0000 | |
| commit | 35641ae2c08a764d9480d65e4081b22473379bc4 (patch) | |
| tree | cf1de5ccb74513f4b3e1ec061d058832a64aef4e /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 3a83f0e9a9f6be24076104faadc48b7be4ea4ed7 (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