8 years agoIntroduce vibration options for voicemail notification
Daisuke Miyakawa [Thu, 16 Feb 2012 21:24:21 +0000]
Introduce vibration options for voicemail notification

Bug: 6014374
Change-Id: I1e0dff2e958b804e140b2d0d1d286f3392efecd1

8 years agoDisable horizontal detection during phone call
Daisuke Miyakawa [Tue, 14 Feb 2012 16:20:29 +0000]
Disable horizontal detection during phone call

Aggressive horizontal orientation ignoring of prox should only be when
outside of the phone call. There is no UI at the top of the screen in
the call except notifications.

Bug: 6006756
Change-Id: Idc615ebcfa96ed59a71c2fb1e67e9a905e1cc2c8

8 years agoCorrectly hide in-call panel when dialpad is shown
Daisuke Miyakawa [Thu, 19 Jan 2012 00:57:50 +0000]
Correctly hide in-call panel when dialpad is shown

Cherry pick of Ia673f7c08abfdf240c792ce6a457c743f0db0b8e

Fixing issue 5497680 Device shows background Incall screen for
fraction of sec in DTMF call pad screen, if power button is turned
ON.

We're calling setInCallScreenMode(NORMAL) from onResume(), which
should take care of dialpad status correctly.

Bug: 5497680
Change-Id: Ib8346cfd5b1c98190d66603b24ceddf234754496

8 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 9 Feb 2012 02:31:29 +0000]
Import translations. DO NOT MERGE

Change-Id: I6b1b7ed4c2d2263c6c4dbc4485d96b094915ae78

8 years agoAllow only NT_MODE_GSM_ONLY or NT_MODE_WCDMA_PREF
Wink Saville [Fri, 16 Dec 2011 05:26:35 +0000]
Allow only NT_MODE_GSM_ONLY or NT_MODE_WCDMA_PREF

Bug: 5771503
Change-Id: Ic69440d6dd32358182a5658039c702649ae60315

8 years agoSave network mode on GSM devices.
Wink Saville [Thu, 15 Dec 2011 01:41:01 +0000]
Save network mode on GSM devices.

We save the mode in OnClick and handleGetPreferredNetworkTypeResponse
so the preferred network mode tracks the UI as best as possible.

On GSM devices when "Use only 2G networks" was
checed in Settings > More > Mobile Networks the
value wasn't saved. Thus when rebooting the mode
would revert to the previous value.

Looking at the history, it has been this way a
long time, but it must have worked because the
radio preserved the value, returning when the
current PREFERRED_NETWORK_TYPE was requested.

With ICS Samsung upgraded the Crespo radio and the value
doesn't always appear to be preserved. In any case
its better for the framework to preserve the value
rather than relying on actions of the many radio
implementations.

Bug: 5764203
Change-Id: I9ed5db4e5c2db01cdd54bc1cc36395326b209fe3

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 8 Dec 2011 18:35:55 +0000]
Import revised translations. DO NOT MERGE

Change-Id: I7db21800ead31d877b3a850be907e5acd492b311

8 years agoReconcile with ics-mr0-release
The Android Open Source Project [Wed, 7 Dec 2011 15:25:11 +0000]
Reconcile with ics-mr0-release

Change-Id: I7f4258e1058b3296ce442048394eb545f02eff8f

8 years agoam 96a172bd: DO NOT MERGE: Cherrypick I90d95644: Fix bogus "data disconnected due...
David Brown [Wed, 7 Dec 2011 00:21:55 +0000]
am 96a172bd: DO NOT MERGE: Cherrypick I90d95644: Fix bogus "data disconnected due to roaming" notification

* commit '96a172bd077f08da5af3ccd305391a29c46d6b6d':
  DO NOT MERGE: Cherrypick I90d95644: Fix bogus "data disconnected due to roaming" notification

8 years agoDO NOT MERGE: Cherrypick I90d95644: Fix bogus "data disconnected due to roaming"...
David Brown [Fri, 2 Dec 2011 00:50:00 +0000]
DO NOT MERGE: Cherrypick I90d95644: Fix bogus "data disconnected due to roaming" notification

Cherry-pick change I90d95644
<https://android-git.corp.google.com/g/153144> into ics-mr0.

(Ed and Justin have already cherry-picked this change directly into
ics-mr0-release, so here's the same change for ics-mr0 to keep it in
sync.)

Bug: 5632572
Change-Id: I31418d851907a752505d8ed0babf5712d16beabc

8 years agoFix bogus "data disconnected due to roaming" notification
David Brown [Fri, 2 Dec 2011 00:50:00 +0000]
Fix bogus "data disconnected due to roaming" notification

Due to a subtle change in the ACTION_ANY_DATA_CONNECTION_STATE_CHANGED
broadcast (see bug 5632572) the notification saying "You have lost data
connectivity because you left your home network with data roaming turned
off" could sometimes appear even when data roaming was actually on :-(

The fix: in addition to checking for state=DISCONNECTED and
reason=REASON_ROAMING_ON, we now also explicitly check that data roaming
is disabled before showing the notification.

Bug: 5632572
Change-Id: I90d9564418838178d54842c9c9e526e2d6e89133

8 years agoFix bogus "data disconnected due to roaming" notification
David Brown [Fri, 2 Dec 2011 00:50:00 +0000]
Fix bogus "data disconnected due to roaming" notification

Due to a subtle change in the ACTION_ANY_DATA_CONNECTION_STATE_CHANGED
broadcast (see bug 5632572) the notification saying "You have lost data
connectivity because you left your home network with data roaming turned
off" could sometimes appear even when data roaming was actually on :-(

The fix: in addition to checking for state=DISCONNECTED and
reason=REASON_ROAMING_ON, we now also explicitly check that data roaming
is disabled before showing the notification.

Bug: 5632572
Change-Id: I90d9564418838178d54842c9c9e526e2d6e89133

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 29 Nov 2011 21:18:35 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: Ia20e4b7c2533e0a78e07d009054a1724e5a73cfe

8 years agoMake sure isOtaCallCommitted flag is updated
Meng Hu [Fri, 18 Nov 2011 22:45:18 +0000]
Make sure isOtaCallCommitted flag is updated

Always update isOtaCallCommitted flag on receiving CDMA_OTA_PROVISION_STATUS_COMMITTED.
Tablet devices don't use onscreen OTASP UI, so not updating the flag when
mApplication.cdmaOtaScreenState.otaScreenState is OTA_STATUS_UNDEFINED causes some issue.

Change-Id: I975d079f080521d8f1d3fd7812fd4ffb2c985a67

8 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr1
Eric Fischer [Mon, 21 Nov 2011 23:24:36 +0000]
Merge "Import revised translations. DO NOT MERGE" into ics-mr1

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 21 Nov 2011 23:01:58 +0000]
Import revised translations. DO NOT MERGE

Change-Id: I268f240c426d70a59ed2244e6629d851c4bfc8b2

8 years agoMerge "Decrease the scope of BluetoothHandsfree lock in message handler" into ics-mr1
Matthew Xie [Mon, 21 Nov 2011 20:33:49 +0000]
Merge "Decrease the scope of BluetoothHandsfree lock in message handler" into ics-mr1

8 years agoDecrease the scope of BluetoothHandsfree lock in message handler
Matthew Xie [Sat, 19 Nov 2011 00:27:23 +0000]
Decrease the scope of BluetoothHandsfree lock in message handler

The whole message handler of BluetoothHandsfree was locked on
BluetoothHandsfree. It locked many message cases unnecessarily.
This fix uses the lock case by case. 4 messages are freed from
the lock
bug 5639266

Change-Id: Ic86ff79f5b80a8f3b2cfa6289064943773f86f17

8 years agoMerge "Use ConcurrentHashMap to get rid of some locks on BluetoothHeadsetService...
Matthew Xie [Fri, 18 Nov 2011 17:58:40 +0000]
Merge "Use ConcurrentHashMap to get rid of some locks on BluetoothHeadsetService" into ics-mr1

8 years agoUse ConcurrentHashMap to get rid of some locks on BluetoothHeadsetService
Matthew Xie [Thu, 17 Nov 2011 22:10:39 +0000]
Use ConcurrentHashMap to get rid of some locks on BluetoothHeadsetService

Change mRemoteHeadsets type from HashMap to ConcurrentHashMap. Get rid
of BluetoothHeadsetService locks that was for setting and getting mAudioState
bug 5596110

Change-Id: I6a6558fd59a1131917af0d1928edfd0371154271

8 years agoUpdate SIP icon to match new Phone icon
Justin Ho [Thu, 17 Nov 2011 17:23:00 +0000]
Update SIP icon to match new Phone icon
Bug: 5615815

Change-Id: I5e49fc2ad0cb2484fffc28cc6add6302265daa78

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 16 Nov 2011 18:29:01 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: Idedb96fc912e06ec4c9b47de1bf5a523d9ec8039

8 years agoam 8f50bdd0: Import revised translations. DO NOT MERGE
Eric Fischer [Tue, 15 Nov 2011 23:00:18 +0000]
am 8f50bdd0: Import revised translations. DO NOT MERGE

* commit '8f50bdd0dd2cfa20baeeb49c6e5f22d6f0790f5f':
  Import revised translations. DO NOT MERGE

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 14 Nov 2011 21:33:47 +0000]
Import revised translations. DO NOT MERGE

Change-Id: I0627fb2e209d0838e050654325dfd3054ff59900

8 years agoMerge "Call notifyIncomingConnection with second parameter to notify rejection status...
Matthew Xie [Fri, 11 Nov 2011 20:16:50 +0000]
Merge "Call notifyIncomingConnection with second parameter to notify rejection status" into ics-mr1

8 years agoFix potential crash when launching OTASP in response to BOOT_COMPLETED
David Brown [Fri, 11 Nov 2011 00:50:55 +0000]
Fix potential crash when launching OTASP in response to BOOT_COMPLETED

When calling OtaUtils.maybeDoOtaCall() from the BOOT_COMPLETED receiver in
OtaStartupReceiver.java, we're running in the PhoneApp's context, not an
Activity context.  So if we do actually need to launch an OTASP call(*), the
FLAG_ACTIVITY_NEW_TASK flag is required.

(*) This issue first came up in the context of bug 5528222, although the
    real problem in *that* bug was that we shouldn't have been launching
    old-style OTASP at all on LTE devices.  But the fix here is still
    needed, for CDMA devices that do still use old-style OTASP.

TESTED:

(1) On Prime-C, temporarily hacked OtaUtils.maybeDoOtaCall() to force an
    old-style OTASP call upon boot.
    ==> Before this change: the startActivity() call crashes (as reported in
        bug 5528222)
    ==> After this change: old-style activation UI comes up correctly, and
        OTASP call starts when you press "Activate".

(2) Also confirmed that I didn't break the PERFORM_CDMA_PROVISIONING intent,
    by running
        adb shell am start -a com.android.phone.PERFORM_CDMA_PROVISIONING
    (which is the only other way to launch the old-style OTASP sequence.)
    That works fine both with and without this change.

Bug: 5528222
Change-Id: I89055c7b40a3e261aff3657a8ec052477462171e

8 years agoCall notifyIncomingConnection with second parameter to notify rejection status
Matthew Xie [Thu, 10 Nov 2011 07:58:24 +0000]
Call notifyIncomingConnection with second parameter to notify rejection status

BluetoothService notifyIncomingConnection method added second parameter.
Make the change here accordingly.
bug 5091838

Change-Id: Ie866278977d47094751c3bcda893f5ab3d2ac247

8 years agoam a693da4c: (-s ours) Merge "Import revised translations. DO NOT MERGE" into ics-mr0
Eric Fischer [Wed, 9 Nov 2011 23:18:04 +0000]
am a693da4c: (-s ours) Merge "Import revised translations.  DO NOT MERGE" into ics-mr0

* commit 'a693da4c4fa874d87268d15f435e456860ab91b5':
  Import revised translations.  DO NOT MERGE

8 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr0
Eric Fischer [Wed, 9 Nov 2011 23:14:58 +0000]
Merge "Import revised translations.  DO NOT MERGE" into ics-mr0

8 years agoam a42348fc: Use isPotentialLocalEmergencyNumber() to enforce ACTION_CALL restriction
David Brown [Wed, 9 Nov 2011 16:41:21 +0000]
am a42348fc: Use isPotentialLocalEmergencyNumber() to enforce ACTION_CALL restriction

* commit 'a42348fcc3a76ab0db9b710ee40042a73a0b9dac':
  Use isPotentialLocalEmergencyNumber() to enforce ACTION_CALL restriction

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 9 Nov 2011 01:41:51 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: I9ff52286559cd36c81c1676f5fdb9a08e50297e4

8 years agoMerge "Handle EXTRA_DOCK_STATE_LE_DESK and HE_DESK. Bug: 5569662" into ics-mr1
Jeff Brown [Wed, 9 Nov 2011 01:21:59 +0000]
Merge "Handle EXTRA_DOCK_STATE_LE_DESK and HE_DESK. Bug: 5569662" into ics-mr1

8 years agoUse isPotentialLocalEmergencyNumber() to enforce ACTION_CALL restriction
David Brown [Mon, 7 Nov 2011 22:22:24 +0000]
Use isPotentialLocalEmergencyNumber() to enforce ACTION_CALL restriction

The framework PhoneNumberUtils class now provides a way to distinguish
between (a) numbers that are definitely emergency numbers, and (b) numbers
that *might* result in an emergency call being dialed, but aren't
specifically emergency numbers themselves.

Given that, we now use the new isPotentialLocalEmergencyNumber() API when
enforcing the restriction that 3rd party apps should not be allowed to
make emergency calls using the ACTION_CALL intent.  (This ensures that 3rd
party apps can't make emergency calls by passing in an "invalid" number
like "9111234" that isn't technically an emergency number but might still
result in an emergency call with some networks.)

Everywhere else in the app, though, we still use the original
isLocalEmergencyNumber() API, which now returns true only if the specified
number *exactly* matches a known emergency number.  This ensures that the
in-call UI will only display the "emergency call" state for numbers that are
*definitely* emergency numbers.  (See bug 5493790 for the full details.)

TESTED (on Prime-C):

- Call regular non-emergency numbers from the built-in dialer
  ==> calls succeed with no emergency-call specific behavior

- Call "911" from the built-in dialer
  ==> Call to 911 succeeds
  ==> In-call UI shows the "emergency call" state
  ==> We correctly disable "mute"
  ==> We correctly enter ECM

- Call "9111234567" from the built-in dialer
  ==> We allow the call to be placed
  ==> The call does not actually go through; you just hear a recorded
      message from Verizon saying "the call could not be completed"
      (although this behavior might be different on other networks)
  ==> The in-call UI does NOT show the "emergency call" state
  ==> We do not disable "mute"
  ==> We do not enter ECM

- use CallDialTest activity to fire off various ACTION_CALL intents
  (as if launched from a 3rd party app):
    "911"  ==> doesn't allow the call to be placed (brings up dialer instead)
    "9111234"  ==> doesn't allow the call to be placed (brings up dialer instead)
    "6502530000"  ==> call succeeds

Note: This change depends on
  Change-Id: Ic528cfcc555734cdaf4ca8a18a50199771ba49b1
in frameworks/base (which must be submitted first.)

Bug: 5493790
Change-Id: Ib949fea3c0ce6b341a90e617a03ba3f22c69018b

8 years agoDon't do OTA activation until the net is ready.
Meng Hu [Fri, 23 Sep 2011 19:36:36 +0000]
Don't do OTA activation until the net is ready.

Occasionally OTA activation starts before the network is available.
A dialog pops up showing "Mobile network is not available". Now delay
starting the OTA activation until the network is available.

bug:5584633
Change-Id: I6e651eebfe58188fb085acf2905287cbd16a02d9

8 years agoHandle EXTRA_DOCK_STATE_LE_DESK and HE_DESK.
Jeff Brown [Tue, 8 Nov 2011 22:06:16 +0000]
Handle EXTRA_DOCK_STATE_LE_DESK and HE_DESK.
Bug: 5569662

Change-Id: I52df009db345b9a25c0625e2775f9e1b2eed09f3

8 years agoMerge "Only update OTA progress if OTA call in valid state." into ics-mr1
Robert Greenwalt [Tue, 8 Nov 2011 21:51:14 +0000]
Merge "Only update OTA progress if OTA call in valid state." into ics-mr1

8 years agoMerge "Allocate its own looper thead for BluetoothHandfree handler" into ics-mr1
Matthew Xie [Tue, 8 Nov 2011 20:26:13 +0000]
Merge "Allocate its own looper thead for BluetoothHandfree handler" into ics-mr1

8 years agoOnly update OTA progress if OTA call in valid state.
Meng Hu [Fri, 23 Sep 2011 18:09:38 +0000]
Only update OTA progress if OTA call in valid state.

1. Sometimes an OTA status event is received after user clicks BACK
button to end the OTA activation. The "Try Again" screen displays
briefly, then the "Programming In Progress" screen shows up upon
receiving the OTA status event, and it will never go away because
the OTA call has already ended.
To correct this, we only update OTA progress when the OTA call is
in normal state.

2. After activation, if the user goes on to do a different OTA call,
e.g. PRL update, "Phone is activated" screen shows up after PRL update
succeeds. After receiving CDMA_OTA_PROVISION_STATUS_COMMITTED, we
check otaScreenState before showing success screen.

bug:5584633
Change-Id: Ibcaceb958483a8e7a50e9c41442e023974958bbb

8 years agoadd check for LTE state to maybeDoOtaCall()
Freeman Ng [Sat, 5 Nov 2011 00:58:07 +0000]
add check for LTE state to maybeDoOtaCall()

whether a device is LTE affects which activation activity is launched

also renamed the unrelated static variable mIsWizardMode to sIsWizardMode
in order to have it correctly follow variable naming conventions

bug: 5528222 Unable to start receiver com.android.phone.OtaStartupReceiver after shell stop/start
Change-Id: I29e9b3f1cbee6be808259cb8be7f8d904b005a0d

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 7 Nov 2011 20:27:31 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: I097a55f96081637e1f816a29d6bea93c30f41f53

8 years agoAllocate its own looper thead for BluetoothHandfree handler
Matthew Xie [Thu, 3 Nov 2011 18:54:26 +0000]
Allocate its own looper thead for BluetoothHandfree handler

Move handling of signal strength and battery change messages to
BluetoothHandsfree handler which has its own looper now
bug 5535641

Change-Id: I4075b29b5deefc7994712eb96ed11fd3e31d6091

8 years agoam c4a67874: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 3 Nov 2011 00:04:22 +0000]
am c4a67874: (-s ours) Import revised translations.  DO NOT MERGE

* commit 'c4a67874bd457bafe744adc596deeb62e70454ec':
  Import revised translations.  DO NOT MERGE

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 2 Nov 2011 22:18:52 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: Ib8944fb6e408678736b1d4e42796dd15cb924cdf

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 1 Nov 2011 20:37:22 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: I02f09fcde6b5ff74d3f6b91304b62bf11987a647

8 years agoam 7d6fdd5f: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Sat, 29 Oct 2011 03:15:31 +0000]
am 7d6fdd5f: (-s ours) Import revised translations.  DO NOT MERGE

* commit '7d6fdd5ff6e53d80b7372579772a457423561fc4':
  Import revised translations.  DO NOT MERGE

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Sat, 29 Oct 2011 00:06:26 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: Ib6b7b349c53d00acd92807748815bbcc28bafeed

8 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr1
Eric Fischer [Fri, 28 Oct 2011 21:01:31 +0000]
Merge "Import revised translations.  DO NOT MERGE" into ics-mr1

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 28 Oct 2011 20:54:10 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: I1d1f4cbc14e1985c0c6220c7edceaf642f5f3e69

8 years agoam 36d53949: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 27 Oct 2011 21:46:46 +0000]
am 36d53949: (-s ours) Import revised translations.  DO NOT MERGE

* commit '36d539497a5aec3e8f7a2a5ee5a0a9eeb8f848fd':
  Import revised translations.  DO NOT MERGE

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 27 Oct 2011 16:53:00 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: Ia4d97d7828047ba8d2fee0e4334351c9b9701229

8 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr1
Eric Fischer [Thu, 27 Oct 2011 16:45:51 +0000]
Merge "Import revised translations.  DO NOT MERGE" into ics-mr1

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 27 Oct 2011 00:40:46 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: Idc254990949a37b503116342c87b5d2517e23b7b

8 years agoam ae295fe3: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Wed, 26 Oct 2011 21:08:52 +0000]
am ae295fe3: (-s ours) Import revised translations.  DO NOT MERGE

* commit 'ae295fe33bb3fc4bbe147c215faf5e2d6075100e':
  Import revised translations.  DO NOT MERGE

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 26 Oct 2011 18:09:19 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: I5bc0fee71579d85b2b01dc9c12b9a4d59e941906

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 26 Oct 2011 17:24:00 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: I09e9f8bf89fefe5bc53f00aa52d533d1a6478161

8 years agoMerge remote branch 'goog/ics-mr0' into ics-mr1
Ed Heyl [Tue, 25 Oct 2011 19:50:40 +0000]
Merge remote branch 'goog/ics-mr0' into ics-mr1

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 25 Oct 2011 00:09:36 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: I34b7ecea1b919eface5961477727b55b21cff90b

8 years agoMerge "Show add/remove Sip account button as menu"
Daisuke Miyakawa [Sat, 22 Oct 2011 00:40:44 +0000]
Merge "Show add/remove Sip account button as menu"

8 years agoam 68d8c94f: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Fri, 21 Oct 2011 23:02:28 +0000]
am 68d8c94f: (-s ours) Import revised translations.  DO NOT MERGE

* commit '68d8c94fe2ac58804d74ffeea3d542504010a583':
  Import revised translations.  DO NOT MERGE

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 21 Oct 2011 21:41:35 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: I7b981f22bee6076c2afd0ce3c5652d71e7d5dd32

8 years agoam db40e8c9: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Fri, 21 Oct 2011 19:00:59 +0000]
am db40e8c9: (-s ours) Import revised translations.  DO NOT MERGE

* commit 'db40e8c9f1669543aba303758fbe23b3530d671a':
  Import revised translations.  DO NOT MERGE

8 years agoShow add/remove Sip account button as menu
Daisuke Miyakawa [Fri, 21 Oct 2011 02:01:14 +0000]
Show add/remove Sip account button as menu

Bug: 5428487
Change-Id: Id706e20ee1a806cb40d2d1413e5c08e90f3414ae

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 21 Oct 2011 01:04:22 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: Ia1bd5465e109c0cb7ca40473582ba30252b3d5ab

8 years agoam 767c1f5a: (-s ours) Merge "Import revised translations. DO NOT MERGE" into ics-mr0
Eric Fischer [Thu, 20 Oct 2011 18:32:05 +0000]
am 767c1f5a: (-s ours) Merge "Import revised translations.  DO NOT MERGE" into ics-mr0

* commit '767c1f5ab1b5d6a11a2008cac7ec9b4b0de8f9a0':
  Import revised translations.  DO NOT MERGE

8 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr0
Eric Fischer [Thu, 20 Oct 2011 18:29:16 +0000]
Merge "Import revised translations.  DO NOT MERGE" into ics-mr0

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 20 Oct 2011 18:14:32 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: I302e9da1681aa851ca6e66b2839f382c47651f45

8 years agoFix the "Exiting Emergency Callback Mode" dialog
David Brown [Thu, 20 Oct 2011 03:46:56 +0000]
Fix the "Exiting Emergency Callback Mode" dialog

If you make an outgoing non-emergency call while in ECM, we're supposed to
(a) cancel ECM, and (b) display a simple dialog saying "Exiting Emergency
Callback Mode" when the in-call UI comes up.

This change fixes part (b), which was broken.  The problem was a bug in
the CallController: there's a "pending call status code" that tells the
InCallScreen to display the "Exiting ECM" dialog, we were setting it
correctly at the point we noticed we were in ECM, but we would then clear
it immediately as soon as the call succeeded :-(

This fix is for placeCallInternal() to explicitly return EXITED_ECM in
this case, rather than just plain SUCCESS.

TESTED:
  - Regular phone calls => No change
  - Exiting ECM => Dialog comes up correctly
  - Other types of call failures => No change (we still display the
    appropriate error dialogs).

Bug: 5487455
Change-Id: Ic5d521e5c95e8137067ca53b5876b35788768abc

8 years agoFix ultra-long phone numbers overlapping the elapsed time widget
David Brown [Wed, 19 Oct 2011 23:26:27 +0000]
Fix ultra-long phone numbers overlapping the elapsed time widget

TESTED: Contacts with ultra-long names, ultra-long numbers, and both.

Bug: 5476689
Change-Id: I3dd01296574a5dce5cfd618ad3bb43af5bdf437d

8 years agoam 77e47c39: Merge "Handle waiting call in CDMA phone." into ics-mr0
John Wang [Wed, 19 Oct 2011 23:16:35 +0000]
am 77e47c39: Merge "Handle waiting call in CDMA phone." into ics-mr0

* commit '77e47c39d6790501a30170af37411d560bd42d15':
  Handle waiting call in CDMA phone.

8 years agoMerge "Handle waiting call in CDMA phone." into ics-mr0
John Wang [Wed, 19 Oct 2011 23:15:29 +0000]
Merge "Handle waiting call in CDMA phone." into ics-mr0

8 years agoHandle waiting call in CDMA phone.
John Wang [Tue, 18 Oct 2011 23:54:19 +0000]
Handle waiting call in CDMA phone.

Since CDMA network does not always support hold an active call,
we will "answer incoming and end ongoing call" while there is
a SIP incoming call and a CDMA ongoing call (or CDMA incoming
call and a SIP ongoing call). Basically we prevent the swap
between SIP and CDMA calls.

bug:5226658
Change-Id: I46d89029328665b5640c12fb29e5cbd976dfe6c1

8 years agoUse correct assets for dial_1 and dial_0 buttons
Daisuke Miyakawa [Tue, 18 Oct 2011 23:46:51 +0000]
Use correct assets for dial_1 and dial_0 buttons

Bug: 5452925
Change-Id: I649f16d67d2481d4f175909a58f0b0d1fd6c9022

8 years agoMerge "Import revised translations."
Eric Fischer [Tue, 18 Oct 2011 23:32:32 +0000]
Merge "Import revised translations."

8 years agoImport revised translations.
Eric Fischer [Tue, 18 Oct 2011 22:44:28 +0000]
Import revised translations.

Change-Id: Ib02b223f72b346e75283bbb6e0eb7ce7b8983a53

8 years agoam 5b0b3128: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Tue, 18 Oct 2011 18:38:29 +0000]
am 5b0b3128: (-s ours) Import revised translations.  DO NOT MERGE

* commit '5b0b31289550ccde310c4cfa32d101bbf80e57d9':
  Import revised translations.  DO NOT MERGE

8 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 18 Oct 2011 18:12:54 +0000]
Import revised translations.  DO NOT MERGE

Change-Id: I65664fe25172584a4b2f0a06743f8370409d43be

8 years agoMerge "Use default vibration for MWI."
Flavio Lerda [Tue, 18 Oct 2011 12:25:52 +0000]
Merge "Use default vibration for MWI."

8 years agoam 57bb26f8: Force in-call notification to be shown if "voice privacy" is active
David Brown [Mon, 17 Oct 2011 18:30:39 +0000]
am 57bb26f8: Force in-call notification to be shown if "voice privacy" is active

* commit '57bb26f8da77cbdc13995f472a40df566599326c':
  Force in-call notification to be shown if "voice privacy" is active

8 years agoUse default vibration for MWI.
Flavio Lerda [Mon, 17 Oct 2011 10:24:20 +0000]
Use default vibration for MWI.

Previously we were using the default sound and set the lights to a
specific value, but not the default vibration setting from the device.

Bug: 5422234
Change-Id: I4f7c2176508bbafafe5bf01e00ff22ad1881bfbb

8 years agoForce in-call notification to be shown if "voice privacy" is active
David Brown [Fri, 14 Oct 2011 19:38:37 +0000]
Force in-call notification to be shown if "voice privacy" is active

Normally we suppress the in-call status bar notification if the
InCallScreen is the foreground activity.  (The goal is to reduce clutter
in the status bar; that icon isn't needed since it's already obvious that
you're on a call.)

But we shouldn't do that if "Voice Privacy" mode is active, since the
status bar icon is the only indication we have for "voice privacy" mode.

So if voice privacy is in effect, force the status bar icon to be visible
regardless of whether the InCallScreen is active.

TESTED:

- NOTE I couldn't do a real end-to-end test because the "voice privacy"
  feature isn't available at all on my device for some reason.  So
  instead, I tested this change by simply hacking getVoicePrivacyState()
  to return true.

(1) Made a call with Voice Privacy "enabled":
  ==> Status bar icon showing phone with tiny lock symbol is visible
      when I'm on the InCallScreen *and* when I bail out to some other app

(2) Made a call  with Voice Privacy disabled:
  ==> Status bar icon is visible *only* after I bail out of the
      InCallScreen.  Also, the icon is just a plain phone, with no lock
      symbol.

Bug: 5371658

Change-Id: I230bed89eae137d4cd106f3e44d7ad0105d6998c

8 years agoMake vertical ratio for dialpad more visible.
Daisuke Miyakawa [Thu, 13 Oct 2011 22:12:40 +0000]
Make vertical ratio for dialpad more visible.

TESTED:
- emergency dial
- dialpad during phone-call

Bug: 5164774
Change-Id: Ifc466da76e7358243597a2a198a982b585b88fae

8 years agoam 3e4908e9: Merge "Use new status bar disable flags." into ics-mr0
Daniel Sandler [Thu, 13 Oct 2011 19:38:03 +0000]
am 3e4908e9: Merge "Use new status bar disable flags." into ics-mr0

* commit '3e4908e9d96ccc0bef6bafa5e1a8cd40922e57ed':
  Use new status bar disable flags.

8 years agoMerge "Use new status bar disable flags." into ics-mr0
Daniel Sandler [Thu, 13 Oct 2011 19:34:43 +0000]
Merge "Use new status bar disable flags." into ics-mr0

8 years agoMerge "Use correct text style in emergency dialer."
Daisuke Miyakawa [Thu, 13 Oct 2011 15:22:02 +0000]
Merge "Use correct text style in emergency dialer."

8 years agoUse correct text style in emergency dialer.
Daisuke Miyakawa [Thu, 13 Oct 2011 02:19:24 +0000]
Use correct text style in emergency dialer.

Bug: 5399800
Change-Id: I733730da075c2a6e78e1a9f9ea1171db5c4fa458

8 years agoMerge "Remove resources for "long" devices"
Daisuke Miyakawa [Wed, 12 Oct 2011 23:02:24 +0000]
Merge "Remove resources for "long" devices"

8 years agoRemove resources for "long" devices
Daisuke Miyakawa [Wed, 12 Oct 2011 22:50:36 +0000]
Remove resources for "long" devices

Bug: 5452503
Change-Id: I8e05e3e3b13701609ac706d3e6b627fcc4332998

8 years agoUse new status bar disable flags.
Daniel Sandler [Wed, 12 Oct 2011 19:43:27 +0000]
Use new status bar disable flags.

Requires frameworks/base change I04eb2245.

Bug: 5380495
Change-Id: I37ab08a55a9e2ff675a4501d3391a2188bc69e9d

8 years agoam 31d59546: Disable the blur + inset effect
David Brown [Wed, 12 Oct 2011 19:00:29 +0000]
am 31d59546: Disable the blur + inset effect

* commit '31d59546f9dfaab0f5a6fd11aa6659028a45fd78':
  Disable the blur + inset effect

8 years agoDisable the blur + inset effect
David Brown [Wed, 12 Oct 2011 01:51:52 +0000]
Disable the blur + inset effect

For MR0, at least, disable the "blur + inset" effect for lo-res contact
photos in the in-call UI.  We now always scale contact photos up to the
full size of the CallCard, regardless of image size.

(The "InCallContactPhoto" class is still there, by the way, just disabled,
so we'll be able to experiment with other alternatives -- like different
blur paramaters -- in MR1...)

TESTED:
  - both incoming and outgoing calls
  - both low-res and hi-res contact photos

Bug: 5334940

Change-Id: I649a79559adcaccb19de6d308044f4dc1788c482

8 years agoam 0d4a6ebf: (-s ours) DO NOT MERGE Cherry-pick "(Re)enable layout transition animati...
David Brown [Wed, 12 Oct 2011 00:32:49 +0000]
am 0d4a6ebf: (-s ours) DO NOT MERGE Cherry-pick "(Re)enable layout transition animations on the in-call screen"

* commit '0d4a6ebff6ffc6c5164d40c65b52ed95c9af0a07':
  DO NOT MERGE Cherry-pick "(Re)enable layout transition animations on the in-call screen"

8 years agoDO NOT MERGE Cherry-pick "(Re)enable layout transition animations on the in-call...
David Brown [Fri, 7 Oct 2011 04:18:03 +0000]
DO NOT MERGE Cherry-pick "(Re)enable layout transition animations on the in-call screen"

(Cherry-pick of change I52d060 from master)

Explicitly fade-in and fade-out a couple of in-call UI elements:
  - the call state label that briefly shows "Dialing"
  - the in-call DTMF dialpad
to make state transitions look smoother.

Earlier in ICS we did this using android:animateLayoutChanges="true" on
these views' parent containers, but that had some undesirable side effects
(see bug 5315523.)  Now, we just manually fade in/out the specific
elements we want to animate, and keep the code simple by using a
convenient utility class from Chet (see his blog post
http://graphics-geek.blogspot.com/2011/09/old-views-dont-die-they-just-fade-away.html.)

TESTED:
  Call state label:
    - visible instantly at the start of a call
    - visible instantly when "Call ended" state starts
    - fades out smoothly after "Dialing" state ends
  DTMF dialpad:
    - nice crossfade with the regular CallCard
    - No unexpected fading when *starting* a call, even if the dialpad was
      up when the previous call ended
    - Bang as fast as you can on dialpad button: always ends up in a sane
      state with either dialpad or CallCard visible (but not both, or neither)

Note there are a couple of other state transitions we'd like to improve as
well, but those are GSM-specific ("Manage conference" and the "two lines
in use" state) so they can wait till MR1.

Bug: 5315523
Change-Id: Ie530dc66df65c12c7b1d9eb31e64c2e2d4584421

8 years agoam 8dd61b63: Merge "Use correct icons in voice mail settings" into ics-mr0
Daisuke Miyakawa [Tue, 11 Oct 2011 22:42:19 +0000]
am 8dd61b63: Merge "Use correct icons in voice mail settings" into ics-mr0

* commit '8dd61b637ad84a86d1255de8859647f64e29e2d7':
  Use correct icons in voice mail settings

8 years agoMerge "Use correct icons in voice mail settings" into ics-mr0
Daisuke Miyakawa [Tue, 11 Oct 2011 22:40:26 +0000]
Merge "Use correct icons in voice mail settings" into ics-mr0

8 years agoam 17625458: Show "unhold" button during SIP call on CDMA device
Daisuke Miyakawa [Tue, 11 Oct 2011 22:36:51 +0000]
am 17625458: Show "unhold" button during SIP call on CDMA device

* commit '17625458a136ba321e93f81faddc9e82bd42bbb1':
  Show "unhold" button during SIP call on CDMA device

8 years agoUse correct icons in voice mail settings
Daisuke Miyakawa [Tue, 11 Oct 2011 21:39:05 +0000]
Use correct icons in voice mail settings

Bug: 5435799
Change-Id: I10173a9ded8acc635a486c6e0e0c306b25baaa3c

8 years agoShow "unhold" button during SIP call on CDMA device
Daisuke Miyakawa [Sun, 9 Oct 2011 23:12:52 +0000]
Show "unhold" button during SIP call on CDMA device

Currently "hold/unhold" button is gone once after
it is presed for holding SIP call in CDMA devices,
since we're using CDMA's hold/unhold capability to
check if background SIP supperts hold/unhold.

TESTED:
- SIP call with CDMA device provides "mute" for
  "hold" and "unhold"
- SIP call with GSM device provides them too
- CDMA call does not provide them
- GSM call provides them

Bug: 5226286
Change-Id: Ice3624ea6e902aa20a6e2f66fc4cde3717c963ae

8 years ago(Re)enable layout transition animations on the in-call screen
David Brown [Fri, 7 Oct 2011 04:18:03 +0000]
(Re)enable layout transition animations on the in-call screen

Explicitly fade-in and fade-out a couple of in-call UI elements:
  - the call state label that briefly shows "Dialing"
  - the in-call DTMF dialpad
to make state transitions look smoother.

Earlier in ICS we did this using android:animateLayoutChanges="true" on
these views' parent containers, but that had some undesirable side effects
(see bug 5315523.)  Now, we just manually fade in/out the specific
elements we want to animate, and keep the code simple by using a
convenient utility class from Chet (see his blog post
http://graphics-geek.blogspot.com/2011/09/old-views-dont-die-they-just-fade-away.html.)

TESTED:
  Call state label:
    - visible instantly at the start of a call
    - visible instantly when "Call ended" state starts
    - fades out smoothly after "Dialing" state ends
  DTMF dialpad:
    - nice crossfade with the regular CallCard
    - No unexpected fading when *starting* a call, even if the dialpad was
      up when the previous call ended
    - Bang as fast as you can on dialpad button: always ends up in a sane
      state with either dialpad or CallCard visible (but not both, or neither)

Note there are a couple of other state transitions we'd like to improve as
well, but those are GSM-specific ("Manage conference" and the "two lines
in use" state) so they can wait till MR1.

Bug: 5315523

Change-Id: I52d060d7ca66ac936a6daffb297bf0e8d80f6848

8 years agoMerge "Import revised translations."
Eric Fischer [Mon, 10 Oct 2011 18:48:11 +0000]
Merge "Import revised translations."

8 years agoImport revised translations.
Eric Fischer [Mon, 10 Oct 2011 18:24:10 +0000]
Import revised translations.

Change-Id: I0318e4fe71cf9d1aedd17c5d91050062b73a75b5