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

Commit bd2901a7 authored by Steven Wu's avatar Steven Wu
Browse files

Add bubbles UI logging for permission dialog shown.

Bug: 123543171
Test: manual
Change-Id: Ia285b848379113f3249979b4bcd3487eae47016e
parent ed4edf29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5346,7 +5346,7 @@ message BubbleUIChanged {
        HEADER_GO_TO_SETTINGS = 9;
        PERMISSION_OPT_IN = 10;
        PERMISSION_OPT_OUT = 11;
        PERMISSION_IGNORED = 12;
        PERMISSION_DIALOG_SHOWN = 12;
        SWIPE_LEFT = 13;
        SWIPE_RIGHT = 14;
        STACK_EXPANDED = 15;
+2 −0
Original line number Diff line number Diff line
@@ -222,6 +222,8 @@ public class BubbleExpandedView extends LinearLayout implements View.OnClickList
            mPermissionView.setVisibility(VISIBLE);
            ((ImageView) mPermissionView.findViewById(R.id.pkgicon)).setImageDrawable(mAppIcon);
            ((TextView) mPermissionView.findViewById(R.id.pkgname)).setText(mAppName);
            logBubbleClickEvent(mEntry.notification,
                    StatsLog.BUBBLE_UICHANGED__ACTION__PERMISSION_DIALOG_SHOWN);
        }
    }