6073 Commits

Author SHA1 Message Date
Wink Saville
3918e13b24 Add configurable data-retry.
Add RetryManager and change GsmDataConnectionTracker and
CdmaDataConnectionTracker to use it.

Add TelephonyUtilsTest which tests RetryManager.
2009-08-09 15:23:45 -07:00
Christian Gustafsson
e4ebbd29f7 CDMA voicemail notification fixes
1.  Convert the voicemail count of a VM notification from
    BCD to decimal. That way the user will not be notified
    of 16 new VM when there are only 10.
    Ref: 3GPP2 C.S0015-B / 4.5.12 Number of Messages.
2.  Allow VMN-95 notifications without "User Data" to be
    processed. Only mandatory items for VMN-95 are
    "Message Identifier" and "Number of Messages".
    Ref: 3GPP2 C.S0015-B / 4.3.5 Voice Mail Notification.
2009-08-09 12:11:51 -07:00
Android (Google) Code Review
29b8fca9fd Merge change 20568
* changes:
  Revert "Disable data call in emergency call"
2009-08-09 07:45:40 -07:00
Dianne Hackborn
4c62fc0e1e Very primitive wallpapers in a surface.
This is all of the basic pieces:

- The WallpaperService now creates a surface with the window manager for its
  contents.
- There is a simple service that displays a bitmap.
- The wallpaper manager takes care of starting and stopping the service.
- The window manager knows about wallpaper windows and how to layer them with
  the windows that want to be shown on top of wallpaper.

Lots and lots of issues remain, but at this point you can actually write a
wallpaper service, select it in the UI, and see it behind an activity.
2009-08-08 22:13:46 -07:00
Wink Saville
5221dfdec9 Revert "Disable data call in emergency call"
Temporary rollback of this change, for now the radio can prevent data traffic,
but that's not the desired long-term solution.

This reverts commit 79ef673d56e2599932b8b7f13695d23b4df54d09.
2009-08-08 22:06:01 -07:00
Android (Google) Code Review
542040c51c Merge change 20493
* changes:
  unhide postUrl
2009-08-08 10:27:36 -07:00
Android (Google) Code Review
983acc3614 Merge change 20536
* changes:
  add support for RGBX_8888
2009-08-07 20:59:33 -07:00
Mathias Agopian
f1e5b0d4e5 add support for RGBX_8888 2009-08-07 20:55:14 -07:00
Amith Yamasani
2e6bca6901 Temporarily rollback a change that's causing SetupWizard failures during restore. #2042337
Don't kill the process of the package that's being restored. This is causing a chain
reaction of killing a provider needed by the setup process.
2009-08-07 20:28:33 -07:00
Android (Google) Code Review
c0f0115279 Merge change 20530
* changes:
  remove unused and confusing comment
2009-08-07 19:10:22 -07:00
Mathias Agopian
1d40f50de5 remove unused and confusing comment 2009-08-07 19:08:18 -07:00
Android (Google) Code Review
e34a01ec9e Merge change 20474
* changes:
  Change WIFI key
2009-08-07 18:23:00 -07:00
Android (Google) Code Review
9504c00581 Merge change 20509
* changes:
  Touch activation screen shown up fix
2009-08-07 17:13:39 -07:00
Android (Google) Code Review
db704e28ae Merge changes 20497,20498,20499
* changes:
  minor code clean-up
  added EGLUtils::strerror
  better error handling
2009-08-07 16:39:34 -07:00
Mathias Agopian
9ca4dd6011 minor code clean-up 2009-08-07 16:38:10 -07:00
Mathias Agopian
509dae53c5 added EGLUtils::strerror 2009-08-07 16:37:21 -07:00
Alex Gruenstein
89325078db unhide postUrl 2009-08-07 16:31:12 -07:00
Christopher Tate
84780f56f4 Don't crash if the Backup Manager returns a null RestoreSet[] 2009-08-07 15:50:02 -07:00
Android (Google) Code Review
b99ab30cbc Merge change 20481
* changes:
  Add refraction and bettr normals computation to FallRS
2009-08-07 15:41:25 -07:00
Romain Guy
6c0cc6db99 Add refraction and bettr normals computation to FallRS 2009-08-07 15:40:32 -07:00
Christian Sonntag
92c1752175 Change WIFI key 2009-08-07 15:16:17 -07:00
Android (Google) Code Review
76b8c2cbb1 Merge change 20336
* changes:
  Mods to the ContactHeaderWidget to be able to have it display strings as passed in by the caller.  For example we may want to use this in the case when there is no contact in a given circumstance.
2009-08-07 14:52:34 -07:00
Mark Wagner
23d479588f Mods to the ContactHeaderWidget to be able to have it display strings
as passed in by the caller.  For example we may want to use this in
the case when there is no contact in a given circumstance.
2009-08-07 14:51:35 -07:00
Android (Google) Code Review
f23784176f Merge change 20454
* changes:
  Added lightweight exception logging to AsyncQueryHandler.
2009-08-07 13:47:00 -07:00
Jeff Sharkey
3b7c3c6b55 Added lightweight exception logging to AsyncQueryHandler.
Without this, it's really hard to debug exceptions coming
over from a ContentProvider.  This is lightweight logging
that is only triggered by an exception, and doesn't write a
full stacktrace.
2009-08-07 13:44:09 -07:00
Christian Sonntag
77095d49f2 make restore tokens shown in hex.
Since they are android ids, it is much easier to use them as hex, since we can just copy then into android inspector and learn more about the restore set.
2009-08-07 13:42:45 -07:00
Android (Google) Code Review
02d34e78f4 Merge change 20439
* changes:
  Fix Bmgr's logic around restore completion
2009-08-07 11:39:55 -07:00
Christopher Tate
08e40b858e Fix Bmgr's logic around restore completion
The caller needs to wait for the restore observer to be informed that the
restore has finished processing before it can safely shut down the restore
session.
2009-08-07 11:35:35 -07:00
Android (Google) Code Review
03a9746200 Merge change 20422
* changes:
  Build the stagefright library by default.
2009-08-07 11:09:44 -07:00
Android (Google) Code Review
7283fc8be6 Merge change 20428
* changes:
  Add constant for storing market backup state in shared preferences.
2009-08-07 11:07:40 -07:00
Eric Fischer
2b4cf35cdb am e6034f6c: Import revised translations.
Merge commit 'e6034f6cd8fc32641f31e5a3cf068b6d56309872'

* commit 'e6034f6cd8fc32641f31e5a3cf068b6d56309872':
  Import revised translations.
2009-08-07 11:04:10 -07:00
Christian Sonntag
058779c9bb Add constant for storing market backup state in shared preferences. 2009-08-07 10:54:46 -07:00
Eric Fischer
e6034f6cd8 Import revised translations. 2009-08-07 10:49:49 -07:00
Android (Google) Code Review
52e37725c8 Merge change 20423
* changes:
  Retain state of wifi connection after restore
2009-08-07 10:45:29 -07:00
Andreas Huber
0d596d4724 Build the stagefright library by default. 2009-08-07 10:40:34 -07:00
Jinghui Guo
9e652dcc21 Touch activation screen shown up fix
During the time of OTA activation screen startup, the app needs
to get MIN by calling getCdmaMin(). The issue in current code is that
OTA app calls getCdmaMin() before framework gets MIN data from lower
layer.

To fix this issue, framework will be providing the following new APIs
to applications for checking if MIN data is ready:
1. isMinInfoReady():
   Check if mMin variable in getCdmaMin() has been assigned a non-null value.
2. registerForSubscriptionInfoReady():
   Apps uses this API to register for notification.
3. unregisterForSubscriptionInfoReady():
   This API is used by apps to unregister notification.

Framework will be sending out the notification in the following situations:
1. when mMin is assigned a non-null MIN value;
2. When app calls register API and MIN is ready.
2009-08-07 10:35:11 -07:00
Eric Laurent
d5603c126a AudioService now differentiates BT headsets and car kits.
The BT headset detection now makes the difference between car kits and headsets, which can be used by audio policy manager.
The headset connection is also detected earlier, that is when the headset is connected and not when the SCO socket is connected as it was the case before. This allows the audio policy manager to suspend A2DP output while ringing if a SCO headset is connected.
2009-08-07 10:31:53 -07:00
Android (Google) Code Review
44495b7134 Merge change 9662
* changes:
  Fix problem in AudioFlinger closeOutput and closeInput.
2009-08-07 10:20:46 -07:00
Android (Google) Code Review
813eee115f Merge change 20424
* changes:
  Fix the scanning panic issue
2009-08-07 10:20:04 -07:00
Eric Laurent
49018a55d1 Fix problem in AudioFlinger closeOutput and closeInput.
There was no garanty that the corresponding thread destructor had been already called when exiting the closeOutput() or closeInput() functions.
This contructor could be called by the thread after the exit condition is signalled. By way of consequence, closeOutputStream() could be called after
we exited closeOutput() function.

To solve the problem, the call to closeOutputStream() or closeInputStream() is moved to closeOutput() or closeInput().
2009-08-07 10:19:09 -07:00
Charles Lu
c98719313b Fix the scanning panic issue
Phone panics while streaming over A2DP and scanning for new device
BluetoothEventLoop should delete reference
2009-08-07 10:17:23 -07:00
Christian Sonntag
c5b5b0fb94 Retain state of wifi connection after restore 2009-08-07 10:00:21 -07:00
Android (Google) Code Review
fcfd7bea4a Merge change 20357
* changes:
  Remove Voice Search constants, factored them out into the Voice Search app.
2009-08-07 09:54:02 -07:00
Android (Google) Code Review
5d1e4c4db0 Merge change 20381
* changes:
  Clean-up of API for filtering contacts by phone or email. The api is now symmetrical.
2009-08-07 09:47:35 -07:00
Android (Google) Code Review
38028f2e28 Merge change 20383
* changes:
  As createCacheFile is called from WebCore instead of http thread now, remove the endCacheTransaction/startTransaction pairs.
2009-08-07 09:46:28 -07:00
Eric Laurent
69682b4c37 Improved unit test code for Audioflinger. 2009-08-07 09:32:06 -07:00
Eric Laurent
8fce46a2b3 Fix lockup in audio flinger threadbase setParameters.
The function checkForNewParameters_l() is called with the ThreadBase mutex mLock locked. In the case where the parameter change implies
an audio parameter modification (e.g. sampling rate) the function sendConfigEvent() is called which tries to lock mLock creating a deadlock.

The fix consists in creating a function equivalent to sendConfigEvent() that must be called with mLock locked and does not lock mLock.

Also added the possibility to have more than one set parameter request pending.
2009-08-07 09:28:40 -07:00
Android (Google) Code Review
1420bf3ec6 Merge change 9674
* changes:
  Fix problem in AudioTrack with 8 bit PCM and direct output.
2009-08-07 09:10:15 -07:00
Android (Google) Code Review
0f0021d36b Merge change 9660
* changes:
  Fix problem in A2DP interface closeOutputStream().
2009-08-07 09:09:10 -07:00
Android (Google) Code Review
79cf293f59 Merge change 9653
* changes:
  Fix getParameters() default implementation.
2009-08-07 09:08:36 -07:00