Merge \"Make Recents button work in demo mode\" into nyc-mr1-dev
am: 9f311f6827
Change-Id: Ife4a233149a90678d2ac55d473ae32a05020666c
This commit is contained in:
@@ -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