History log of /packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dc7fa8914ad3f204af07606b8b48d66c5afe0acc 09-Jan-2016 Ta-wei Yen <twyen@google.com> Allow google dialer code to be compiled against M and N SDKs

+ Class DirectorySdkCompat and PhoneAccountSdkCompat for N/pre-N version
pre-N is implemented with stubs

Bug:26330692
Change-Id: I53374f68ff3756ba0a502c15d07aa18a2d763e83
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
e31b0ea8b61d5744921ff7491d5dbe1a8273c05f 18-Dec-2015 Tyler Gunn <tgunn@google.com> Use carrier presence when showing the video call icon.

- Removed some unused video assets.
- Added carrier_presence to the ContactLoader queries (this supports
load in the quick contacts view, as well as in the dialer search results).
- In search results (ContactListItemView), moved label before phone
number (per UX).

Bug: 20257833
Change-Id: I838dbf6c58939faab6d36f4afa70587b07f85f63
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
3b3e33f2fec2b02fecadbebbe6cb484b71e332fb 09-Dec-2015 Nancy Chen <nancychen@google.com> Check for compatibilty with call subject and video call features.

Bug: 25776171
Change-Id: I473bfd43bc903dbdf6821dd03db8855ae38c417b
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
b73d046860ae528b7d9d0bd1f92ae20059cceca7 18-Sep-2015 Yorke Lee <yorkelee@google.com> Protect CallUtil methods with permission check

Bug: 20266292
Change-Id: Id19527670876bd4659d2e853b76ec6496986036b
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
f320a2b15764b84e3b79e9c12183e96c0e52a6b0 15-Sep-2015 Yorke Lee <yorkelee@google.com> Add utility to get voicemail uri

Change-Id: I7016a85e23dbed6d4b850244ea14c311e265e02b
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
c35d396656363774843c84bd138e9f23367a5567 07-Aug-2015 Tyler Gunn <tgunn@google.com> Add CallHistory activity to CallSubjectDialog, plus others.

- Shows last 5 call subjects.
- Add OnPhoneNumberPickerActionListener for handling callbacks from
search results to trigger making a call with a subject.

Bug: 22685114
Change-Id: I3b1e6660c8fa4b3c289e538d673a82caabb57a73
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
a4e1829625be913e69ba52976a97b4f1875eb039 04-Aug-2015 Tyler Gunn <tgunn@google.com> Add "call with a note" resources

Note: UX resource for ic_call_note_while; UX needs to send me proper
version in all resolutions.

- Added new CallSubjectDialog class to display the call subject dialog.
- Moved getLookupKeyFromUri from Dialer into UriUtils.
- Note: Limit of 16 chars is in place until b/22806380 is resolved.

Bug: 22685114
Change-Id: I9744765c3bbc6672a400fe3d1522c5af1b793781
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
0e79b26f6a5bd91060f915744cc24ce42e4e03de 13-May-2015 Yorke Lee <yorkelee@google.com> More video related API fixes

android.telecom.Connection.VideoProvider
* onSetPauseImage takes Uri instead of String
* changeCallDataUsage -> setCallDataUsage
* add quality constants to changeVideoQuality() docs

android.telecom.InCallService.VideoCall
* setPauseImage takes Uri instea dof String

android.telecom.VideoProfile.VideoState
* Move constants to VideoProfile, prefix with STATE_

Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
860b31654c3d4da4fd7dd66bca8990fbd16a9d35 10-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit '1c88500de94c7e549e1e553cfe82dfd227c1b2bf' into merge_work
460b7e3d2c79071006b6718004d113637e8d4ec3 24-Mar-2015 Rekha Kumar <rekhak@codeaurora.org> IMS-VT: Answer video call with different call types

-Add icon for receiving video call with VT_TX and VT_RX

Change-Id: I8777131f1280804e2e7256877fa781f2a26a7a40
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
89baf1b48481690f3d5f1a9449d7d55dd8d2aff4 19-Mar-2015 Yorke Lee <yorkelee@google.com> Revert "Revert "Enable video telephony support. (2/4)""

PhoneAccount.CAPABILITY_VIDEO_CALLING has been unhidden.

This reverts commit 8d4a6120138ba2ea1c4f0ac6734ecc29eceeba3f.

Change-Id: I254c534424cf5cc1b31145757c2876d4e0ace776
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
8d4a6120138ba2ea1c4f0ac6734ecc29eceeba3f 18-Mar-2015 Brian Attwell <brianattwell@google.com> Revert "Enable video telephony support. (2/4)"

This reverts commit 748cb36199662faefcb61d44a504de2a8a690da8.
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
0c51fe7b432b1514398c518d19809e71dfd40233 15-Mar-2015 Vinit Deshpande <vinitd@google.com> Fixing build after merge from mirror-m-wireless-internal-release

Change-Id: I522066bc3582710b8e0d59bf071d4c0bfc943310
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
bc662427598653d467d4adb77a129f4cbee8b880 16-Mar-2015 Vinit Deshpande <vinitd@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master2
748cb36199662faefcb61d44a504de2a8a690da8 20-Jan-2015 Tyler Gunn <tgunn@google.com> Enable video telephony support. (2/4)

- Add implementation of CallUtil#isVideoEnabled method which checks all
call capable phone accounts to determine if one has the
CAPABILITY_VIDEO_CALLING set.

Bug: 19062133
Change-Id: Ie6c2f91515b6ac953fc4e13f21eeab110854b911
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
5a95b1be6f9627a134d75d9aa1c813978e612043 04-Feb-2015 Brian Attwell <brianattwell@google.com> Move CallUtil into Dialer. P2/3

CallUtil relies on the a priviliged intent that should only
be used by system apps. Therefore, it shouldn't be used by an
unbundled Contacts app.

I'm leaving one (isVideoEnabled) method from CallUtil inside
ContactsCommon. This way, when the changes that Tyler made
inside m-wireless-telephony-shamu-dev (b/19062133) get
merged back into master both ContactsCommon and Dialer
will be updated.

Bug: 18777272
Change-Id: I49c9cc714ded01d523ed770a5bf62cf92c378e2f
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
e94ad7cc098ed77f4a69130a0393abdad835c9b9 17-Nov-2014 Yorke Lee <yorkelee@google.com> am faed3374: Switch from CALL -> CALL_PRIVILEGED

* commit 'faed337493039d8b149aace3816000cd396c99fe':
Switch from CALL -> CALL_PRIVILEGED
faed337493039d8b149aace3816000cd396c99fe 17-Nov-2014 Yorke Lee <yorkelee@google.com> Switch from CALL -> CALL_PRIVILEGED

Bug: 18332160
Change-Id: I5b9bcc8f413e5534bab94e0b2677371968a8e483
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
85a5b87ca9e2064abd8acc194004ffebd8827b17 16-Oct-2014 Nancy Chen <nancychen@google.com> Add utilty method to get voicemail intent.

Voicemail intent is just a URI with a "voicemail:" scheme. Create this
intent using the call utils.

Bug: 17925501
Change-Id: I8e368d3b006190e910ae46d82e80c6603f5a42c4
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
04a5b0b11e4bc47a343017ddece5754cf35f61f5 11-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: I6cae2868fa8b8d2fe872771ecac628add52fea84
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
382b6dacb5d1582fa198c84825489d846ba9e5bc 06-Sep-2014 Jay Shrauner <shrauner@google.com> Move non telecomm schemes to ContactsUtils

Pull telecomm schemes from PhoneAccount in framework

Bug:17398074
Change-Id: I3e73be01949c254a142fe8a4faea062899d35266
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
d09bb991ff703ca45be8ac535bd2f0c1354ceede 04-Sep-2014 Nancy Chen <nancychen@google.com> Add "SCHEME_VOICEMAIL" as a constant in CallUtil.

We check for the voicemail scheme in InCallUI so add this constant to
ContactsCommon.

Bug: 17363355
Change-Id: Ieb09f7772654ed738fb5127bb6d9fed1246e3a00
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
53cdd98f12e1c161b9caa95310248c45c1152f6a 22-Aug-2014 Nancy Chen <nancychen@google.com> API Review PhoneManager -> TelecommManager. Rename methods (2/6)

PhoneManager
- handlePinMMI docs should explain what a Pin is and what MMI is
- rename isInAPhoneCall to isInCall
- rename showCallScreen to showInCallScreen
- merge this class into TelecommManager, we don't need both

Bug: 16960458

Change-Id: I8b7ed389c60ab074eb28d29d0fa8d9429e414875
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
8d9ef659a71f43d942cba83b64417c553d0f5fd2 21-Aug-2014 Andrew Lee <anwlee@google.com> Pass context into isVideoEnabled. Add getContext() method to adapter.

Bug: 16211386
Change-Id: I4b928abe242dd42f00ea19c972375f777367eee4
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
79aabb35e68f06facd7c2407ac1fffaceafc13e7 19-Aug-2014 Paul Soulos <psoulos@google.com> Moves isVideoEnabled into ContactsCommon

bug: 16015752
Change-Id: Ic875b3012b705e72fbb4f592061cacb2302be305
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
4388587b900823f6923cba15c445797ccabb351f 08-Aug-2014 Ihab Awad <ihab@google.com> Final structural tweaks to Telecomm API (2/8)

Bug: 16416927
Bug: 16494880
Change-Id: Ice2cd91628fefcca46f11ae9245ed00ef937f63f
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
779c7d9b6bd067bf431192e8f2a83a65fe9e3150 28-Jul-2014 Andrew Lee <anwlee@google.com> Update uses of VideoCallProfile.VideoState.

Bug: 16629892
Change-Id: Ie6d04a2d8b10fa9047073ae4e8cb3841b4cfe824
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
11a6e970b215cd289b964c4c39db85906501a6c9 18-Jul-2014 Yorke Lee <yorkelee@google.com> Switch from ACTION_CALL_PRIVILEGED TO ACTION_CALL (5/5)

Bug: 6948882
Change-Id: I1f90c9f3f33d875482958d5f565629160ce2177e
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
171812fd58801d8bcca356db0641e0e86e83ed5c 20-Jul-2014 Evan Charlton <evanc@google.com> Rename PhoneAccountMetadata to PhoneAccount

Change-Id: I4597b14110c1cee7f637ec125b839852ef0f34c4
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
733473c7aa28201236bf97101aacdf48b6783f62 20-Jul-2014 Evan Charlton <evanc@google.com> Rename PhoneAccount to PhoneAccountHandle

Change-Id: I2e97b348e6316a8b3ccc39fd81013e7f514a2889
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
821723306f6bae5c9f494404c3ae1175c0132173 20-Jul-2014 Evan Charlton <evanc@google.com> Migrate TelecommConstants to TelecommManager

Change-Id: Icdd7637ba1ae27ce7d1f13714257b4a946961037
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
e98245c9f57dca8902ffa9c406e4e37ecd94f8eb 15-Jul-2014 Tyler Gunn <tgunn@google.com> Adding required video call intent for use with "Video Call" link
in call log.

Bug: 16013879
Change-Id: Ib599a154549fab221510d30715930080cba95c78
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
914f56efb034de18257ce298b893e8329d92b2d5 14-Jul-2014 Sailesh Nepal <sail@google.com> Update EXTRA_PHONE_ACCOUNT do not merge

Change-Id: I2e40c5c64c0d242dc41b680943d7e9209142db5b
(cherry picked from commit 47c4b0754c22a6d3601a84ea66419b97ae642550)
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
c291ec1b9964c44e91ca86eeaf83d91138cc1767 09-Jul-2014 Ihab Awad <ihab@google.com> Implement multi-SIM capabilities (2/6) [DO NOT MERGE]

Use new PhoneAccount & metadata APIs

Bug:16292368
Change-Id: Ia53fc2c94b45196fd0bbd3f1da0ca5565d22360a
(cherry picked from commit 264629ca27d9b830806a81f7fda4ee493fda8652)
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
286a75c7bb0d182ba3e49d135e7d3cc011ba3cdc 09-Jul-2014 Nancy Chen <nancychen@google.com> Remove SelectAccountDialogFragment for PhoneAccount on Dialer app (2/2)

One-time select will no longer be available within the dialer app so the
fragment and menu item have been removed.

Bug: 15473965
Change-Id: Id72b82ff1f70dc5830ce8d5b30b3559c8186dffe
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
ea0f3ffbcc461d8fb1aebe6aaea54612c3a4df41 09-Jul-2014 Andrew Lee <anwlee@google.com> Set video call state on call intent and add getVideoCallIntent().

Bug: 16013180
Change-Id: Ia9ac012baf5bbb64b9fde458879df8ddb8552ba3
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
ad12d04e15a8a66c43893fb29cf08649bd0b675e 01-Jul-2014 Ihab Awad <ihab@google.com> Rename Telecomm "Subscription" to "Account" (2/7)

Change-Id: I73cd3d1a2e7ae12f2e8d94f0a093c6d91bf7c912
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
931468d068278bb285d41850b48b0f181f7af621 24-Jun-2014 Nancy Chen <nancychen@google.com> Add EXTRA to call intents in order to include subscription information

The getCallIntent method should receive subscription parameter in order
to pack it into the intent to call (which will get passed to the
CallManager).

Bug: 15473965

Change-Id: Ib166c17f910aabc5581029afad527fa3dbedf93d
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
9d40cfc6a8383cf3eff571462f83616c86c5c413 13-May-2014 Santos Cordon <santoscordon@google.com> am fb47aac4: Removing explicit destination for CALL intents sent from dialer.

* commit 'fb47aac4d86461d78ddd0c2ea4df2462af2cec42':
Removing explicit destination for CALL intents sent from dialer.
954b2a41e25b0924337593ed108d52081719dbed 17-Mar-2014 Yorke Lee <yorkelee@google.com> Fix usage of PhoneNumberUtils.isUriNumber

PhoneNumberUtils.isUriNumber is private and should not be used.

Bug: 6948882
Change-Id: I0724364080a402b64c78f2d82aed72e9acc04111
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
fb47aac4d86461d78ddd0c2ea4df2462af2cec42 13-Dec-2013 Santos Cordon <santoscordon@google.com> Removing explicit destination for CALL intents sent from dialer.

Change-Id: I547d469e457397c9f9298b7f60da5324476affba
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
195eb0250eaffee9c928954313b128f057847ec0 10-May-2013 Santos Cordon <santoscordon@google.com> Set explicit destination for CALL_PRIVILEGED.

bug: 8871505
Change-Id: Ib92cfe3b3bd6b56bd69ea7744f74e570a1794b5e
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
439c352a9a23bdb89e43a8977eb0ae30f4e88824 10-Oct-2012 Santos Cordon <santoscordon@google.com> Do not change voicemail call to voicemail: uri automatically

Manual merge of Change-Id: I41ba17e419e3189a73f8032399deaa78febd525c

Change-Id: I66a20804d22bdf6c602f8fb27054f4894aed247e
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java
5a6b519447147a91eda94142c5667e86b2d4456c 06-Sep-2012 Chiao Cheng <chiaocheng@google.com> Adding build file and shared utils for ContactsCommon.

- Shared components for Contacts and Dialer app.

Bug: 6993891
Change-Id: I15ee8ccdc5119ee744db19726ce6d42e89fa509b
/packages/apps/ContactsCommon/src/com/android/contacts/common/CallUtil.java