cca957f37bf851c10767db541eb87f3150370702 |
|
11-Apr-2017 |
Tyler Gunn <tgunn@google.com> |
Remove auto-DND while in call. Removing the auto DND functionality while in a call. This functionality is being phased out due to b/28688969. Test: Unit/Manual Bug: 37154069 Merged-In: I5690116fc6a3938e7725a4b2963741885ddc8ac0 Change-Id: I5690116fc6a3938e7725a4b2963741885ddc8ac0 (cherry picked from commit daeffaf3dbcfadfcb58b07a56169982eacb697db)
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
acc09c44870b58e3350086a78add37bbedccfce8 |
|
04-Apr-2017 |
Tyler Gunn <tgunn@google.com> |
Add Telecom notification channels. Test: Manual Bug: 36866129 Merged-In: I49194128b4f526205055137d4ebaa8b282baa90f Change-Id: I49194128b4f526205055137d4ebaa8b282baa90f (cherry picked from commit dce902a0cd4d7060e1825cc3cde8d7f76eb67086)
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
ca766d28471cc41d9ef33682a41edd1f99448d42 |
|
08-Mar-2017 |
Tyler Gunn <tgunn@google.com> |
Self-Managed Incoming Call Disambiguation UX. - Handle auto-disconnect of foreground call when answering a self-managed call. - Enforce restriction that the PhoneAccount associated with a self-managed CS must have a label which is the app's name. - Ensure self-managed phone accounts can't be registered with call provider, connection manager, or sim sub capabilities. - Add "incoming call" UX which is shown when a new incoming call from a self-managed CS comes in and there is an existing call for another CS. Test: Unit, manual Bug: 34159263 Merged-In: I371be9baa6f56c77aa83349977c0131f0e319047 Change-Id: I371be9baa6f56c77aa83349977c0131f0e319047
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
ae51d3c8411b7c2e59113992ec65093a80f17495 |
|
11-Jan-2017 |
Tyler Gunn <tgunn@google.com> |
Fix issue where the dnd mode remains on after a call terminates. There is a potential race condition when handling the ACTION_INTERRUPTION_FILTER_CHANGED broadcast. Since we're setting the interruption mode ourselves, we also get this broadcast. Most of the time the broadcast is processed first and everything works. However, it looks like there are cases where the broadcast receiver processes AFTER we have updated mAreNotificationSuppressed to true. Thus, when we try to turn off DND later on we assume that the user had initiated the request to turn off DND and don't bother to do so. The fix is to check who initiated the manual DND rule. If its telecom, we can ignore the broadcast. Test: Manual Bug: 33340277 Change-Id: I42b78fd27fe9814c4f8e29afc8937c3b41f51e50
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
7c9283261ad4fdbc5ebbb74257671388f9c758c7 |
|
07-Dec-2016 |
Hall Liu <hallliu@google.com> |
Use DefaultDialerCache in Telecom (part 2) Use the DefaultDialerCache throughout Telecom whereever the value of the default dialer for a particular user is accessed or modified. Also moves the DefaultDialerManagerAdapter to DefaultDialerCache since TelecomServiceImpl no longer directly uses it. Test: Unit tests and manual tests as specified in design Change-Id: I5d8f46b4a236e570528425b4010976ac837644ac
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
a3eccfee788c3ac3c831a443b085b141b39bb63d |
|
06-Oct-2016 |
Brad Ebinger <breadley@google.com> |
Switch to using android.telecom.Log in Telecom Sorry. CP from: https://android-review.googlesource.com/#/c/287332/ Test: Added unit tests for Log Sessions and Events. All other affected unit tests still pass. Bug: 26571395 Change-Id: I890d68d935cd554ba89042e99c155757697e1a37
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
3037ac6f171b6a3627494bb10042ab7adb34366a |
|
22-Sep-2016 |
Hall Liu <hallliu@google.com> |
Refactor and fix MissedCallNotifier This change affects the behavior of the MissedCallNotifier on system startup. Previously, MissedCallNotifierImpl created a new Call object and used it to pull in contacts-related data. This created excessive dependencies for MissedCallNotifierImpl, so it has been changed to use CallerInfoLookupHelper. Additionally, the at-boot notification has been broken for some time, and this was due to the calls/contacts db not being ready when TelecomSystem was initialized. This change also deferrs the missed call lookup to when we receive ACTION_BOOT_COMPLETE. Test: Added unit tests, tested manually on device Change-Id: Ibf8ec41d8d18b5ed7943a9520242f15bf546bda7 Fix: 30796667
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
eaaf074d6b8b0b16fb922d8d511d6e8b979bfe0d |
|
16-Sep-2016 |
Tyler Gunn <tgunn@google.com> |
Prevent notification vibration when the user is on the earpiece. When the earpiece route is activated, if the user has not already enabled a notification interruption filter, we will set it to alarms-only. This ensures that notifications don't cause the phone to vibrate while in earpiece mode. If the user changes the interruption filter during the call we will keep their new chosen filter when the earpiece route is disabled. This notification filtering only takes place for the earpiece route. Bug: 29962221 Change-Id: Ia332a988f10427a2a0f8315af9f31d854836db9f
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
6ab66c31dbd8373d777b0c680e47e5ef451d9d9c |
|
16-Jul-2016 |
Brad Ebinger <breadley@google.com> |
Fix NPE in Call.setHandle Fix a NPE in Call.setHandle that was occuring in MissedCallNotifierImpl, when switching to second user. Change-Id: I9d3fc394683f3000711fa05c09ea737e2f6c4553 Fix: 30170188
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
6e8f3d70ac7397afb4cb5ab276d1cd385c92dd21 |
|
20-Jun-2016 |
Brad Ebinger <breadley@google.com> |
Rename Telecom Call Ids to include attempt Telecom Call Ids will now append an attempt id (in the form of an integer) that will be used by the CreateConnetionProcessor to name the Telecom Call Ids that are used during the creation of a Connection to the ConnectionService. This allows us to better identify which Connection is calling back to Telecom to update status, disconnect, etc. Previously, all of the attempted Connections in CreateConnectionProcessor would be given the same name, which could lead to multiple Connections trying to manage the same Call object in Telecom. Also, a supporting tests were added and a few Unit Tests were fixed. Bug: 28799824 Change-Id: I7e23497ab671712bc8d3cc9542537ae1c4829afc
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
6d4b66df3d918e3f17263ff40ca3ba0ec5a46719 |
|
02-Apr-2016 |
Hall Liu <hallliu@google.com> |
Incorporate parallel call blocking checks Modify CallsManager to use the IncomingCallFilter class introduced in a previous CL. Modifies AsyncBlockCheckTask and CallScreening to implement CallFilter and removes the logic in those classes that used to execute the filters in series. Added tests for block-check and call screening. Added logging events to track how long each of the call filters take. Change-Id: Iecd60463fe9ac6dbbd85d57ef6ae2bfccb94d967 Fix: 26883888
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
7ade5e2c3f7a849e41de3b81051c12a8fcd6ea83 |
|
06-Apr-2016 |
Brad Ebinger <breadley@google.com> |
Mock out AsyncRingtonePlayer during Testing AsyncRingtonePlayer wasn't being correctly Mocked in the TelecomSystemTests. Since the Async threads to continue to run after the tests were completed, The AsyncRingtonePlayer log messages were interfering with LogTest's Log capturing. Fix: 28044674 Change-Id: Ic58a0091a969f8eb36b777b859ba08202810221a
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
7948f5b5aeae8e508ee4310595669c484c786dd7 |
|
16-Mar-2016 |
Hall Liu <hallliu@google.com> |
Fix tests breaking when bluetooth is on BluetoothPhoneServiceImpl now uses a BluetoothAdapterProxy so that it is now isolated from system bluetooth. Bug: 27686250 Change-Id: If27c9ba642b163ecde68ae8956bc76523a552d31
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
e091ab90e37845cf4771051a6d2ce0ebadee4fe7 |
|
19-Dec-2015 |
Hall Liu <hallliu@google.com> |
CallAudioManager refactoring Separates the handling of audio mode and audio focus into a state machine and brings ringing, tone generation, and ringbacks under the control of CallAudioManager. (cherry picked from commit fc2270137059e855756769752899d613e27d12a8) Change-Id: Idd765550c907150117b8b66f76e88868ae3785c2
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
a993094840386163e9c2aa65a05e14b49d122318 |
|
15-Jan-2016 |
Tony Mak <tonymak@google.com> |
Updated missed call notification behaviour Change-Id: Id32110413fbb5fa4ae4c3478e70f54d211b78389 Missed call notification 1. If the phone account has multi user capability, the notification is shown in current user. 2. If the phone account has no multi user capability, the notification is shown in the user that owns the phone account of the call 3. Whenever user is switched, reload missed call from database and post notifications if necessary. Change-Id: Id32110413fbb5fa4ae4c3478e70f54d211b78389
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
63a89f28d6e86844eea242a0175db21df1624db1 |
|
09-Dec-2015 |
Brad Ebinger <breadley@google.com> |
Mock WakeLocks in Telecom for Unit Testing Currently, the proximity and in-call wakelock controllers use PowerManager and PowerManager.WakeLock, which are final and can not be mocked. A container named TelecomWakeLock has been introduced, which encapsulates WakeLock logic for Unit Testing. Unit tests are added for the ProximitySensorManager and InCallWakeLockControllerTest. Change-Id: I4a894d4cd8d9d8952144a41a4d0a4bf4dac4de46
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
b3979ee8e636820cc5e68f26562bc02987e5d489 |
|
12-Nov-2015 |
Hall Liu <hallliu@google.com> |
Fix test breakage when phone bluetooth is on When the phone's bluetooth is enabled, TelecomSystemTest will fail with a permission error in BluetoothPhoneServiceImpl. This change introduces a new factory to facilitate mocking of BluetoothPhoneServiceImpl. Change-Id: I58e1d5532a7f55580d37158fee27209e3de24988
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
8fb1fb72b084a0497a3c3c3037ce5667bde14482 |
|
23-Oct-2015 |
Hall Liu <hallliu@google.com> |
Fix TelecomSystemTest#testAudioManagerOperations testAudioManagerOperations was setting the microphone to mute and attempting to verify that the setMicrophoneMute methond on the AudioManager was invoked. However, CallAudioManager bypasses AudioManager and calls AudioService directly. This change modifies CallAudioManager so that a mock AudioService can be injected. The test was modified so that it checks that the appropriate mute method was called on the mock AudioService instead of checking the mock AudioManager. Bug: 25158760 Change-Id: I0d5946ae6b4cd31c9067e818f20dcc37a2e15c86
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
3188b364c360f83631fe1c7623c0e4252088b3c6 |
|
22-May-2015 |
Santos Cordon <santoscordon@google.com> |
Protecting PII data. Bug: 21204385 Change-Id: I95a82e6ae79b728ed75da25be3beedd0e66d5b41
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
731369c3983628e700f161138fe2ea3230033a1a |
|
19-May-2015 |
Ihab Awad <ihab@google.com> |
Sync for HeadsetMediaButton Add synchronization and deferred execution to our interactions with MediaSession, since MediaSession sometimes calls back via an RPC into Telecom and can cause us to deadlock. Bug: 21028885 Change-Id: I8fc0574269a81e817e1c139aa0fe56258c96bd64
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
abcbce4441720c52a443d292d5adc2d95f446494 |
|
07-Apr-2015 |
Ihab Awad <ihab@google.com> |
Fix deadlock around locking in AudioManager Includes proof of concept tests, but the tests are not yet highlighting the problem, due to its nondeterminism. Bug: 20103143 Bug: 20108354 Change-Id: I8323a660c6cc4093888f4e608070709a828624e6
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
8d5d9ddc66b55b6906364ab3c0e244dab4d58f13 |
|
12-Mar-2015 |
Ihab Awad <ihab@google.com> |
Make Telecom synchronous Remove main-thread handlers and add a systemwide lock object. Change-Id: I6334fdfa6c244836f6375bea302404f61c81301b
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
8de76915ea2772faeb41705aaaeb65f5b3478ac4 |
|
17-Feb-2015 |
Ihab Awad <ihab@google.com> |
Further refactor Telecom and add tests Complete refactoring Telecom to remove singletons from the core code. Introduce a unit test that simulates a full outgoing phone call from start to hangup. Change-Id: I8b09cac6eb9b6aeeb0aeba5d8ae032b4c303c08d
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|
78a5e6b9c1595c81f72d7a822617cb78db224e48 |
|
06-Feb-2015 |
Ihab Awad <ihab@google.com> |
Refactoring for testability Refactor to a single app singleton, TelecomSystem, which owns the intialization of the rest of the app. Change-Id: I3036f200b56f710e7f830b469260a67145c327e7
/packages/services/Telecomm/src/com/android/server/telecom/components/TelecomService.java
|