am 72548325: am 4fc1b707: Merge changes from topic \'TunerLoc\' into mnc-dev

* commit '72548325019cc168a5d98fe7de93dc9ee679a4b7':
  Add metrics to tuner
  Move tuner enable point to QS
This commit is contained in:
Jason Monk
2015-07-24 03:05:33 +00:00
committed by Android Git Automerger
15 changed files with 459 additions and 37 deletions

View File

@@ -27,7 +27,20 @@ import android.view.View;
*/
public class MetricsLogger implements MetricsConstants {
// Temporary constants go here, to await migration to MetricsConstants.
// next value is 227;
// next value is 238;
public static final int TUNER = 227;
public static final int TUNER_QS = 228;
public static final int TUNER_DEMO_MODE = 229;
public static final int TUNER_QS_REORDER = 230;
public static final int TUNER_QS_ADD = 231;
public static final int TUNER_QS_REMOVE = 232;
public static final int TUNER_STATUS_BAR_ENABLE = 233;
public static final int TUNER_STATUS_BAR_DISABLE = 234;
public static final int TUNER_DEMO_MODE_ENABLED = 235;
public static final int TUNER_DEMO_MODE_ON = 236;
public static final int TUNER_BATTERY_PERCENTAGE = 237;
public static void visible(Context context, int category) throws IllegalArgumentException {
if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {