Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 34749149 authored by Mady Mellor's avatar Mady Mellor
Browse files

Adds a method to TaskView to allow clients to set caption insets

Some users of TaskView (bubbles) need to be able to add a caption
bar to TaskView to allow users to manipulate the bubble window or
access a menu.

This CL exposes a method on TaskView to set a rect that represents
the insets for that caption bar. This rect is automatically excluded
as a touchable area so that TaskView doesn't steal touches from it.

Test: manual - locally use new setCaptionInsets method on a TaskView
             => observe that content is inset & touchable
Test: atest TaskViewTest
Bug: 284205099
Change-Id: Ia71f56920bb85b6e0e7164c92273caf4d480916a
parent 7875db5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment