Merge "Add bubbles UI logging for permission dialog shown."
This commit is contained in:
committed by
Android (Google) Code Review
commit
6dc698074f
@@ -5365,7 +5365,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;
|
||||
|
||||
@@ -304,6 +304,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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user