7 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 26 Mar 2012 19:16:02 +0000]
Import translations. DO NOT MERGE

Change-Id: I79567444dbb3a6d30aae900d225e65dfbd306d32

7 years agoMerge "Import translations. DO NOT MERGE"
Eric Fischer [Fri, 23 Mar 2012 21:12:08 +0000]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Disable preferences until appropriate data are loaded"
Daisuke Miyakawa [Fri, 23 Mar 2012 20:51:07 +0000]
Merge "Disable preferences until appropriate data are loaded"

7 years agoDisable preferences until appropriate data are loaded
Daisuke Miyakawa [Fri, 23 Mar 2012 14:37:37 +0000]
Disable preferences until appropriate data are loaded

Bug: 5614194
Change-Id: I4fd6d57f9114f138ee512c036ebd66fc7798996e

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 23 Mar 2012 18:59:56 +0000]
Import translations. DO NOT MERGE

Change-Id: Id521f2bc46ce69488e361163af630e5cb3d33398

7 years agoMerge "Specify class for CallerInfo update Intent"
Daisuke Miyakawa [Fri, 23 Mar 2012 17:30:38 +0000]
Merge "Specify class for CallerInfo update Intent"

7 years agoA bunch of cleanups around "additional settings"
Daisuke Miyakawa [Fri, 23 Mar 2012 14:41:39 +0000]
A bunch of cleanups around "additional settings"

Change-Id: I0b47eec3e01e43bf8b879fd858ae9885d0727447

7 years agoSpecify class for CallerInfo update Intent
Daisuke Miyakawa [Fri, 23 Mar 2012 02:32:23 +0000]
Specify class for CallerInfo update Intent

to avoid sending the Intent to other packages

Bug: 1735194
Change-Id: I6e376664169179b03248d001312cc50a89fb72cd

7 years agoTiny cleanup around respond-via-sms
Daisuke Miyakawa [Thu, 22 Mar 2012 19:54:05 +0000]
Tiny cleanup around respond-via-sms

- Removes several non-null check for RespondViaSmsManager.
  It must not be null and thus the check won't be necessary.
- Tweak misc comments
- Force RespondViaSmsManager to call getSharedPreferences() once,
  which will force the Activity to prefetch the shared preferences.
- Remove TODO around bug 4998562. We'll live with it.

Bug: 4998562
Change-Id: I30f5c6e41af2a356ce26eae9065a825b7a8c9340

7 years agoMerge "Explicitly specify when PokeLock is effective"
Daisuke Miyakawa [Thu, 22 Mar 2012 20:20:38 +0000]
Merge "Explicitly specify when PokeLock is effective"

7 years agoExplicitly specify when PokeLock is effective
Daisuke Miyakawa [Thu, 22 Mar 2012 03:04:54 +0000]
Explicitly specify when PokeLock is effective

For bug 5021798 : Screen times out after phone call much faster than
otherwise.

This change will *not* fix the problem but may make the code clearer
to understand why the problem occurs.

Bug: 5021798
Change-Id: If6293f455f72ff1e2979e183ef91fbe8ffe088fe

7 years agoMerge "Use on/off loudspeaker icons in in-call screen"
Daisuke Miyakawa [Thu, 22 Mar 2012 02:45:39 +0000]
Merge "Use on/off loudspeaker icons in in-call screen"

7 years agoUse on/off loudspeaker icons in in-call screen
Daisuke Miyakawa [Wed, 21 Mar 2012 22:52:59 +0000]
Use on/off loudspeaker icons in in-call screen

Fixing bug 6047330 : Visual voicemail loudspeaker UI inconsistent with
loudspeaker UI on calls

TESTED:
- use speaker phone mode during usual call.
- use bluetooth headset and try speaker phone mode

Bug: 6047330
Change-Id: Ib1f3b91ee6e29e8c6c4272a7ef3c563062de26f5

7 years agoMerge "Use partial wake lock during refreshing the cache"
Daisuke Miyakawa [Wed, 21 Mar 2012 18:52:27 +0000]
Merge "Use partial wake lock during refreshing the cache"

7 years agoUse partial wake lock during refreshing the cache
Daisuke Miyakawa [Tue, 20 Mar 2012 21:57:01 +0000]
Use partial wake lock during refreshing the cache

Bug: 1735194
Change-Id: I3db2dddce3f564d6400b6c330df85131a87170c7

7 years agoMerge ""Respond via SMS": Non-secure keyguard bogusly appears when using "Custom...
Tom Taylor [Wed, 21 Mar 2012 16:46:40 +0000]
Merge ""Respond via SMS": Non-secure keyguard bogusly appears when using "Custom message""

7 years agoEnable verbose logging.
Daisuke Miyakawa [Tue, 20 Mar 2012 23:05:16 +0000]
Enable verbose logging.

Change-Id: I43ca343bd91eb6d03a11a8bc4439021fd5f13ee9

7 years ago"Respond via SMS": Non-secure keyguard bogusly appears when using "Custom message"
Tom Taylor [Tue, 20 Mar 2012 22:22:40 +0000]
"Respond via SMS": Non-secure keyguard bogusly appears when using "Custom message"

Bug 4998569

Send custom sms message via the special sms service. The sms service will
start the compose activity with the appropriate window flags to dismiss the
keyguard/lockscreen. Going through the service perserves the permissions.

Change-Id: Iff6ab3eafd72e746998b0115bad448117e94402e

7 years agoMerge "Introduce fallback cache for ringtone/send-to-vm"
Daisuke Miyakawa [Tue, 20 Mar 2012 21:32:29 +0000]
Merge "Introduce fallback cache for ringtone/send-to-vm"

7 years agoShow dialpad when we're sure it is voicemail request
Daisuke Miyakawa [Tue, 20 Mar 2012 18:19:05 +0000]
Show dialpad when we're sure it is voicemail request

When the user requests to access voicemail service, most likely
she/he wants to open dialer immediately. This change forces
in-call screen to show dialer when voicemail Uri is specified.

Bug: 2089202
Change-Id: Ic15180ed4bb4e10faca3b40a968b30b76661ebb7

7 years agoIntroduce fallback cache for ringtone/send-to-vm
Daisuke Miyakawa [Tue, 13 Mar 2012 20:37:09 +0000]
Introduce fallback cache for ringtone/send-to-vm

Right now the app just relies on ContactsProvider for custom
ringtone and "send to voicemail" and falls back to system
default when it fails to obtain those info in 500msec, which often
happens when the system is overloaded or database is being synced.

This change introduces fallback cache for the latter case. The
cache is set up on the device boot, and is refreshed periodically.
It is used by CallNotifier only when the first lookup fails.

We do *not* fully rely on the local in-memory cache since it may
be stale at that moment, but we do not rely on ContentObserver
mechanism either to keep the cache super-fresh every time, because
it also will overload ContactsProvider, just for obtaining two tiny
info.

This change also prepares a BroadcastReceiver which is accessible
from Contacts editor screen. See "NEXT TODO" below.

NEXT TODO:
- Should have a mechanism to force update the cache from editor UI.
  Without that the cache is being obsolete for longer time.

TESTED:
- Set custom ringtone and/or send-to-voicemail flag and see the
  behavior.
- Insert intentional delay in async query code, forcing the fallback
  behavior.

Bug: 1735194
Bug: 5568640
Bug: 5718903
Bug: 6020594
Bug: 6078996
Change-Id: Ib9a592e0db69683dc08753e9fd617fe7f89c9e71

7 years agoMerge "Delay releasing UpdateLock when screen is in foreground"
Daisuke Miyakawa [Mon, 19 Mar 2012 23:28:32 +0000]
Merge "Delay releasing UpdateLock when screen is in foreground"

7 years agoDelay releasing UpdateLock when screen is in foreground
Daisuke Miyakawa [Mon, 19 Mar 2012 20:07:34 +0000]
Delay releasing UpdateLock when screen is in foreground

TESTED:
- make a phone call and hang it up
- make a phone call and let the other side hang it up
- make a phone call, receive an OTA, and hang it up
- make a phone call, receive an OTA, and let the other side hang it
  up
- make a phone call, receive an OTA, turn on/off the screen, and
  hang it up
- make a phone call, receive an OTA, turn on/off the screen, and
  let the other side hang it up

Bug: 6190148
Change-Id: Iab44a94d7605b4460e4068a640336bfa73f3af1a

7 years agoUse the latest dialpad pattern in emergency dialer
Daisuke Miyakawa [Sat, 17 Mar 2012 21:26:11 +0000]
Use the latest dialpad pattern in emergency dialer

TESTED:
- use emergency dialer
- use horizontal emergency dialer (using landscape dock)

Bug: 6072348
Change-Id: I1930855c5dcfcea5024b83b2b238bedcb10f9d84

7 years agoCall emergency number just once.
Daisuke Miyakawa [Sat, 17 Mar 2012 16:55:27 +0000]
Call emergency number just once.

Fixes the bug 5757604 : EmergencyDialer can sometimes generate 2
separate CALL_EMERGENCY intents in quick succession

Right now it is handling both ACTION_DOWN and ACTION_UP for
KEYCODE_ENTER. This change will have it use ACTION_UP.

TESTED:
- make an emergency phone call from the dialer w/ w/o landscape dock

Bug: 5757604
Change-Id: Ia0089d37a31a34aaa6f1e205051bb82e3853bd5b

7 years agoFix obvious message leak.
Daisuke Miyakawa [Wed, 14 Mar 2012 23:25:32 +0000]
Fix obvious message leak.

Right now we're not removing the timeout message, so any kind of
outgoing call will reach the timeout. Though we won't show the
spinner thing itself, we emit mysterious log every time.

This change remove the unnecessary message when it becomes unnecessary.
It also delays the message until the broadcast being actually fired,
because the case is the only possible bottle neck in the sequence.
Other cases will be handled in UI thread so we won't show the spinner
anyway.

Change-Id: Ic58928b8cf256d080f2a8d9b3f56fa85a5b9e62d

7 years agoam 460144f4: (-s ours) am 7bf4a5cb: Import translations. DO NOT MERGE
Eric Fischer [Tue, 13 Mar 2012 20:12:37 +0000]
am 460144f4: (-s ours) am 7bf4a5cb: Import translations. DO NOT MERGE

* commit '460144f4d87d2537ccbda922fc4fa21cb797c3a3':
  Import translations. DO NOT MERGE

7 years agoam 7bf4a5cb: Import translations. DO NOT MERGE
Eric Fischer [Tue, 13 Mar 2012 20:09:35 +0000]
am 7bf4a5cb: Import translations. DO NOT MERGE

* commit '7bf4a5cb26943d58530979b3bd4b08d0b37075ed':
  Import translations. DO NOT MERGE

7 years agoMerge "Import translations. DO NOT MERGE"
Eric Fischer [Tue, 13 Mar 2012 20:06:04 +0000]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 13 Mar 2012 20:02:29 +0000]
Import translations. DO NOT MERGE

Change-Id: I7af412353c85a690a6ef5dd1f55ffd0d9f32da38

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 13 Mar 2012 20:01:42 +0000]
Import translations. DO NOT MERGE

Change-Id: Ifb36da0ddae2ef15e3262343b400c7f367f2889e

7 years agoFix typo in javadoc on Fade.hide().
David Brown [Tue, 13 Mar 2012 19:18:06 +0000]
Fix typo in javadoc on Fade.hide().

Change-Id: I5e082155152ac2f88247a4172ff3bc6f5ac07f55

7 years agoMerge "Fix "manage-conference" button layout."
Daisuke Miyakawa [Tue, 13 Mar 2012 18:35:02 +0000]
Merge "Fix "manage-conference" button layout."

7 years agoMerge "Misc cleanup for CallNotifier"
Daisuke Miyakawa [Tue, 13 Mar 2012 15:02:25 +0000]
Merge "Misc cleanup for CallNotifier"

7 years agoMisc cleanup for CallNotifier
Daisuke Miyakawa [Tue, 13 Mar 2012 02:29:29 +0000]
Misc cleanup for CallNotifier

Remove possible warnings.

Change-Id: Id745d9c593c672a2950fb064901f5be9bd4532a4

7 years agoFix "manage-conference" button layout.
Daisuke Miyakawa [Mon, 12 Mar 2012 20:56:38 +0000]
Fix "manage-conference" button layout.

1. Stop using InCallButton and have separate style for extra buttons

InCallButton and other extra buttons have different design now.

2. Stop specifying ImageButton's background

LinearLayout outside the ImageButton already specifies that, and
specifying the same background twice causes strange effect now.

3. set horizontal padding toward LinearLayout for each button,
   not FrameLayou containing them.

This allows wider touch effect reaching to the device edges.

Bug: 6154379
Change-Id: Ibcd845ecbceb730bffcef73cae70f3c941ae93c0

7 years agoam 7638d3dc: (-s ours) am 170e9991: Import translations. DO NOT MERGE
Eric Fischer [Mon, 12 Mar 2012 20:30:55 +0000]
am 7638d3dc: (-s ours) am 170e9991: Import translations. DO NOT MERGE

* commit '7638d3dc00fbf446d43f2af25048744ba5017456':
  Import translations. DO NOT MERGE

7 years agoam 170e9991: Import translations. DO NOT MERGE
Eric Fischer [Mon, 12 Mar 2012 20:22:31 +0000]
am 170e9991: Import translations. DO NOT MERGE

* commit '170e9991b7c059d41b1dda5014c19b0d6180b199':
  Import translations. DO NOT MERGE

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 12 Mar 2012 19:46:00 +0000]
Import translations. DO NOT MERGE

Change-Id: I4719c063396ded8b8aabac7f07fbbfb315bc5e69

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 12 Mar 2012 19:45:17 +0000]
Import translations. DO NOT MERGE

Change-Id: I38224f26c34b0691c4d8225dce9e091681cb92c8

7 years agoSupport Secure Views.
Daisuke Miyakawa [Fri, 9 Mar 2012 16:56:52 +0000]
Support Secure Views.

Bug: 3086876
Change-Id: I719d35c926da805dfbaf3572b3fa634a438a2e42

7 years agoMerge "Keep quick-response popup even after incoming call disconnects"
Daisuke Miyakawa [Thu, 8 Mar 2012 20:00:35 +0000]
Merge "Keep quick-response popup even after incoming call disconnects"

7 years agoam 0ad509f3: (-s ours) am 6367a1c5: Import translations. DO NOT MERGE
Eric Fischer [Thu, 8 Mar 2012 02:15:29 +0000]
am 0ad509f3: (-s ours) am 6367a1c5: Import translations. DO NOT MERGE

* commit '0ad509f301ce459465eeebf5b211a350cd7439f8':
  Import translations. DO NOT MERGE

7 years agoam 1c7855d6: (-s ours) am 8a1cd150: Import translations. DO NOT MERGE
Eric Fischer [Thu, 8 Mar 2012 01:04:56 +0000]
am 1c7855d6: (-s ours) am 8a1cd150: Import translations. DO NOT MERGE

* commit '1c7855d69a24cb1beb547f2136ee95ef14374745':
  Import translations. DO NOT MERGE

7 years agoam 6367a1c5: Import translations. DO NOT MERGE
Eric Fischer [Wed, 7 Mar 2012 23:01:58 +0000]
am 6367a1c5: Import translations. DO NOT MERGE

* commit '6367a1c586ea075deff086e291bba2961652c080':
  Import translations. DO NOT MERGE

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Wed, 7 Mar 2012 20:04:46 +0000]
Import translations. DO NOT MERGE

Change-Id: I3a5b42ad7c942e452d99623672a6c1982a92b4e3

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Wed, 7 Mar 2012 20:04:03 +0000]
Import translations. DO NOT MERGE

Change-Id: I6da0b1de894f1187ce99ae38773fa78f161c13a7

7 years agoMerge "Allow user to bring up DTMF dialpad when tone is not allowed"
Daisuke Miyakawa [Wed, 7 Mar 2012 00:28:38 +0000]
Merge "Allow user to bring up DTMF dialpad when tone is not allowed"

7 years agoKeep quick-response popup even after incoming call disconnects
Daisuke Miyakawa [Tue, 6 Mar 2012 19:49:12 +0000]
Keep quick-response popup even after incoming call disconnects

The dialog dismisses itself when the incoming call disconnects, while the
user may want to keep the dialog open regardless of the current phone
status.

This change allows users to keep seeing the dialog and exits the whole
in-call screen afterward. This means the in-call screen is being shown
even during IDLE state.

- Stop exiting the in-call screen when:
  1. incoming call disconnects, *and*
  2. the user is still seeing "Respond via SMS" dialog.
- Exit the in-call screen after sending sms message when the phone state
  is already IDLE.
  -  If the phone isn't IDLE at that moment, it may mean the other phone
     calls are available.
- Dismiss popup immediately after sending/canceling the sms reply.
  -  Previously onResume() has done the job, which is not intuitive and
     cause possible troubles with this change.
  -  dismiss() request on onResume() is still there, because it is
     originally for preventing buggy states.

TESTED:
- show the dialog and send actual sms response
- show the dialog and cancel it, then answer or reject it
- show the dialog and keep the dialog until the caller hang up the call
-- send the sms -> send sms and close in-call UI
-- close the dialog -> close in-call UI
-- turn off the screen and re-open -> in-call UI should be closed
- show the dialog and turn off the screen before the phone hangs up
- receive a phone call during the other phone call and try sms-response

Bug: 4998653
Change-Id: Ic5136c309ed141d3aa0cac26d46ee755a962775a

7 years agoAllow user to bring up DTMF dialpad when tone is not allowed
Daisuke Miyakawa [Tue, 6 Mar 2012 16:51:30 +0000]
Allow user to bring up DTMF dialpad when tone is not allowed

Telephony doesn't allow users to generate DTMF tone in some cases
(e.g. in DIALING state). Right now, we achieve the behavior by not
allowing dialpad show-up at all.

This change will allow users to open the dialpad while dialpad
won't emit actual tones until it is allowed.

This will be useful if users are sure they need the dialpad during
the call (e.g. voicemail, extension, etc.), and thus they want to
prepare the dialpad beforehand.

TESTED:
- open DTMF dialpad and send DTMF tones (GSM, CDMA)
- open DTMF dialpad and try sending DTMF tones
-- try same thing after the phone is connected
- open DTMF dialpad during CALLING state and keep pressing one of
  they keys. After reaching the destination, release the key.

Bug: 2852919
Change-Id: Ie18f403c18712048625d26c0da488f6aad71153b

7 years agoam 8a1cd150: Import translations. DO NOT MERGE
Eric Fischer [Tue, 6 Mar 2012 19:50:04 +0000]
am 8a1cd150: Import translations. DO NOT MERGE

* commit '8a1cd150f08da4f0a581c268d1b35ded94e6730b':
  Import translations. DO NOT MERGE

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 6 Mar 2012 19:47:38 +0000]
Import translations. DO NOT MERGE

Change-Id: Icf33bee08c819093abc7b9c15cf993086a0f1ec4

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 6 Mar 2012 19:46:39 +0000]
Import translations. DO NOT MERGE

Change-Id: I38c640fb5879240b7816caff6cad0691b54e8d6a

7 years agoMerge "Introduce fade-in/out animation for elapsed time TextView"
Daisuke Miyakawa [Tue, 6 Mar 2012 02:24:57 +0000]
Merge "Introduce fade-in/out animation for elapsed time TextView"

7 years agoMerge "Use UpdateLock"
Daisuke Miyakawa [Tue, 6 Mar 2012 01:04:59 +0000]
Merge "Use UpdateLock"

7 years agoIntroduce fade-in/out animation for elapsed time TextView
Daisuke Miyakawa [Tue, 6 Mar 2012 00:27:48 +0000]
Introduce fade-in/out animation for elapsed time TextView

TESTED:
- Make/receive a phone call.
- Try mute/unmute

Bug: 6119640
Change-Id: I1f33c79e75ebabf579ad5f92300721a7befc148d

7 years agoUse UpdateLock
Daisuke Miyakawa [Mon, 5 Mar 2012 20:42:30 +0000]
Use UpdateLock

The new hidden API will prevent various system-update related things
happening (dialogs popping up and reboots for installing).

This change has Phone app acquire the lock during phone calls,
replacing the same capability existing in different component in the
system.

TESTED:
- Receive an OTA during a phone call.

Bug: 6115765
Change-Id: I6522c463acc43fd7f3e1df763da2b15b2e51a958

7 years agoam b78a314c: (-s ours) am fe110beb: Import translations. DO NOT MERGE
Eric Fischer [Mon, 5 Mar 2012 21:42:53 +0000]
am b78a314c: (-s ours) am fe110beb: Import translations. DO NOT MERGE

* commit 'b78a314cdde7de983ce7a8e9e0c29b8553a92d51':
  Import translations. DO NOT MERGE

7 years agoam fe110beb: Import translations. DO NOT MERGE
Eric Fischer [Mon, 5 Mar 2012 21:39:40 +0000]
am fe110beb: Import translations. DO NOT MERGE

* commit 'fe110beb2cd7f8f2a166f71bb54ca9c174f6d6e5':
  Import translations. DO NOT MERGE

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 5 Mar 2012 21:12:49 +0000]
Import translations. DO NOT MERGE

Change-Id: Ib453e5e399e628e351b875ff2216691d7d7ad2c2

7 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 5 Mar 2012 21:11:57 +0000]
Import translations. DO NOT MERGE

Change-Id: Ifde6f3e5da33322fd70b17d9207136a1a94fa9cf

7 years agoMerge "Introduce better animation for incoming-call widget"
Daisuke Miyakawa [Fri, 2 Mar 2012 15:13:02 +0000]
Merge "Introduce better animation for incoming-call widget"

7 years agoRemove unused dimen values related to inset photos
Daisuke Miyakawa [Fri, 2 Mar 2012 03:38:00 +0000]
Remove unused dimen values related to inset photos

Change-Id: Id6af90c7b07341f0b418d58720205c31bc1bb879

7 years agoIntroduce better animation for incoming-call widget
Daisuke Miyakawa [Thu, 1 Mar 2012 22:56:24 +0000]
Introduce better animation for incoming-call widget

- Place incoming-call widget before in-call controls.
  After a4fc0c71, we show both during incoming-call widget is
  fading out. In that case, the order becomes important; we need
  to show buttons beneath the fading widget. Views are drawn in
  order in each layout.
- Use Animator instead of Animation.
  We cannot use AnimationUtils.Fade for this case because we need
  to override listener. Because of that we also need to introduce
  mIncomingCallWidgetIsFadingOut boolean flag.

Bug: 6096473
Change-Id: I08ff9084db14256879a3ec706dcc3a4febbdcb84

7 years agoMerge "Have vertical separators between bottom buttons."
Daisuke Miyakawa [Thu, 1 Mar 2012 22:52:01 +0000]
Merge "Have vertical separators between bottom buttons."

7 years agoHave vertical separators between bottom buttons.
Daisuke Miyakawa [Tue, 28 Feb 2012 23:19:01 +0000]
Have vertical separators between bottom buttons.

Instead of having fixed width for each button, now we just make them
as wide as possible. This will allow buttons to expand more in 4 button
case.

Bug: 5117705
Change-Id: I7e61ff6f693a14a08a96adf2ac9825a45f6496ff

7 years agoMerge "Introduce AnimationUtils"
Daisuke Miyakawa [Thu, 1 Mar 2012 22:25:52 +0000]
Merge "Introduce AnimationUtils"

7 years agoIntroduce AnimationUtils
Daisuke Miyakawa [Thu, 1 Mar 2012 02:42:10 +0000]
Introduce AnimationUtils

- move CallCard.Fade to the new class
- have startCrossFade() method for ImageView

Bug: 6077015
Change-Id: I8a3999e35fd37f98c8bff553cc1442a7ba4e4647

7 years agoMerge "Avoid switch to landscape mode when initiating outbound call."
Josh Gargus [Thu, 1 Mar 2012 01:19:41 +0000]
Merge "Avoid switch to landscape mode when initiating outbound call."

7 years agoStub out extrabutton row. do not submit
Daisuke Miyakawa [Wed, 29 Feb 2012 18:17:35 +0000]
Stub out extrabutton row. do not submit

This change stop inflating 7 Views, so will improve CPU/memory usage,
a bit.

TESTED:
- usual phone calls
- conference calls (GSM)
- multiple calls (CDMA)

Bug: 1271870
Bug: 6005703
Change-Id: Ic4b27b13bca244f25a89c932561bc7771a58027e

8 years agoMerge "Sort out CallCard layout."
Daisuke Miyakawa [Wed, 29 Feb 2012 00:49:22 +0000]
Merge "Sort out CallCard layout."

8 years agoMerge "Stop using LinearLayout outside "end call" button"
Daisuke Miyakawa [Wed, 29 Feb 2012 00:00:38 +0000]
Merge "Stop using LinearLayout outside "end call" button"

8 years agoMerge "Fix regression: BluetoothHeadsetService must be exported."
Nick Pelly [Tue, 28 Feb 2012 23:38:18 +0000]
Merge "Fix regression: BluetoothHeadsetService must be exported."

8 years agoFix regression: BluetoothHeadsetService must be exported.
Nick Pelly [Tue, 28 Feb 2012 23:28:50 +0000]
Fix regression: BluetoothHeadsetService must be exported.

Change-Id: I692e1002ad3a8f3818829c0a47d3dec6b8d86d51

8 years agoam 433786d7: am 123f2afb: am ea937df6: Merge "Phone: Display Short Name/MCCMNC if...
Jean-Baptiste Queru [Tue, 28 Feb 2012 23:19:17 +0000]
am 433786d7: am 123f2afb: am ea937df6: Merge "Phone: Display Short Name/MCCMNC if Long Name is empty in manual search."

* commit '433786d78c7929feda776cb26a5f5078c56744c0':
  Phone: Display Short Name/MCCMNC if Long Name is empty in manual search.

8 years agoam 123f2afb: am ea937df6: Merge "Phone: Display Short Name/MCCMNC if Long Name is...
Jean-Baptiste Queru [Tue, 28 Feb 2012 23:16:21 +0000]
am 123f2afb: am ea937df6: Merge "Phone: Display Short Name/MCCMNC if Long Name is empty in manual search."

* commit '123f2afbe2542b203e2f43108ff1d21c05da27f0':
  Phone: Display Short Name/MCCMNC if Long Name is empty in manual search.

8 years agoam ea937df6: Merge "Phone: Display Short Name/MCCMNC if Long Name is empty in manual...
Jean-Baptiste Queru [Tue, 28 Feb 2012 23:04:27 +0000]
am ea937df6: Merge "Phone: Display Short Name/MCCMNC if Long Name is empty in manual search."

* commit 'ea937df6675df4be9dcf504a7672cad74e8bc10a':
  Phone: Display Short Name/MCCMNC if Long Name is empty in manual search.

8 years agoStop using LinearLayout outside "end call" button
Daisuke Miyakawa [Tue, 28 Feb 2012 22:50:50 +0000]
Stop using LinearLayout outside "end call" button

Do exactly samething with a single drawable.

Bug: 1271870
Bug: 6005703
Change-Id: I9d039eb785bff94c46908aa58e05c99eb717f4ee

8 years agoSort out CallCard layout.
Daisuke Miyakawa [Tue, 28 Feb 2012 21:50:55 +0000]
Sort out CallCard layout.

Primary call info (a.k.a "call card #1") is large enough to have
its own layout file.

- rename call_card_1 to primary_call_card and call_card_2 to
  secondary_call_card, which is more consistent with java codes.
- Have two another layouts for primary/secondary call info
- Stop using two RelativeLayouts for secondary call info
- Stub out secondary call info, which won't be used in usual cases
- have one dimen value per TODO in call_card.xml

Bug: 1271870
Bug: 6005703
Change-Id: Ifba10891da081f20c9833e92f99fdeb88c1fc2cf

8 years agoMerge "Phone: Display Short Name/MCCMNC if Long Name is empty in manual search."
Jean-Baptiste Queru [Tue, 28 Feb 2012 22:45:30 +0000]
Merge "Phone: Display Short Name/MCCMNC if Long Name is empty in manual search."

8 years agoMerge "Remove InCallContactPhoto.java"
Daisuke Miyakawa [Tue, 28 Feb 2012 21:41:08 +0000]
Merge "Remove InCallContactPhoto.java"

8 years agoMerge "Comment out widgets around social update"
Daisuke Miyakawa [Tue, 28 Feb 2012 21:36:58 +0000]
Merge "Comment out widgets around social update"

8 years agoRemove InCallContactPhoto.java
Daisuke Miyakawa [Tue, 28 Feb 2012 20:42:51 +0000]
Remove InCallContactPhoto.java

We won't rely on inset photos anymore.

Bug: 1271870
Bug: 6005703
Change-Id: I84d5457e939249e05df080a572c33ef7a5e71c17

8 years agoComment out widgets around social update
Daisuke Miyakawa [Tue, 28 Feb 2012 20:37:12 +0000]
Comment out widgets around social update

It isn't used right now.

Bug: 1271870
Bug: 6005703
Change-Id: I7305059dd0b3914f2b08ad21ff203c7d84fdb5f0

8 years agoStop inflating DTMF dialpad when not needed
Daisuke Miyakawa [Tue, 28 Feb 2012 18:36:50 +0000]
Stop inflating DTMF dialpad when not needed

This will suppress inflating ~10 views in usual cases and reduce
~500KB memory usage for usual cases (without dialpad) on soju.

- Make DTMFTwelveKeyDialer accepts ViewStub
- Still keep the existing constructor for OTA

TESTED:
- make a phane call
- receive a phone call
- open/hide the dialpad during phone calls
- go through OTA screen

Bug: 1271870
Bug: 6005703
Change-Id: I96ad8ca39c9e5bbdbaa945716cdc3dc9f0335d73

8 years agoMerge "Remove a bunch of unnecessary resources."
Daisuke Miyakawa [Tue, 28 Feb 2012 17:59:03 +0000]
Merge "Remove a bunch of unnecessary resources."

8 years agoAvoid switch to landscape mode when initiating outbound call.
Josh Gargus [Tue, 28 Feb 2012 01:52:33 +0000]
Avoid switch to landscape mode when initiating outbound call.

When holding your phone in landscape mode, both Dialtacts and the
in-call UI remain in portrait mode.  However, there are two activities
that occur before the in-call UI is entered (OutgoingCallBroadcaster
and SipCallOptionHandler).  These were allowing the screen orientation
to briefly switch to landscape, causing an ugly jank before switching
back to portrait mode for the in-call UI.

Fix this by forcing both activities to remain in portrait mode.

Bug: 6042351
Change-Id: I867fb314820a7419bab781936be4dbc0ded00d7a

8 years agoPrevent incoming-call widget from hiding itself.
Daisuke Miyakawa [Mon, 27 Feb 2012 22:08:14 +0000]
Prevent incoming-call widget from hiding itself.

Bug: 5810703
Change-Id: I6f50baa5cad4913ddd30146070f8af74f6733455

8 years agoam 50949ac5: (-s ours) am 3e86f891: Import translations. DO NOT MERGE
Eric Fischer [Mon, 27 Feb 2012 21:53:21 +0000]
am 50949ac5: (-s ours) am 3e86f891: Import translations. DO NOT MERGE

* commit '50949ac52d2e4a204591d0c752184468cd314a7f':
  Import translations. DO NOT MERGE

8 years agoam 3e86f891: Import translations. DO NOT MERGE
Eric Fischer [Mon, 27 Feb 2012 21:51:53 +0000]
am 3e86f891: Import translations. DO NOT MERGE

* commit '3e86f891c84f7b2b62e3b99e44fdb88499d02c1e':
  Import translations. DO NOT MERGE

8 years agoRemove unnecessary View objects from in-call screen
Daisuke Miyakawa [Fri, 24 Feb 2012 22:18:25 +0000]
Remove unnecessary View objects from in-call screen

- Remove an apparently redundant RelativeLayout.
- Make CallCard itself a LinearLayout, instead of making it
  FrameLayout containing one LinearLayout.
- Make similar hack to InCallTocuhUi. This time instead of just
  using RelativeLayout it holds, we use FrameLayout because it can
  do same functionality with less layouting cost.

TESTED:
- make a phone call
- receive a phone call
- do multiple calls at once (with GSM, CDMA)
- try a conference call

Bug: 1271870
Change-Id: I71b66dbdbcc70be0b4dfbd3d3f0cf6d122c85847

8 years agoMerge "Fix misc lint warnings."
Daisuke Miyakawa [Mon, 27 Feb 2012 21:44:55 +0000]
Merge "Fix misc lint warnings."

8 years agoMerge "Sort out OutgoingCallBroadcaster, again."
Daisuke Miyakawa [Mon, 27 Feb 2012 21:31:07 +0000]
Merge "Sort out OutgoingCallBroadcaster, again."

8 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 27 Feb 2012 21:28:36 +0000]
Import translations. DO NOT MERGE

Change-Id: I102148c876466ac834e076c9acf75b63c38b385c

8 years agoMerge "Introduce fade-in animation for contact photo."
Daisuke Miyakawa [Mon, 27 Feb 2012 21:27:07 +0000]
Merge "Introduce fade-in animation for contact photo."

8 years agoIntroduce fade-in animation for contact photo.
Daisuke Miyakawa [Tue, 21 Feb 2012 23:23:53 +0000]
Introduce fade-in animation for contact photo.

TESTED:
- make a phone call with a contact which has a photo
- make a phone call with a contact which doesn't have a photo
- make multiple phone calls
- insert arbitrary delay into ContactAsyncHelper and emulate
  slow database case. Try the sequence above

Bug: 5236130
Change-Id: Ie3499e06b4f298689adbe835991f7132d45a4881

8 years agoMerge "Make provider info all capitalized."
Daisuke Miyakawa [Mon, 27 Feb 2012 19:24:18 +0000]
Merge "Make provider info all capitalized."

8 years agoMake provider info all capitalized.
Daisuke Miyakawa [Mon, 27 Feb 2012 19:13:22 +0000]
Make provider info all capitalized.

Bug: 6021709
Change-Id: Ia8c2f5106caf057002aad58c8198fd16f050c631

8 years agoMerge "Add verbose logging for button state"
Daisuke Miyakawa [Mon, 27 Feb 2012 16:24:54 +0000]
Merge "Add verbose logging for button state"

8 years agoMerge "Add verbose logging for IncomingCallWidget"
Daisuke Miyakawa [Mon, 27 Feb 2012 16:10:23 +0000]
Merge "Add verbose logging for IncomingCallWidget"