From f925b504266f80ec0b74212c403475f5cc790ab0 Mon Sep 17 00:00:00 2001 From: Evan Charlton Date: Thu, 11 Sep 2014 17:44:24 -0700 Subject: Send a broadcast on call state button touch When the call state button is touched, send an OEM-provided Intent so that OEMs can customize this behavior if they choose to. Bug: 16988478 Change-Id: Icf5a53fd6a4ad1493cba707df4e8e2468bd7eb96 --- InCallUI/src/com/android/incalluibind/ObjectFactory.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'InCallUI/src/com/android/incalluibind') diff --git a/InCallUI/src/com/android/incalluibind/ObjectFactory.java b/InCallUI/src/com/android/incalluibind/ObjectFactory.java index 5813ce9e6..c64e98efb 100644 --- a/InCallUI/src/com/android/incalluibind/ObjectFactory.java +++ b/InCallUI/src/com/android/incalluibind/ObjectFactory.java @@ -21,7 +21,11 @@ import android.content.Intent; public class ObjectFactory { /** @return An {@link Intent} to be broadcast when the InCallUI is visible. */ - public static Intent getUiReadyBroadcastIntent() { - return null; - } + public static Intent getUiReadyBroadcastIntent() { return null; } + + /** + * @return An {@link Intent} to be broadcast when the call state button in the InCallUI is + * touched while in a call. + */ + public static Intent getCallStateButtonBroadcastIntent() { return null; } } -- cgit v1.2.3