From 835a8fb23010ca5cddf15941816a0da43ff47575 Mon Sep 17 00:00:00 2001 From: Brad Ebinger Date: Wed, 14 Mar 2018 16:14:55 -0700 Subject: [PATCH] Define phone process as a constant Test: Manual Bug: 72645729 Change-Id: If07728ea2cc0128113ebe947a154f80ff45a7d9d --- telephony/java/android/telephony/TelephonyManager.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 582b816754b47..5f85742a29889 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -109,6 +109,13 @@ public class TelephonyManager { public static final String MODEM_ACTIVITY_RESULT_KEY = BatteryStats.RESULT_RECEIVER_CONTROLLER_KEY; + /** + * The process name of the Phone app as well as many other apps that use this process name, such + * as settings and vendor components. + * @hide + */ + public static final String PHONE_PROCESS_NAME = "com.android.phone"; + /** * The allowed states of Wi-Fi calling. *