6160 Commits

Author SHA1 Message Date
Mike LeBeau
6f82aa3f4d am 021fa3fa: Merge change 20665 into donut
Merge commit '021fa3fa6fe88c33ad11a3139ebcd3a5be8eb953'

* commit '021fa3fa6fe88c33ad11a3139ebcd3a5be8eb953':
  First update of SearchManager docs to reflect the new Donut Quick Search Box feature.
2009-08-11 18:11:28 -07:00
Jean-Michel Trivi
8e235b7bac am 1e1b6b72: Merge change 20514 into donut
Merge commit '1e1b6b7245a0a9212aa3b0366e7919f114895306'

* commit '1e1b6b7245a0a9212aa3b0366e7919f114895306':
  Fix bug 2022435.
2009-08-11 18:11:19 -07:00
Android (Google) Code Review
6a332cf7a0 Merge change 20865
* changes:
  Fix the build
2009-08-11 17:49:30 -07:00
Romain Guy
b3c61e7dec Fix the build 2009-08-11 17:49:01 -07:00
Android (Google) Code Review
df1d0ff4ba Merge change 20858
* changes:
  Don't let bmgr leave a restore session hanging on error
2009-08-11 17:28:49 -07:00
Christopher Tate
0e0b4ae5bc Don't let bmgr leave a restore session hanging on error
Specifically, don't wait for the RestoreObserver to be informed that the restore
has completed unless performRestore() ran.  We were winding up in a case where
bmgr was hanging forever waiting on a nonexistent restore process instead of
calling endRestoreSession().

Also improve the documentation, explicitly calling out the need to call
endRestoreSession() even if previous operations on the session were
unsuccessful.
2009-08-11 17:25:12 -07:00
Amith Yamasani
29d85df051 Remove delay for key feedback bubble.
Most users seem to expect the feedback to show up right away. So
remove the delay before the bubble shows up.
2009-08-11 16:45:07 -07:00
Mathias Agopian
8b76a0ac6f SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything.
This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored).
Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
2009-08-11 16:12:56 -07:00
Android (Google) Code Review
c5ea439209 Merge change 20812
* changes:
  Fix possible exception in default live wallpaper
2009-08-11 14:43:02 -07:00
Romain Guy
b4f59bffc0 Fix possible exception in default live wallpaper 2009-08-11 14:42:19 -07:00
Guang Zhu
b028f92e75 Disable Worker in DumpRenderTree until the issue with dumpAsText is fixed. 2009-08-11 14:27:32 -07:00
Android (Google) Code Review
ce6182fa49 Merge change 20788
* changes:
  make private inner classes static
2009-08-11 14:04:32 -07:00
Android (Google) Code Review
1d1449835a Merge change 20775
* changes:
  Fixes #2021442. Prevent app widgets from clobbering Home's view ids.
2009-08-11 14:01:18 -07:00
Cary Clark
7ec19876c9 make private inner classes static
bug found by findbugs
http://b/issue?id=1856695
2009-08-11 16:57:43 -04:00
Android (Google) Code Review
2b7d44ed84 Merge change 20781
* changes:
  replace 'new String()' with ""
2009-08-11 13:14:16 -07:00
Cary Clark
686cf75d5c replace 'new String()' with ""
bug reported by findbugs
http://b/issue?id=1856909
2009-08-11 16:08:52 -04:00
Cary Clark
0867e69176 make final constants static
found by findbugs
http://b/issue?id=1857033
2009-08-11 15:44:31 -04:00
Romain Guy
09ddc08b0d Fixes #2021442. Prevent app widgets from clobbering Home's view ids. 2009-08-11 12:10:08 -07:00
Android (Google) Code Review
7d89133364 Merge change 20683
* changes:
  Add operator name in network selection.
2009-08-11 12:07:16 -07:00
Android (Google) Code Review
81df0d9487 Merge change 8575
* changes:
  Support INSTALL_DRM permission
2009-08-11 11:31:34 -07:00
Android (Google) Code Review
f280a1b830 Merge change 20750
* changes:
  remove unused locals
2009-08-11 10:55:24 -07:00
Cary Clark
a589419c04 remove unused locals
found by findbugs
http://b/issue?id=1857022
2009-08-11 13:45:28 -04:00
Android (Google) Code Review
b474b45104 Merge change 20739
* changes:
  Fix issue 2045983 ToneGenerator: fix void statement.
2009-08-11 10:18:07 -07:00
Android (Google) Code Review
dcbc531be2 Merge change 20663
* changes:
  Update getNumberFromIntent() to read from both providers.
2009-08-11 10:11:31 -07:00
Jeff Sharkey
f28ca902ad Update getNumberFromIntent() to read from both providers.
This method is used by the Phone app to decode ACTION_CALL
Intents, resolving to a real phone number.  Because the
columns are changing with the new provider, I added logic
to query using the correct columns for the authority of the
requested Uri.
2009-08-11 10:11:03 -07:00
Jeff Sharkey
ad2eaf208d Added long-press hooks to Contact header widget.
To match Contacts edit UI mocks, the user long-presses on
the photo or display name to select a new primary.  This
change provides the hooks needed over in Contacts.
2009-08-11 10:09:42 -07:00
Eric Laurent
c4e58c0f31 Fix issue 2045983 ToneGenerator: fix void statement.
There is a void statement at line 917 of ToneGenerator.cpp: mState == TONE_IDLE;
This problem is harmless as in current code this execution path is never taken; it can only happen if a "new" operator fails in prepareWave() which is a case we usually consider as unlikely in android audio framework.
2009-08-11 09:57:45 -07:00
Eric Laurent
6c30a71122 Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing.
This is because the AudioFlinger duplicating thread is closed while the output tracks are still active. This cause the output tracks objects to be destroyed at a time where they can be in use by the destination output mixer.

The fix consists in adding the OutputTrack to the track list (mTracks) of its destination thread so that a strong reference is help during the mixer processed and the track is detroyed only when safe by destination thread.

Also added detection of problems when creating the output track (e.g. no more tracks in mixer). In this case the output track is not added to output track list of duplicating thread.
2009-08-11 09:43:09 -07:00
Eric Laurent
33bb0c9f2a Fix issue 2043314: Recorded audio is choppy.
Fixed cut/paste error causing constant reset of current frame index in input buffer.
2009-08-11 09:07:44 -07:00
Android (Google) Code Review
44224695de Merge change 20632
* changes:
  call super.finalize() from WebView
2009-08-11 08:17:43 -07:00
Dianne Hackborn
c8a0a75e1c Implement support for scrolling a wallpaper.
This currently only works for a wallpaper that is larger than the
screen.  Set the scroll position with the new wallpaper API.  Right
now only does jump scrolls.
2009-08-11 10:03:16 -04:00
Eric Laurent
2ce89adde4 resolved conflicts for merge of 8af63bc9 to master 2009-08-11 00:01:01 -07:00
Android (Google) Code Review
c8707a91cd Merge change 20699
* changes:
  enable HW acceleration for the Dim Surface on 8k devices
2009-08-10 21:22:00 -07:00
Mathias Agopian
4523b76803 enable HW acceleration for the Dim Surface on 8k devices 2009-08-10 21:13:06 -07:00
Jeff Sharkey
08b75b1ffb New ContentProviderOperation to assert values during batch.
When performing a set of batch operations, some callers need
to enforce that a query has specific values.  For example,
when persisting edited Contact values, we need to assert
that the RawContacts.VERSION matches the version we read out
through queryEntities().

This change adds a new TYPE_ASSERT that uses withValues()
and withSelection(), and checks all values when applying the
batch operation, bailing if any values don't match.
2009-08-10 20:59:20 -07:00
Android (Google) Code Review
3afaaf7ade Merge change 20686
* changes:
  fix the build
2009-08-10 17:46:27 -07:00
Joe Onorato
ee1e253453 fix the build 2009-08-10 17:46:06 -07:00
Dmitri Plotnikov
507f1607f7 Adding a MARKED_AS_DIRTY parameter to Groups. 2009-08-10 17:37:36 -07:00
Android (Google) Code Review
e359b68350 Merge change 20627
* changes:
  Add ro.telephony.disable-call check in dialing.
2009-08-10 17:13:06 -07:00
johnwang
c6f79ce6bc Add operator name in network selection.
Save the operator name during network selection. The name will be used by UI to provide network selection notification. See bug 1414247.

	modified:   java/com/android/internal/telephony/PhoneBase.java
	modified:   java/com/android/internal/telephony/gsm/GSMPhone.java
2009-08-10 17:10:32 -07:00
johnwang
597f2b7022 Add ro.telephony.disable-call check in dialing.
When ro.telephony.disable-call is set to true the phone disable actual calls. It provides a way to test in user-debug builds for stability runs. See bug 2031157.

	modified:   java/com/android/internal/telephony/TelephonyProperties.java
	modified:   java/com/android/internal/telephony/cdma/CdmaCallTracker.java
	modified:   java/com/android/internal/telephony/gsm/GsmCallTracker.java

	modified:   java/com/android/internal/telephony/TelephonyProperties.java
	modified:   java/com/android/internal/telephony/cdma/CdmaCallTracker.java
	modified:   java/com/android/internal/telephony/gsm/GsmCallTracker.java
2009-08-10 17:10:32 -07:00
Android (Google) Code Review
1fd459f27f Merge change 20674
* changes:
  Add a new setting for controling how much time to wait before discarding uphill operations
2009-08-10 17:00:20 -07:00
Cynthia Wong
0d54b02b75 Add a new setting for controling how much time to wait before discarding uphill operations 2009-08-10 16:53:44 -07:00
Android (Google) Code Review
614cf0b79b Merge change 20677
* changes:
  workaround a bug in the SGX driver that would prevent eglGetConfig to work properly
2009-08-10 16:50:40 -07:00
Mathias Agopian
e6f0f5c8fb workaround a bug in the SGX driver that would prevent eglGetConfig to work properly 2009-08-10 16:48:22 -07:00
Android (Google) Code Review
021fa3fa6f Merge change 20665 into donut
* changes:
  First update of SearchManager docs to reflect the new Donut Quick Search Box feature. This simply cleans up any inconsistencies or weirdnesses, we still need to add the new info for QSB.
2009-08-10 16:38:00 -07:00
Mike LeBeau
8c91dd7ec8 First update of SearchManager docs to reflect the new Donut Quick Search Box feature.
This simply cleans up any inconsistencies or weirdnesses, we still need to add the new
info for QSB.
2009-08-10 16:32:29 -07:00
Android (Google) Code Review
8cb14280d4 Merge change 20660
* changes:
  add the deleted flag to the Groups table
2009-08-10 16:30:16 -07:00
Android (Google) Code Review
2e9c859f20 Merge change 20607
* changes:
  Limit AudioFlinger mixer track sampling rate.
2009-08-10 16:04:29 -07:00
Android (Google) Code Review
a1cbccd7b3 Merge change 20643
* changes:
  Add calendar_sync_window_days setting to control calendar sync window.
2009-08-10 15:53:46 -07:00