39d94c1b821e7da3a551f487b052ee347e3377a7 |
|
09-Oct-2014 |
Yorke Lee <yorkelee@google.com> |
Enforce CALL_PRIVILEGED check at start of CallActivity This prevents third party apps from using the CALL_PRIVILEGED action with an explicit intent to place emergency phone calls for secondary users. The original component check did not work for secondary users because the component name was being clobbered and replaced with the CallReceiver's component name. Also make sure to start the system dialer as the UserHandle.CURRENT instead of UserHandle.OWNER so that it shows up if the user is not the primary user. Bug: 17920957 Change-Id: Ie2aba734205361bf780f1c81ae2709da4162d4f5
/packages/services/Telecomm/src/com/android/server/telecom/CallActivity.java
|
c0670ffdc003c43f78f5fc7034f02a3e7fef5753 |
|
06-Oct-2014 |
Andrew Lee <anwlee@google.com> |
Add FLAG_RECEIVER_FOREGROUND to broadcast to call receiver. Bug: 17692294 Change-Id: Ibe2b012a83b940735a11e4adccc3d7d8ec99e8ea
/packages/services/Telecomm/src/com/android/server/telecom/CallActivity.java
|
72d271c4fdb6e497cf374ac1bfd1e615393fc4b2 |
|
03-Oct-2014 |
Andrew Lee <anwlee@google.com> |
Process intent immediately for primary users. - Change process outgoing and incoming intent methods in CallReceiver to package-level visibility. - Call directly instead of sending broadcast in CallActivity if the current user is the primary user. - Tweak CallReceiver logging so that methods can be made static. Bug: 17692294 Bug: 17789200 Change-Id: Id2bd885c87a75a1a13ade5cc660e4c81563df1bc
/packages/services/Telecomm/src/com/android/server/telecom/CallActivity.java
|
e6f575c88ed863a89bf4bb91e017b4340e0ddb38 |
|
25-Sep-2014 |
Yorke Lee <yorkelee@google.com> |
Fix IllegalStateException when sending broadcast to CallReceiver Bug: 17656099 Change-Id: I12ebd394ec31a9be3d1127cf8f45332ebfa40d0a
/packages/services/Telecomm/src/com/android/server/telecom/CallActivity.java
|
6dc1c75ff9fbabce11540c2bbe3972159899b414 |
|
24-Sep-2014 |
Yorke Lee <yorkelee@google.com> |
Split CallActivity into trampoline activity and CallReceiver Move most of CallActivity logic into CallReceiver. Only significant logic remaining in CallActivity is checking for OUTGOING_CALL_RESTRICTED and showing a toast. Also fixes a bug where the secondary user would never be able to make a call if the primary user had Google Voice installed, because the ordered broadcast is sent out for the primary user, allowing Google voice to cancel it. Bug: 17579886 Change-Id: Id1689f36503a74e5754b10d019a8b64024d27f77
/packages/services/Telecomm/src/com/android/server/telecom/CallActivity.java
|
5070b0da14bd2da6f68a1ba011f9125fb9d193c5 |
|
20-Sep-2014 |
Santos Cordon <santoscordon@google.com> |
Forward CallActivity invocations to the primary user. Telecom framework runs as the primary user only. When CALL intents are sent via startActivity, they invoke telecom.CallActivity on the current user (activities don't allow specifying them as singleUser="true"). This code checks to see if CallActivity was invoked from as the secondary user and if so forwards the intent to the primary user's version of CallActivity. CallActivity then simply calls directly into the rest of telecom. NOTE: Telecom already does the right thing when binding to the In-Call UI so that the UI always shows up under the current user. Bug: 17253031 Change-Id: Iea7ecf4aa48ed80710a1ed35603cbf4588581afc
/packages/services/Telecomm/src/com/android/server/telecom/CallActivity.java
|
91d43cf9c985cc5a83795f256ef5c46ebb8fbdc1 |
|
17-Sep-2014 |
Tyler Gunn <tgunn@google.com> |
Preparatory work to move Telecom to system service. - Removed use of TelecomApp.getInstance() as context. - Refactored singleton logic and initialization to support being performed from a SystemService. - Note: You will see some commented out references to "import com.android.internal.R"; these must uncommented when the code is moved to a system service. - You will also notice in PhoneAccountRegistrar.java a comment block with: "UNCOMMENT_FOR_MOVE_TO_SYSTEM_SERVICE" The code in that comment block will replace the existing file path code. These were added as a convenience so that I can run a simple sed script to make the required changes to the code in an automated manner once it is moved to its new location. Bug: 17364651 Change-Id: I8e80e9cffc481b688c10a2bca0b59f5ccf8e0fb2
/packages/services/Telecomm/src/com/android/server/telecom/CallActivity.java
|
7cc70b4f0ad1064a4a0dce6056ad82b205887160 |
|
13-Sep-2014 |
Tyler Gunn <tgunn@google.com> |
Renaming Telecomm to Telecom. - Changing package from android.telecomm to android.telecom - Changing package from com.android.telecomm to com.android.server.telecomm. - Renaming TelecommManager to TelecomManager. Bug: 17364651 Change-Id: Ib7b20ba6348948afb391450b4eef8919261f3272
/packages/services/Telecomm/src/com/android/server/telecom/CallActivity.java
|