diff options
| author | 2025-01-31 17:08:37 -0800 | |
|---|---|---|
| committer | 2025-02-05 09:34:57 -0800 | |
| commit | c0d7e90025c9680060de57dfe2e8383248c6a7a4 (patch) | |
| tree | 62ed5c0ccfcd1fc89af7c1067035be4a2924dda4 /api/coverage/tools | |
| parent | 9278bafbee0e756ec58d1af16b28a41cda345a26 (diff) | |
Introduce bubble types & clean up some naming
When creating a bubble, a type is set internally.
It can be chat, note, app, or shortcut.
The type is based on the constructor content.
The constructors are a bit messy and I'll be cleaning
them up in a future change.
This CL adds methods to check the type and updates
some of the other related naming to be more consistent.
In some places isAppBubble was really checking both
app & notes, this is now made more explicit by checking
for both.
Adds tests for the types.
Fixes up a test in BubblesTests where you could make a
non-chat notification-based bubble, which doesn't exist.
Flag: EXEMPT minor refactor
Test: atest BubbleTest
Bug: 390496034
Change-Id: I3b85ea4d607bc81cd5b45632e3b07d372fe30f54
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions