From faed97c4fb2fade78ca0e7efcfa88d14dfe46175 Mon Sep 17 00:00:00 2001 From: Chiao Cheng Date: Fri, 17 Aug 2012 15:59:39 -0700 Subject: Adding common phone packge. - Adding phone constant file so new dialer and contacts can use it. Bug: 6993891 Change-Id: I1ecdada2446d81bd63182a9d457dc54e7e542f08 --- src/com/android/phone/common/PhoneConstants.java | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/com/android/phone/common/PhoneConstants.java (limited to 'src/com/android') diff --git a/src/com/android/phone/common/PhoneConstants.java b/src/com/android/phone/common/PhoneConstants.java new file mode 100644 index 0000000..8ea8b1b --- /dev/null +++ b/src/com/android/phone/common/PhoneConstants.java @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2012 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.phone.common; + +/** + * Constants related to phone operations. + */ +public class PhoneConstants { + + /** Copied from PhoneApp. See comments in Phone app for more detail. */ + // TODO: Change phone app to rely on this also. + public static final String EXTRA_CALL_ORIGIN = "com.android.phone.CALL_ORIGIN"; + +} -- cgit v1.2.3