summaryrefslogtreecommitdiff
path: root/InCallUI/src/com/android/incalluibind
diff options
context:
space:
mode:
authorEvan Charlton <evanc@google.com>2014-09-11 17:44:24 -0700
committerEvan Charlton <evanc@google.com>2014-09-11 17:44:24 -0700
commitf925b504266f80ec0b74212c403475f5cc790ab0 (patch)
tree78728f0ea484854c0d7b7b49ba04e84ba5a45a2d /InCallUI/src/com/android/incalluibind
parentdbd311a0364490c2cd72bc9fde09196351749707 (diff)
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
Diffstat (limited to 'InCallUI/src/com/android/incalluibind')
-rw-r--r--InCallUI/src/com/android/incalluibind/ObjectFactory.java10
1 files changed, 7 insertions, 3 deletions
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; }
}