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

Commit 539c245f authored by Jacky Yip's avatar Jacky Yip
Browse files

Report if the extra text was included when sharing file/image in the RankingSelected atom.

Update reporting for the legacy implementation.

Bug: 433828012
Test: presubmits
Flag: EXEMPT logging
Change-Id: I14466f2547e9cffc2f64937d072d1dd8b074b8ca
parent fd6a07ac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -62,7 +62,8 @@ public class ChooserActivityLoggerImpl implements ChooserActivityLogger {
                /* package_name = 2 */ packageName,
                /* instance_id = 3 */ getInstanceId().getId(),
                /* position_picked = 4 */ positionPicked,
                /* is_pinned = 5 */ isPinned);
                /* is_pinned = 5 */ isPinned,
                /* included_extra_text_when_sharing_file = 6 */ false);
    }

    @Override
+4 −2
Original line number Diff line number Diff line
@@ -70,7 +70,8 @@ public class UiEventLoggerImpl implements UiEventLogger {
                    /* package_name = 2 */ packageName,
                    /* instance_id = 3 */ 0,
                    /* position_picked = 4 */ position,
                    /* is_pinned = 5 */ false);
                    /* is_pinned = 5 */ false,
                    /* included_extra_text_when_sharing_file = 6 */ false);
        }
    }

@@ -84,7 +85,8 @@ public class UiEventLoggerImpl implements UiEventLogger {
                    /* package_name = 2 */ packageName,
                    /* instance_id = 3 */ instance.getId(),
                    /* position_picked = 4 */ position,
                    /* is_pinned = 5 */ false);
                    /* is_pinned = 5 */ false,
                    /* included_extra_text_when_sharing_file = 6 */ false);
        } else if ((eventID > 0)) {
            logWithPosition(event, uid, packageName, position);
        }