Commit Graph

450 Commits

Author SHA1 Message Date
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
Android (Google) Code Review
f524cd5ebc Merge change 2075 into donut
* changes:
  Fix bad filtering of error code when set_position_mode() is being called.
2009-05-20 05:50:32 -07:00
Android (Google) Code Review
8395e2d5a5 Merge change 1860 into donut
* changes:
  ActivityManagerService sends bug reports on crashes and ANRs
2009-05-20 02:55:28 -07:00
Android (Google) Code Review
ed9934266d Merge change 1804 into donut
* changes:
  Additional logging in buildSearchableList().
2009-05-20 02:42:01 -07:00
Android (Google) Code Review
7316069ee1 Merge change 1127 into donut
* changes:
  SmsHeader rewrite, in preparation for migration to public API.
2009-05-19 19:52:07 -07:00
Dave Sparks
6c41033c47 Remove deprecated openInputStream factory method 2009-05-19 18:56:13 -07:00
Dave Sparks
6554773d62 Update more references to openInputStream in support classes.
Continuation of bug 1846343
2009-05-19 18:28:20 -07:00
Android (Google) Code Review
152503b31e Merge change 1791 into donut
* changes:
  Add a method to get the PhoneType in CellLocation.
2009-05-19 17:19:21 -07:00
Android (Google) Code Review
2a85fb3e6b Merge change 2022 into donut
* changes:
  TextView was not setting the callback on its compound drawables, thus preventing them from refreshing the view when updating their internal state. This would for instance prevent animated drawables from actually animating. Quite infuriating.
2009-05-19 16:52:41 -07:00
Android (Google) Code Review
5b88a4f624 Merge change 2016 into donut
* changes:
  Replaced the old test media files with the new open source test media files. Fix the bug in testGetThumbnail test.
2009-05-19 16:51:29 -07:00
Android (Google) Code Review
7ba0b4c0e2 Merge change 1878 into donut
* changes:
  Fixes external #2686. Make @android:anim/linear_interpolator public since the default intperpolator for all animations is accelerate_decelerate.
2009-05-19 16:51:28 -07:00
Dave Sparks
0e06d21a22 Modify AudioFlinger to use updated openInputStream factory method.
Continuation of bug 1846343
2009-05-19 16:41:29 -07:00
Android (Google) Code Review
6ff0ca504e Merge change 2005 into donut
* changes:
  Added the write sdcard permission so that the mediarecorder test can write the new recorded video into sdcard.
2009-05-19 15:21:35 -07:00
Dave Sparks
a5a11d47e9 Add inputSource to openInputStream
Continuation of bug 1846343
2009-05-19 14:38:46 -07:00
Android (Google) Code Review
4efba7e4b4 Merge change 1967 into donut
* changes:
  Document the media scanner's flow through native and java code, since I always forget how it works after a while.
2009-05-19 12:03:47 -07:00
Android (Google) Code Review
7f068cb1f6 Merge change 1957 into donut
* changes:
  Settings: Disable network location service by default, enable GPS instead.
2009-05-19 11:15:50 -07:00
Android (Google) Code Review
4ff6fe7638 Merge change 1936 into donut
* changes:
  Recovered the code of the gesture library
2009-05-19 10:32:01 -07:00
Scott Main
d03e95a960 am 221c9552: AI 148972: fix link to the installing guide to 1.5; fix a couple layout bugs in the document. BUG=1860640
Merge commit '221c95526d3e3e23288478b6dd2d24b5ec7e97d5' into donut

* commit '221c95526d3e3e23288478b6dd2d24b5ec7e97d5':
  AI 148972: fix link to the installing guide to 1.5;
2009-05-18 23:25:10 -07:00
Ramanan Rajeswaran
9db44f915a am 808f2919: AI 148962: Default language in Switzerland should be german and not english.
Merge commit '808f2919ee9cd9ff678ef091da0c7b703c929003' into donut

* commit '808f2919ee9cd9ff678ef091da0c7b703c929003':
  AI 148962: Default language in Switzerland should be german and not english.
2009-05-18 23:25:04 -07:00
Android (Google) Code Review
10ab98abc8 Merge change 1579 into donut
* changes:
  Teleca 2b changes
2009-05-18 22:26:25 -07:00
Android (Google) Code Review
9a895f9d0b Merge change 1939 into donut
* changes:
  Temporarily suppress flaky test LocationManagerProximityTest until test harness support can be rolled out.
2009-05-18 19:34:33 -07:00