diff options
author | Santos Cordon <santoscordon@google.com> | 2014-05-29 13:07:10 -0700 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2014-05-30 11:35:42 -0700 |
commit | 3534ede5722b98c5be1526ba0bc2cd8acfbe0e55 (patch) | |
tree | a868cad3c18543edf28438afd088f63351e40a60 /telecomm/java/com | |
parent | eec8f0cbbba8cfe3de29fef4b2362af3817ea575 (diff) | |
download | frameworks_base-3534ede5722b98c5be1526ba0bc2cd8acfbe0e55.zip frameworks_base-3534ede5722b98c5be1526ba0bc2cd8acfbe0e55.tar.gz frameworks_base-3534ede5722b98c5be1526ba0bc2cd8acfbe0e55.tar.bz2 |
Update showCallScreen to use Telecomm (1/6)
- Add API methods to InCallService and ITelecommService.
- Remove old methods from ITelephony.
- Route the TelephonyManager methods through ITelecommService instead of
ITelephony.
- Update Lock screen to use TelephonyManager instead of ITelephony.
Bug: 15008165
Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
Diffstat (limited to 'telecomm/java/com')
-rw-r--r-- | telecomm/java/com/android/internal/telecomm/IInCallService.aidl | 2 | ||||
-rw-r--r-- | telecomm/java/com/android/internal/telecomm/ITelecommService.aidl | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/telecomm/java/com/android/internal/telecomm/IInCallService.aidl b/telecomm/java/com/android/internal/telecomm/IInCallService.aidl index ccf7e3f..1635053 100644 --- a/telecomm/java/com/android/internal/telecomm/IInCallService.aidl +++ b/telecomm/java/com/android/internal/telecomm/IInCallService.aidl @@ -40,4 +40,6 @@ oneway interface IInCallService { void setPostDialWait(String callId, String remaining); void onAudioStateChanged(in CallAudioState audioState); + + void bringToForeground(boolean showDialpad); } diff --git a/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl b/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl index c439211..0e94ffb 100644 --- a/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl +++ b/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl @@ -21,7 +21,7 @@ package com.android.internal.telecomm; * commands that were previously handled by ITelephony. * {@hide} */ -oneway interface ITelecommService { +interface ITelecommService { /** * Silence the ringer if an incoming call is currently ringing. @@ -31,4 +31,11 @@ oneway interface ITelecommService { * even if there's no incoming call. (If so, this method will do nothing.) */ void silenceRinger(); + + /** + * Brings the in-call screen to the foreground if there is an active call. + * + * @param showDialpad if true, make the dialpad visible initially. + */ + void showCallScreen(boolean showDialpad); } |