History log of /packages/apps/Car/Dialer/src/com/android/car/dialer/OngoingCallFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
17d5ac7d0b429687765e940279726623f5f5f823 27-Apr-2017 Anthony Chen <ajchen@google.com> Clean up Dialer code.

- Clean up the use of fragments. Create newInstance() methods that will
set the appropriate variables via arguments.
- Ensure that TelecomActivity does not hold onto Fragment instances as
this could lead to wrong lifecycle events being triggered.
- Restructure OngoingCallFragment so that methods are more concise
- Switch to using onStop/onStart in TelecomActivity to handle
multi-window.
- Remove the usage of commitAllowingStateLoss. Use commitNow/commit
where appropriate.
- Properly hook up the tone sounds for dialing
- Remove unused code

Test: connected phone via bluetooth, made some calls, dialed number,
ensure no crashes
Change-Id: Ib70367a970b09abb1fcb2621f03f940c31e92468
/packages/apps/Car/Dialer/src/com/android/car/dialer/OngoingCallFragment.java
676781bf09b69966f83ba99c1b7ee0c7d6ae00e4 26-Apr-2017 Rakesh Iyer <rni@google.com> Remove dead code from dialer.

Remove a bunch of unused code that was related to rotary and
other non-existent things.

Test: Fired up dialer, made a call, received a call.
Change-Id: I10bb11cf386341b497dba1e054fbe40d11068c5b
/packages/apps/Car/Dialer/src/com/android/car/dialer/OngoingCallFragment.java
6ed89513a64aeaadc55268607e556c8299d4d6b4 18-Apr-2017 Srinivas Visvanathan <sriniv@google.com> CallManager improvements

- Merging TelecomUiCallManager code into UiCallManager. Also
UiCallManager is no longer a singleton and is constructed/owned by
TelecomActivity. TelecomActivity passes it to Fragments.
- Moved InCallServiceImpl into parent telecom package and killed
embedded sub-package.

Bug: 37251324
Test: Tested incoming, outgoing calls, including conference.
Change-Id: I2817a3a93f8314f303e53394d665266dc39a04b5
/packages/apps/Car/Dialer/src/com/android/car/dialer/OngoingCallFragment.java
de4cf995d62280d139c05a9639832a9bf781b480 18-Apr-2017 Srinivas Visvanathan <sriniv@google.com> Killing CallList + crash fix

- Replacing UiCallList and subclass with simple HashMap in
TelecomUiCallManager. TelecomUiCallManager.getOrCreateCallContainer
now does simple map search. Removed synchronization since callbacks
from InCallServiceImpl are on main thread AFAICT; double-checked with
logging.
- OngoingCallFragment crash fix: Don't unset uiBluetoothMonitor since
the fragment object can be re-used by TelecomActivity for next call.
TelecomActivity only passes uiBluetoothMonitor the first time after
construction.
- Fixing UiCall.disconnectClause -> UiCall.disconnectCause.

Bug: 37251324
Test: Made test calls, incoming, outgoing, conference.
Change-Id: I63f24cc9793b4b2c4547146a836205413f106c83
/packages/apps/Car/Dialer/src/com/android/car/dialer/OngoingCallFragment.java
a16cb24e5b5690af55597ad5c8540a7c90ae146a 13-Apr-2017 Srinivas Visvanathan <sriniv@google.com> Cleanup and simplification in Dialer

- Removed CallActionReceiver which is not used.
- Removed ClassFactory; TelecomUiManager is now constructed directly.
- Simplified UiBluetoothManager area. No longer have base class, telecom
specific implementation. Telecom bits were merged into main
UiBluetoothMonitor. Also its no longer a singleton. TelecomActivity
constructs it and OngoingCallFragment re-uses that one.
- Simplified logic in OngoingCallFragment to fetch Hfp connected state.

Bug: 37251324
Test: Used dialer on Mojave. Made test calls. Turned off/on BT on phone.
Change-Id: I9b8b5c2bc43a8ef8f77c7f201e2c0059b1735749
/packages/apps/Car/Dialer/src/com/android/car/dialer/OngoingCallFragment.java
9c60bc83bd37ae212e66f2e27b821cebbe7beeb2 24-Mar-2017 Rakesh Iyer <rni@google.com> Remove ui dependencies on car support lib.

We're removing the ui components from the car support
library so make the dialer depend on the copies that
have been added to the stream-ui-lib.

Bug: 33210228
Test: Booted and verified that the dialer looks ok.
Change-Id: Ib147e72650f5b76e2ca23e7f01d7b3501323df79
/packages/apps/Car/Dialer/src/com/android/car/dialer/OngoingCallFragment.java
6f8e1dbe4629b499128dade1e6d83e37147403c4 12-Jan-2017 Srinivas Visvanathan <sriniv@google.com> Moving Dialer off CarActivity

- Migrating TelecomActivity to new CarDrawerActivity. Removed
TelecomProxyActivity since it's no longer needed.
- TelecomActivity now produces CarDrawerAdapter subclasses to drive
drawer navigation. It's completely off CarMenu API.
- Modified CallLogListingTask to return a list of CallLogItem's. It now
invokes the provided LoadCompleteListener when its done.
- Updated Dialer fragments impacted by TelecomActivity change.

Bug: 34351310
Test: Manually
Change-Id: I600f4c786a368f485e2f5758c7b133ea7265ba21
/packages/apps/Car/Dialer/src/com/android/car/dialer/OngoingCallFragment.java
3d724a4b70dd9a08d9adddc3b403edfd572bcaa6 20-Oct-2016 Rakesh Iyer <rni@google.com> Move car dialer source.

Original Sha1: fb66733ce6b50bd2af75cd70dced7c412650c750

Credits:
ajchen@
pavelm@
rni@
victorchan@

Bug: 32118797
Test: Manual.
Change-Id: Ide67e7038fc32679e48055de52ec80f0039a7e02
/packages/apps/Car/Dialer/src/com/android/car/dialer/OngoingCallFragment.java