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

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

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
parent 9278bafb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment