blob: 9dbe1bfb7d2ce6ba2d6552aa808cf23da69974e5 [file] [log] [blame]
Walter Jang6456baf2016-01-31 12:07:26 -08001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License
15 */
Gary Mai0a49afa2016-12-05 15:53:58 -080016package com.android.contacts;
Walter Jang6456baf2016-01-31 12:07:26 -080017
18/**
Walter Jang9f3ec762016-02-09 16:15:37 -080019 * Experiment flag names.
Walter Jang6456baf2016-01-31 12:07:26 -080020 */
21public final class Experiments {
James Laskeycf3dbe12016-12-13 15:22:13 -080022 /**
Walter Jang581585d2016-09-21 19:21:13 -070023 * Whether to open contact sheet (aka smart profile) instead of our own QuickContact.
24 */
25 public static final String CONTACT_SHEET = "QuickContact__contact_sheet";
26
27 /**
Walter Jang996e80f2016-09-22 14:52:39 -070028 * Flags for maximum content update time
Walter Jangd5cbb9e2016-08-18 08:56:59 -070029 */
Walter Jang996e80f2016-09-22 14:52:39 -070030 public static final String DYNAMIC_MAX_CONTENT_CHANGE_UPDATE_DELAY_MILLIS =
31 "Shortcuts__dynamic_max_content_change_update_delay_millis";
Walter Jangd5cbb9e2016-08-18 08:56:59 -070032
Arthur Wang8debbac2016-09-21 16:39:04 -070033 /**
34 * Flags for minimum content update time
35 */
36 public static final String DYNAMIC_MIN_CONTENT_CHANGE_UPDATE_DELAY_MILLIS =
37 "Shortcuts__dynamic_min_content_change_update_delay_millis";
38
39 /**
Marcus Hagerott7a756ab2016-11-01 18:16:02 -070040 * Experiment to enable device account detection using CP2 queries
41 */
42 public static final String OEM_CP2_DEVICE_ACCOUNT_DETECTION_ENABLED =
43 "OEM__cp2_device_account_detection_enabled";
44
45 /**
yaolu9d998592016-10-14 23:21:00 -070046 * Flags for maximum time to show spinner for a contacts sync.
47 */
48 public static final String PULL_TO_REFRESH_CANCEL_REFRESH_MILLIS =
49 "PullToRefresh__cancel_refresh_millis";
50
Walter Jangf61f0ee2016-11-29 18:40:17 +000051 /**
52 * Search study boolean indicating whether to inject yenta search results before CP2 results.
53 */
54 public static final String SEARCH_YENTA = "Search__yenta";
55
56 /**
57 * The time to wait for Yenta search results before giving up.
58 */
59 public static final String SEARCH_YENTA_TIMEOUT_MILLIS = "Search__yenta_timeout";
60
Walter Jang6456baf2016-01-31 12:07:26 -080061 private Experiments() {
62 }
63}