Commit Graph

1335 Commits

Author SHA1 Message Date
Android (Google) Code Review
012bb4d4e5 Merge change 20673 into donut
* changes:
  Fix bug 2043140. A race condition is encountered when an application invokes shutdown() on its TextToSpeech object while is has speak() requests still running. Since the TTS service destructor releases the synthesizer resources and sets the corresponding synth reference to null, an NPE was observed. The fix consists in catching NPEs whenever the sNativeSynth object is accessed, and return the matching error for the call. This change is a "low risk" version of the fix for bug 2025765i (same issue) which was reverted because it was higher risk than this CL: it affected the logic of each call to sNativeSynth. This CL only sets an error code when an NPE is fired because sNativeSynth is null.
2009-08-11 15:18:29 -07:00
Android (Google) Code Review
90a23aa50a Merge change 20806 into donut
* changes:
  Remove flaky auto complete tests from continuous.
2009-08-11 14:45:08 -07:00
Android (Google) Code Review
7e78445103 Merge change 20768 into donut
* changes:
  Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
2009-08-11 13:58:59 -07:00
Jean-Baptiste Queru
4328f07b84 Merge snapshot version of donut back into main tree 2009-08-11 13:32:28 -07:00
Jean-Baptiste Queru
64814e5c25 donut snapshot 2009-08-11 13:12:34 -07:00
Android (Google) Code Review
b57ee9e0f0 Merge change 20713 into donut
* changes:
  Updated preloaded-classes file.
2009-08-11 12:48:36 -07:00
Android (Google) Code Review
328357bf69 Merge change 20779 into donut
* changes:
  DO NOT MERGE. This is merged from master. Fix couple of bugs in the meminfo report.  . added the new "/data/dalvik-cache/" to dalvik heap  . shortened the starting line's length from 40 to 30 to handle the case where there is no name  . fixed the pri/shared for others. It was swapped.
2009-08-11 12:47:36 -07:00
Android (Google) Code Review
e045928086 Merge change 20738 into donut
* changes:
  Fix a bug in getSocketError() in VpnService.
2009-08-11 10:01:18 -07:00
Android (Google) Code Review
4c1fc64a3e Merge change 20719 into donut
* changes:
  Fix order of setting/saving state in VpnService.
2009-08-11 09:44:26 -07:00
Android (Google) Code Review
b61bc0c19e Merge change 20729 into donut
* changes:
  Fix the bug that EXIF attributes are always cached.
2009-08-11 08:54:10 -07:00
Android (Google) Code Review
3d3c180d51 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
Android (Google) Code Review
bb1f5e1e83 Merge change 20514 into donut
* changes:
  Fix bug 2022435. Add new intent and matching extra to signal the completion of the language pack installer. This is used by CL 20513.
2009-08-10 15:23:39 -07:00
Eric Laurent
efd9ad93ff Test for issue 2041105: CPU pegged after lost of bluetooth connection[WAR ROOM].
Merge change 7419 from master that may help eliminate the problem.
This change was for a different use case (when disabling A2DP to switch output to SCO) but without a repro case it is worth trying.
2009-08-08 06:41:09 -07:00
Android (Google) Code Review
8d923e758c Merge change 20304 into donut
* changes:
  More work on issue #2030135: Device sluggish
2009-08-06 13:51:04 -07:00
Android (Google) Code Review
0215f0f111 Merge change 20267 into donut
* changes:
  Do not merge
2009-08-06 10:17:15 -07:00
Android (Google) Code Review
ac26474dec Merge change 20230 into donut
* changes:
  Cleanup - Specify the version and rel id.
2009-08-05 22:14:47 -07:00
Android (Google) Code Review
f128c77dbb Merge change 20229 into donut
* changes:
  Add 3->donut diff report to SDK docs.
2009-08-05 22:10:10 -07:00
Android (Google) Code Review
8643999543 Merge change 20228 into donut
* changes:
  add installing/upgrading docs for donut preview sdk and update eclipse ide doc to include new AVD Manager
2009-08-05 22:06:40 -07:00
Android (Google) Code Review
3284d510fe Merge change 20140 into donut
* changes:
  Work on issue #2030135: Device sluggish
2009-08-05 18:34:55 -07:00
Android (Google) Code Review
341b502c5c Merge change 20144 into donut
* changes:
  Remove flaky MonitorTest#testInterrupt from continuous, and attempt to make AutoCompletePopup tests more reliable.
2009-08-05 17:49:41 -07:00
Android (Google) Code Review
f58d816e43 Merge change 20037 into donut
* changes:
  fix issue with gids not being added for packages with shared user id
2009-08-05 15:42:54 -07:00
Android (Google) Code Review
7bd04d06d7 Merge change 20038 into donut
* changes:
  Remove debug code which reads the max_events_per_sec property on every touch event
2009-08-05 12:32:40 -07:00
Android (Google) Code Review
c841629ba7 Merge change 20108 into donut
* changes:
  Guard against remote process dying when retrieving column from cursor.
2009-08-05 10:41:09 -07:00
Android (Google) Code Review
a13c3330fa Merge change 20006 into donut
* changes:
  After each test, the WebView cache should be cleared, otherwise the cache data will pile up.
2009-08-04 14:27:07 -07:00
Android (Google) Code Review
9b17991ac3 Merge change 9704 into donut
* changes:
  Close the search dialog before starting voice search in all cases, i.e., also when launching web search, not just when it's using the intent API.
2009-08-04 14:24:06 -07:00
Android (Google) Code Review
fa25d0a7b0 Merge change 9676 into donut
* changes:
  Merge abbreviated Russian month name fix over from cupcake.
2009-08-04 11:32:44 -07:00
Android (Google) Code Review
decfdbe405 Merge change 9670 into donut
* changes:
  Make aidl annotate onTransact with @Override
2009-08-04 11:20:12 -07:00
Android (Google) Code Review
30ed5edd10 Merge changes 9554,9555 into donut
* changes:
  Import revised translations.  DO NOT MERGE
  Merge Korean abbreviated date format fix from cupcake.
2009-08-03 16:59:37 -07:00
Android (Google) Code Review
bab5be4921 Merge change 9522 into donut
* changes:
  Merge Korean abbreviated date format fix from cupcake.
2009-08-03 15:16:18 -07:00
Android (Google) Code Review
48d7d2c60b Merge change 9378 into donut
* changes:
  add "since" info for reference docs
2009-08-03 11:59:48 -07:00
Android (Google) Code Review
a7bd021f95 Merge change 9502 into donut
* changes:
  Fix bug 2025765. Talkback produced a null pointer exception when being enabled and disabled repeatedly due to a race condition between the onDestroy() of the service, and the use of the service itself. The error occurs when one Talkback thread initiates the destruction of the service (call to onDestroy()) when it invokes shutdown() on its TextToSpeech instance (the client of the service). At the same time, Talkback tries to say that "Accessibility" is unchecked from another thread. During onDestroy(), the reference to the TTS engine (sNativeSynth) is reset to null, which is used in the service in speakInternalOnly(), and setLanguage(). The fix consists in the addition of a static variable that signals that the service has entered onDestroy(). Once this flag is set, all method invocations on sNativeSynth will be dismissed. Note that access to the native resources used by sNativeSynth are synchronized at the native layer, therefore preventing sNativeSynth.shutdown() to interfere with a sNativeSynth.speak() call already underway.
2009-08-03 11:52:25 -07:00
Android (Google) Code Review
e72de3ab19 Merge change 9390 into donut
* changes:
  Name unknown albums after the folder they're in, similar to how songs with no title metadata are named after the file. Only files that are in the root of the card will still belong to the "Unknown Album"
2009-08-03 11:35:18 -07:00
Android (Google) Code Review
d35ca9d5f1 Merge change 9330 into donut
* changes:
  Fix #2025900. If a https request is canceled while openConnection is called and a ssl error happened, the http thread can be blocked for up to 10 min. Added code to detect this case and unlock the thread.
2009-08-03 10:07:00 -07:00
Hung-ying Tyan
b064458185 Issue an error when VPN connection is lost.
+ Add new error code CONNECTION_LOST to VpnManager.
+ Make VpnService call onError() instead of onDisconnect() when
connection is lost.
+ Make VpnService broadcast CONNECTION_LOST when that happens.
2009-08-03 16:22:24 +08:00
Android (Google) Code Review
23c95b3b32 Merge change 9438 into donut
* changes:
  Change some log.i to log.d.
2009-07-31 20:15:15 -07:00
Hung-ying Tyan
6cdee58010 Change some log.i to log.d. 2009-08-01 10:11:46 +08:00
Jean-Baptiste Queru
f8c8a652cd Merge snapshot variant of donut back into the tree 2009-07-31 17:43:58 -07:00
Jean-Baptiste Queru
110b314673 donut snapshot 2009-07-31 17:38:20 -07:00
Android (Google) Code Review
7671e0279e Merge change 9340 into donut
* changes:
  Fix issue 2025872: Deadlock in SoundPool.stop
2009-07-31 08:50:45 -07:00
Android (Google) Code Review
11369693b6 Merge change 9285 into donut
* changes:
  Clear singleton reference during JetPlayer.release()
2009-07-31 07:11:25 -07:00
Android (Google) Code Review
ed2e8e6139 Merge change 9124 into donut
* changes:
  Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called.
2009-07-30 19:53:47 -07:00
Android (Google) Code Review
740dfb83a8 Merge change 9265 into donut
* changes:
  Highlight IMEI-reading as part of READ_PHONE_STATE description
2009-07-30 16:18:21 -07:00
Android (Google) Code Review
adfbb0cb49 Merge change 9243 into donut
* changes:
  Clean up RIL_SIM_* in RILConstants
2009-07-30 15:50:49 -07:00
Android (Google) Code Review
3983194355 Merge change 9159 into donut
* changes:
  check for null native objects, which never happens on a real subclass (we throw in that case) but can happen because we allow the callers to create the base class from java.
2009-07-30 08:16:09 -07:00
Android (Google) Code Review
6e1d81b696 Merge change 9147 into donut
* changes:
  Fix in-app search shortcut icons
2009-07-30 06:06:09 -07:00
Android (Google) Code Review
3d067c43dc Merge change 9145 into donut
* changes:
  Add the encryption option to PptpProfile parcel.
2009-07-30 05:46:07 -07:00
Hung-ying Tyan
907a880fa2 Add the encryption option to PptpProfile parcel. 2009-07-30 20:36:27 +08:00
Android (Google) Code Review
61b773f342 Merge change 9114 into donut
* changes:
  Add state saving mechanism to support proc restart
2009-07-30 04:46:00 -07:00
Hung-ying Tyan
0bd458b9f5 Add state saving mechanism to support proc restart
Also...
+ stop daemons before getting server IP;
+ remove setForeground();
+ add the DBG flag for Log.d calls.

PatchSet 3:
+ add CHALLENGE_ERROR and REMOTE_HUNG_UP to VpnManager
+ broadcast new error codes in VpnService
+ check local IP change instead of dns change
+ move removeStates() to VpnService.onFinalCleanUp()

PatchSet 7:
+ add encryption flag to PptpProfile
+ PptpService and MtpdHelper are revised accordingly
2009-07-30 19:14:50 +08:00
Chung-yih Wang
ccf407f7ac Add unit tests for netkeystore.
+ some boundary checks.
2009-07-30 16:37:48 +08:00