Merge "Fix QS gear metrics" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9f311f6827
@@ -318,7 +318,8 @@ public class QuickStatusBarHeader extends BaseStatusBarHeader implements
|
||||
public void onClick(View v) {
|
||||
if (v == mSettingsButton) {
|
||||
MetricsLogger.action(mContext,
|
||||
MetricsProto.MetricsEvent.ACTION_QS_EXPANDED_SETTINGS_LAUNCH);
|
||||
mExpanded ? MetricsProto.MetricsEvent.ACTION_QS_EXPANDED_SETTINGS_LAUNCH
|
||||
: MetricsProto.MetricsEvent.ACTION_QS_COLLAPSED_SETTINGS_LAUNCH);
|
||||
if (mSettingsButton.isTunerClick()) {
|
||||
if (TunerService.isTunerEnabled(mContext)) {
|
||||
TunerService.showResetRequest(mContext, new Runnable() {
|
||||
|
||||
@@ -2185,6 +2185,9 @@ message MetricsEvent {
|
||||
// SUBTYPE: false is off, true is on
|
||||
ACTION_TOGGLE_STORAGE_MANAGER = 489;
|
||||
|
||||
// Settings launched from collapsed quick settings.
|
||||
ACTION_QS_COLLAPSED_SETTINGS_LAUNCH = 490;
|
||||
|
||||
// ---- End N-MR1 Constants, all N-MR1 constants go above this line ----
|
||||
// Add new aosp constants above this line.
|
||||
// END OF AOSP CONSTANTS
|
||||
|
||||
Reference in New Issue
Block a user