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

Commit be4e9a68 authored by Lyn Han's avatar Lyn Han
Browse files

Log bubble package when available

Fixes: 173618787
Test: examine logs
Change-Id: Ie92c4383806dc531b82ce44c00c28bdca357aa72
parent 9330a9ac
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2733,9 +2733,13 @@ public class BubbleStackView extends FrameLayout
     * @param action the user interaction enum.
     */
    private void logBubbleEvent(@Nullable BubbleViewProvider provider, int action) {
        final String packageName =
                (provider != null && provider instanceof Bubble)
                    ? ((Bubble) provider).getPackageName()
                    : "null";
        mBubbleData.logBubbleEvent(provider,
                action,
                mContext.getApplicationInfo().packageName,
                packageName,
                getBubbleCount(),
                getBubbleIndex(provider),
                getNormalizedXPosition(),