diff options
author | Makoto Onuki <omakoto@google.com> | 2011-08-28 14:07:20 -0700 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2011-08-28 14:15:30 -0700 |
commit | 663b8b8ce7a29fb2796dc6431f2cd5992934f315 (patch) | |
tree | 78c831631292615a517f2cb8f9c7cdd8cb2e90e5 /src/com/android/providers/contacts/Constants.java | |
parent | 8c9b29784a3032e67d2d0ffbb4693a89508fb23e (diff) | |
download | packages_providers_ContactsProvider-663b8b8ce7a29fb2796dc6431f2cd5992934f315.zip packages_providers_ContactsProvider-663b8b8ce7a29fb2796dc6431f2cd5992934f315.tar.gz packages_providers_ContactsProvider-663b8b8ce7a29fb2796dc6431f2cd5992934f315.tar.bz2 |
Add log to measure startup performance
Use this to enable log:
adb shell setprop log.tag.ContactsPerf VERBOSE
Bug 5195464
Change-Id: I8348dffb050c562e708ab81405d556625794fdf3
Diffstat (limited to 'src/com/android/providers/contacts/Constants.java')
-rw-r--r-- | src/com/android/providers/contacts/Constants.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/android/providers/contacts/Constants.java b/src/com/android/providers/contacts/Constants.java new file mode 100644 index 0000000..8cf28e6 --- /dev/null +++ b/src/com/android/providers/contacts/Constants.java @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License + */ +package com.android.providers.contacts; + +public class Constants { + private Constants() {} + + // Log tag for performance measurement. + // To enable: adb shell setprop log.tag.ContactsPerf VERBOSE + public static final String PERFORMANCE_TAG = "ContactsPerf"; +} |