Commit Graph

470 Commits

Author SHA1 Message Date
Android (Google) Code Review
e56f65cc2d Merge change 2349 into donut
* changes:
  Change the media key algorithm to also ignore double quotes.
2009-05-22 15:35:26 -07:00
Dirk Dougherty
39c7e96b2a am 22629944: AI 149208: Remove statement about WIndows codecs and licensing. BUG=1839672
Merge commit '226299446197689499bc3c7dc44d0026745da677' into donut

* commit '226299446197689499bc3c7dc44d0026745da677':
  AI 149208: Remove statement about WIndows codecs and licensing.
2009-05-22 15:13:06 -07:00
Android (Google) Code Review
b6333b34a2 Merge change 2351 into donut
* changes:
  Fix a major bug in Bundle when unparcelling from AIDL.
2009-05-22 14:51:22 -07:00
Android (Google) Code Review
3f256f34e2 Merge change 2361 into donut
* changes:
  Fixes #1872506. Prevents NPE in ListView. When the opaque property changes at runtime, it is possible to end up in a situation in which the divider's Paint instance has not been instanciated. This change simples uses a final Paint that is guaranteed to not be null.
2009-05-22 14:49:19 -07:00
Dianne Hackborn
8af0f82d89 Fix a major bug in Bundle when unparcelling from AIDL.
There was a serious problem in the Bundle(Parcel) and readFromParcel() methods,
where it wasn't doing the copying of the Parcel that Parcel.readBundle() does
and is a basic requirement for it to work correctly.

This re-arranges the code to make all of these functions (hopefully) correct.

Also fix a problem in Parcel where we were not duping fds when copying data from
one Parcel to another.
2009-05-22 13:51:47 -07:00
Marco Nelissen
d95aabc9eb This should fix the simulator build. 2009-05-22 12:25:56 -07:00
Android (Google) Code Review
610de0974e Merge change 2336 into donut
* changes:
  dumpstate: Add to AID_SDCARD_RW group to fix saving bugreports to the SD card.
2009-05-22 10:40:48 -07:00
Android (Google) Code Review
454a625588 Merge change 2230 into donut
* changes:
  runtime: Add CAP_SYS_NICE to the system server capabilities list so it can (eventually) move arbitrary threads into different cgroups
2009-05-22 08:47:54 -07:00
Android (Google) Code Review
e79c26d2c6 Merge change 2318 into donut
* changes:
  Fixed vertical text position in search suggestion items.
2009-05-22 08:45:11 -07:00
Android (Google) Code Review
840964f714 Merge change 2305 into donut
* changes:
  Add a new API to ListView: setGestures(int). This allows developers to enable gestures to jump inside the list or filter it. This change also introduces a new XML attribute to control this API. It also adds the ability to theme the GestureOverlayView from the gestures library. Finally, this adds a new VERSION header to the binary format used to store the letters for the recognizer.
2009-05-22 02:02:57 -07:00
Android (Google) Code Review
fa33ce45da Merge change 2299 into donut
* changes:
  fix build breakage
2009-05-21 21:12:59 -07:00
Android (Google) Code Review
1131392281 Merge change 2292 into donut
* changes:
  split boot animation out of SurfaceFlinger
2009-05-21 19:33:59 -07:00
Mathias Agopian
a1ecca920e split boot animation out of SurfaceFlinger
Conflicts:

	data/etc/platform.xml
2009-05-21 19:21:59 -07:00
Android (Google) Code Review
156f418aa8 Merge change 2285 into donut
* changes:
  Move the Gestures API to the framework in android.gesture.
2009-05-21 18:16:51 -07:00
Android (Google) Code Review
1bdc51faa8 Merge change 2227 into donut
* changes:
  Add header declaring the interface for TTS engines to implement.
2009-05-21 16:13:52 -07:00
San Mehat
a00a0851c3 runtime: Add CAP_SYS_NICE to the system server capabilities list so it
can (eventually) move arbitrary threads into different cgroups

Signed-off-by: San Mehat <san@google.com>
2009-05-21 15:34:56 -07:00
Jean-Michel Trivi
c7104572aa Add header declaring the interface for TTS engines to implement. 2009-05-21 15:32:11 -07:00
Android (Google) Code Review
e673f167c3 Merge change 2219 into donut
* changes:
  Updated LetterRecognizer & related gesture recognition code - added personalization for letter recognizer
2009-05-21 15:03:57 -07:00
Android (Google) Code Review
30236665ea Merge change 2218 into donut
* changes:
  Fixed SD card access permission issue in manifest
2009-05-21 14:48:03 -07:00
Android (Google) Code Review
d78ab096db Merge change 2202 into donut
* changes:
  Fixes external http://code.google.com/p/android/issues/detail?id=2732. ExpandableListView is wrongly assuming that the saved state if of the correct type. A similar bug fix was made in TextView.onRestoreInstanceState() a while ago. This fix simply ensures that the state received is of the right type.
2009-05-21 13:14:12 -07:00
Dave Sparks
46e2597e88 am 4d8adefd: AI 149136: Restore RECORD_AUDIO permission check to MediaRecorder. When we moved the media recorder to the media server process, we lost the permission check that was done at the process boundary in the AudioRecord binder interface because the AudioRecord object is created in the same process. This change adds a permission check in the MediaRecorderClient:setAudioSource() method. BUG=1868334
Merge commit '4d8adefd35efdea849611b8b02d61f9517e47760' into donut

* commit '4d8adefd35efdea849611b8b02d61f9517e47760':
  AI 149136: Restore RECORD_AUDIO permission check to MediaRecorder.
2009-05-21 11:57:52 -07:00
Android (Google) Code Review
9653c3b047 Merge change 2170 into donut
* changes:
  Trigger the LocationManager whenever the SearchDialog is shown (and stop when the SearchDialog is stopped). This way we get a network-based location quickly so that by the time any location- based suggestion provider wants to do suggestions, it's likely to have a good fresh location.
2009-05-21 10:44:44 -07:00
Dave Sparks
7118052e31 Merge commit '7b7225c8fdbead25235c74811b30ff4ee690dc58' into manual_merge
Conflicts:
	camera/libcameraservice/CameraService.cpp
2009-05-21 10:17:23 -07:00
Dave Sparks
fec880df27 AI 149133: Enable the camera permission check.
Some debugging code was added to camera service. Later it was #ifdef'd
  out, but this change also removed the camera permission check. This
  change puts the permission check back in.
  BUG=1869264

Automated import of CL 149133
2009-05-21 09:18:18 -07:00
Android (Google) Code Review
1c4b60c2f2 Merge change 2182 into donut
* changes:
  location: Replace ILocationCollector interface with new ILocationProvider method
2009-05-21 08:52:25 -07:00
Android (Google) Code Review
f3b2684ecf Merge change 2168 into donut
* changes:
  Fix permission hole in camera service. Some debugging code was added to CameraService::onTransact() method during development. Later on the entire onTransact() method was #ifdef'd out, which inadvertently omitted the permissions check code. This change restores the code.
2009-05-21 07:55:39 -07:00
Android (Google) Code Review
b95c594a4e Merge change 1863 into donut
* changes:
  Center the progress message for GoogleWebContentHelper (bug #1548858).
2009-05-21 04:43:31 -07:00
Android (Google) Code Review
599e8c1470 Merge change 2147 into donut
* changes:
  Add support to SuggestionsAdapter to query the 'working' status of its underlying cursor and update a spinner in the search dialog accordingly.
2009-05-20 20:34:49 -07:00
Dave Sparks
998b329525 Fix permission hole in camera service. Some debugging code was added
to CameraService::onTransact() method during development. Later on
the entire onTransact() method was #ifdef'd out, which inadvertently
omitted the permissions check code. This change restores the code.
2009-05-20 20:02:59 -07:00
Android (Google) Code Review
68117f2b7f Merge change 2163 into donut
* changes:
  Fix permission hole for RECORD_AUDIO created when we moved the MediaRecorder implementation to the mediaserver process. The permission check was previously enforced only at the AudioRecord binder interface for clients not in the same process. This change adds an additional check when the client tries to set the audio source. Bug 1868334
2009-05-20 19:57:12 -07:00
Android (Google) Code Review
7d6b741b3f Merge change 2152 into donut
* changes:
  make sure to fail to software when the h/w renderer cannot be initialized
2009-05-20 18:00:01 -07:00
Mathias Agopian
5c846bd6cf make sure to fail to software when the h/w renderer cannot be initialized 2009-05-20 17:58:36 -07:00
Android (Google) Code Review
b3271c82ee Merge change 2138 into donut
* changes:
  Add padding to public.xml to avoid breaking from auto-merges.
2009-05-20 17:06:48 -07:00
Android (Google) Code Review
e6af9624ea Merge change 2136 into donut
* changes:
  First pass at cleaning up the gestures code.
2009-05-20 15:37:45 -07:00
Android (Google) Code Review
c6fc6fec6e Merge change 1932 into donut
* changes:
  Qualify a type and add some explanatory comments.
2009-05-20 15:28:36 -07:00
Android (Google) Code Review
cc5f23cb2b Merge change 2109 into donut
* changes:
  Add option for gtalk stream compression
2009-05-20 15:22:02 -07:00
Android (Google) Code Review
e5cdb7afdb Merge change 2115 into donut
* changes:
  bring the native_handle stuff back from master_gl
2009-05-20 15:00:24 -07:00
Mathias Agopian
53f6f3c799 bring the native_handle stuff back from master_gl 2009-05-20 14:33:23 -07:00
Android (Google) Code Review
e55a957bdf Merge change 2111 into donut
* changes:
  GPS: Add support for forcing NTP time and XTRA data injection.
2009-05-20 14:00:24 -07:00
Android (Google) Code Review
5c8b59b811 Merge change 2094 into donut
* changes:
  Fixes #1866819.\nTextView sets the bounds of its compound drawables to contain only the width and the height of the drawables. This causes View.invalidateDrawable() to invalidate the compound drawables at location (0, 0) within the view, thus invalidating the wrong part of the View. This prevents animation from running correctly when using animated drawable. This change overrides invalidateDrawable() in TextView to take into account the real position of the compound drawable.
2009-05-20 13:13:42 -07:00
Android (Google) Code Review
47602e77d5 Merge change 2092 into donut
* changes:
  Make sure smsHeader != null before using it.
2009-05-20 13:00:22 -07:00
Android (Google) Code Review
2d3ff5b0cf Merge change 2099 into donut
* changes:
  Hook up the backup data writer, and add a utility to read the backup data files.
2009-05-20 11:53:08 -07:00
Jean-Baptiste Queru
a34678b7df reconcile donut snapshot
Merge branch 'donut-snapshot' into HEAD
2009-05-20 11:28:11 -07:00
Jean-Baptiste Queru
9660d304ae donut snapshot 2009-05-20 11:28:04 -07:00
Joe Onorato
473b6e2d2d Hook up the backup data writer, and add a utility to read the backup data files. 2009-05-20 11:24:20 -07:00
Android (Google) Code Review
307738da27 Merge change 2089 into donut
* changes:
  Update searchables list in getSearchablesInGlobalSearch().
2009-05-20 11:15:05 -07:00
Android (Google) Code Review
9560859654 Merge change 2017 into donut
* changes:
  Increment BatteryStatsImpl's VERSION. That'll make it stop trying to interpret older records with the new format. Also applied other comments involving name changes to remove un-needed 'Wifi' labels in WifiManager API, etc.
2009-05-20 09:06:22 -07:00
Android (Google) Code Review
2cccd13312 Merge change 2042 into donut
* changes:
  Remove deprecated openInputStream factory method
2009-05-20 07:15:50 -07:00
Android (Google) Code Review
1afd622be1 Merge changes 2023,2036 into donut
* changes:
  Update more references to openInputStream in support classes. Continuation of bug 1846343
  Modify AudioFlinger to use updated openInputStream factory method. Continuation of bug 1846343
2009-05-20 07:15:39 -07:00
Android (Google) Code Review
6b566aff08 Merge change 1998 into donut
* changes:
  Add inputSource to openInputStream Continuation of bug 1846343
2009-05-20 07:14:32 -07:00