diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-01-31 15:00:51 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-02-01 15:14:29 -0800 |
commit | f265ea9d8307282ff1da3915978625a94fc2859e (patch) | |
tree | 4e92b5de30239c1808a395cb49c9b17fe28ccffb /telephony/java/com | |
parent | 7a4ecc957d437ad4914988edc7593570f1e43f79 (diff) | |
download | frameworks_base-f265ea9d8307282ff1da3915978625a94fc2859e.zip frameworks_base-f265ea9d8307282ff1da3915978625a94fc2859e.tar.gz frameworks_base-f265ea9d8307282ff1da3915978625a94fc2859e.tar.bz2 |
App ops: vibration, neighboring cells, dialing, etc.
Improve handling of vibration op, so that apps are
better blamed (there is now a hidden vibrator API that
supplies the app to blame, and the system now uses this
when vibrating on behalf of an app).
Add operation for retrieving neighboring cell information.
Add a new op for calling a phone number. This required
plumbing information about the launching package name through
the activity manager, which required changing the internal
startActivity class, which required hitting a ton of code that
uses those internal APIs.
Change-Id: I3f8015634fdb296558f07fe654fb8d53e5c94d07
Diffstat (limited to 'telephony/java/com')
-rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephony.aidl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index d5f0467..1449ab1 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -42,7 +42,7 @@ interface ITelephony { * Place a call to the specified number. * @param number the number to be called. */ - void call(String number); + void call(String callingPackage, String number); /** * If there is currently a call in progress, show the call screen. @@ -218,7 +218,7 @@ interface ITelephony { /** * Returns the neighboring cell information of the device. */ - List<NeighboringCellInfo> getNeighboringCellInfo(); + List<NeighboringCellInfo> getNeighboringCellInfo(String callingPkg); int getCallState(); int getDataActivity(); |