summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorChiao Cheng <chiaocheng@google.com>2012-08-17 15:59:39 -0700
committerChiao Cheng <chiaocheng@google.com>2012-08-17 15:59:39 -0700
commitfaed97c4fb2fade78ca0e7efcfa88d14dfe46175 (patch)
tree22033b4d42a20add82ca9c52c524f60cffabce7b /src/com/android
parent05f09bcb37b10920faf4003ad728209cb455687a (diff)
downloadandroid_packages_apps_PhoneCommon-faed97c4fb2fade78ca0e7efcfa88d14dfe46175.tar.gz
android_packages_apps_PhoneCommon-faed97c4fb2fade78ca0e7efcfa88d14dfe46175.tar.bz2
android_packages_apps_PhoneCommon-faed97c4fb2fade78ca0e7efcfa88d14dfe46175.zip
Adding common phone packge.
- Adding phone constant file so new dialer and contacts can use it. Bug: 6993891 Change-Id: I1ecdada2446d81bd63182a9d457dc54e7e542f08
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/phone/common/PhoneConstants.java28
1 files changed, 28 insertions, 0 deletions
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";
+
+}