2590 Commits

Author SHA1 Message Date
Romain Guy
da3003e1d7 Remove exception throw when a view has a self dependency inside a
RelativeLayout.

There are unfortunately successful 3rd party apps declaring self dependencies.
There's no reason to crash the app so just ignore this issue.
2009-07-19 19:49:47 -07:00
Android (Google) Code Review
aad0fcc961 Merge change 7783 into donut
* changes:
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-17 17:50:41 -07:00
Dianne Hackborn
a53b828635 Add "nodpi" density, and expose a bunch of density-related APIs.
Also update the DpiTest app to use nodpi images, and try to have a mode
where it turns off compatibility though it's not quite working.
2009-07-17 16:59:08 -07:00
Android (Google) Code Review
22eef5da75 Merge change 7753 into donut
* changes:
  Add a delay before collecting memory information
2009-07-17 14:43:01 -07:00
Android (Google) Code Review
261a784c44 Merge change 7720 into donut
* changes:
  Fix global ref leak in android.media.AudioRecord. Delete global refs to the native AudioRecord pointer and the callback cookie (for native to Java calls) in the finalize() function and when an error occurs during the allocation of the native resources.
2009-07-17 14:39:52 -07:00
Android (Google) Code Review
cf492afdeb Merge change 6809 into donut
* changes:
  Correctly deliver AppWidgetProvider.onDeleted() events.
2009-07-17 14:27:23 -07:00
Guang Zhu
1f6c72bff6 Add a delay before collecting memory information
Hopefully this gives enough time for more memory recycling. Because it is observed that several seconds after a suite is run, the memory usage could drop by 1-2M.
2009-07-17 14:22:24 -07:00
Jean-Michel Trivi
4bac5a3928 Fix global ref leak in android.media.AudioRecord. Delete global refs
to the native AudioRecord pointer and the callback cookie (for native
to Java calls) in the finalize() function and when an error occurs
during the allocation of the native resources.
2009-07-17 12:05:31 -07:00
Android (Google) Code Review
e96bd12914 Merge change 7707 into donut
* changes:
  * scale surface view's canvas   This will not affect GL/Video views as they're directly using surfce but not canvas.
2009-07-17 11:50:51 -07:00
Android (Google) Code Review
09a903ab5b Merge change 7696 into donut
* changes:
  add hidden Options field for native allocations
2009-07-17 11:04:06 -07:00
Android (Google) Code Review
41f338c6c6 Merge change 7511 into donut
* changes:
  Support addPkcs12Keystore function in CertTool library.
2009-07-17 10:20:43 -07:00
Chung-yih Wang
c9c119e733 Support addPkcs12Keystore function in CertTool library.
The function will be called from the credential storage for decoding
the pkcs12 file and saving the certs/keys into mini-keystore.
2009-07-18 01:17:20 +08:00
Android (Google) Code Review
474b0f2941 Merge change 7686 into donut
* changes:
  MediaScanner: Add check for null object in empty title handling code.
2009-07-17 10:14:32 -07:00
Mitsuru Oshima
34bf2ee9e6 * scale surface view's canvas
This will not affect GL/Video views as they're directly using surfce but not canvas.
2009-07-17 10:11:05 -07:00
Android (Google) Code Review
54f0910138 Merge change 7613 into donut
* changes:
   * Use Fede In/Out animation if one of opening/closing apps is in compatibility mode.  * preserve compatibility window flag when the app updates window's layout params.  * Added assertion in DEFAULT_COMPATIBILITY_INFO object to prevent unintentional modification.  * A few minor updates     * log/dump message improvement     * Removed unnecessary method in FadeInOutAnimator     * Fixed 100 char issue in WindwoManagerServer.java
2009-07-17 09:54:53 -07:00
Mitsuru Oshima
5a2b91dc14 * Use Fede In/Out animation if one of opening/closing apps is in compatibility mode.
* preserve compatibility window flag when the app updates window's layout params.
 * Added assertion in DEFAULT_COMPATIBILITY_INFO object to prevent unintentional modification.
 * A few minor updates
    * log/dump message improvement
    * Removed unnecessary method in FadeInOutAnimator
    * Fixed 100 char issue in WindwoManagerServer.java
2009-07-17 09:53:40 -07:00
Android (Google) Code Review
0e230c574b Merge change 7688 into donut
* changes:
  Copy cached drawables in search dialog.
2009-07-17 09:27:13 -07:00
Bjorn Bringert
dfefa3e915 Copy cached drawables in search dialog.
Before, Drawables for cached icons were reused. This is not good,
since they can then share mutable state information. This change
copies all Drawables when getting them from the cache, storing
only the constant state in the cache.

Hopefully fixes http://b/issue?id=1984813
2009-07-17 17:22:44 +01:00
Mike Reed
1b22b97925 add hidden Options field for native allocations 2009-07-17 11:21:47 -04:00
Mike Lockwood
bdc0e82f9c MediaScanner: Add check for null object in empty title handling code.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-17 08:17:45 -04:00
Jean-Michel Trivi
19e53f7ae5 Delete global ref to the weak reference to the SynthProxy in the
native_finalize function, that was created in native_setup to prevent
leaking refs.
2009-07-16 20:13:12 -07:00
Android (Google) Code Review
f32f746b83 Merge change 7645 into donut
* changes:
  Make the SearchDialog's AutoCompleteTextView dropdown respect the IME again when the user presses right or left from a query-jammed suggestion to continue editing. Previously we required the user to press on the text field again in order to get the IME to show.
2009-07-16 19:54:19 -07:00
Android (Google) Code Review
3e522c45b2 Merge change 7498 into donut
* changes:
  Adding public intents for TTS to enable checking for TTS data, installing TTS data, and finding out when the TTS queue has finished processing.
2009-07-16 19:54:02 -07:00
Mike LeBeau
ffe3ecf2b1 Make the SearchDialog's AutoCompleteTextView dropdown respect the
IME again when the user presses right or left from a query-jammed
suggestion to continue editing. Previously we required the user
to press on the text field again in order to get the IME to show.

We accomplish this by factoring out the code to 'ensureImeVisible'
into a separate method and calling that from SearchDialog.

Fixes http://b/1976338
2009-07-16 19:51:48 -07:00
Android (Google) Code Review
733cbb0009 Merge change 7492 into donut
* changes:
  Delete leaked global ref in AudioTrack constructor.
2009-07-16 18:34:15 -07:00
Charles Chen
49a60157d1 Adding public intents for TTS to enable checking for TTS data,
installing TTS data, and finding out when the TTS queue has
finished processing.
2009-07-16 18:32:07 -07:00
Android (Google) Code Review
3735df20ae Merge change 7545 into donut
* changes:
  MountListener: When we connect to vold, explicitly mount external storage. Vold no longer mounts storage automatically so it doesnt interfere with the framework booting.
2009-07-16 18:10:48 -07:00
Android (Google) Code Review
97a67cc281 Merge change 7544 into donut
* changes:
  sdutil: Up the mount/unmount wait times to account for disk check + reaper time
2009-07-16 18:10:24 -07:00
Android (Google) Code Review
9db0d36c61 Merge change 7600 into donut
* changes:
  Update youtube bookmark
2009-07-16 17:51:01 -07:00
Android (Google) Code Review
a0eb87db12 Merge change 7619 into donut
* changes:
  Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus search.
2009-07-16 17:06:47 -07:00
Romain Guy
6bdbfcfa77 Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus
search.

This change makes sure the focus search does not attempt to traverse views from
the recycler.
2009-07-16 17:05:36 -07:00
Wink Saville
abccd7eaa5 DO NOT MERGE. Implement IMSI function for CDMA phones
Includes support to get the MCC and MNC from system properties, since
they are known to be unreliable from the network.

This is known to conflict with master and will be
added by hand so as not to break the build.
2009-07-16 16:07:13 -07:00
Jean-Michel Trivi
8a1496855c Delete leaked global ref in AudioTrack constructor. 2009-07-16 15:59:44 -07:00
Android (Google) Code Review
0a6a05cdb5 Merge change 7598 into donut
* changes:
  DO NOT MERGE - Disable settings backup in Donut
2009-07-16 15:38:41 -07:00
Jim Miller
82887f079f Update youtube bookmark 2009-07-16 15:33:10 -07:00
Christopher Tate
10c59a365a DO NOT MERGE - Disable settings backup in Donut 2009-07-16 15:31:39 -07:00
Android (Google) Code Review
43463bfb69 Merge change 7572 into donut
* changes:
  Fix issue #1985606 (Boot crash when battery level of < 15% is reported) in Donut
2009-07-16 15:18:38 -07:00
Dianne Hackborn
fae76f5bde Fix issue #1985502: Sapphire (and any other device) reports that it has a hard keyboard 2009-07-16 15:15:30 -07:00
Android (Google) Code Review
9ce081aa24 Merge change 7551 into donut
* changes:
  Add ability to delay messages in Filter based on constraint.  Use this to delay 500ms for delete keys in the search dialog.
2009-07-16 14:41:10 -07:00
Android (Google) Code Review
eb09c6a07a Merge change 7568 into donut
* changes:
  Issue #1969025: need api for launching intent as if it were coming from another component
2009-07-16 14:31:52 -07:00
Karl Rosaen
8bf92e003d Add ability to delay messages in Filter based on constraint. Use this to delay 500ms for delete keys in the search dialog.
Holding down delete is nice and zippy in the browser now :)
2009-07-16 14:14:08 -07:00
Android (Google) Code Review
58d19d1f63 Merge change 7581 into donut
* changes:
  Fix bug that would cause files with blank title tags to not be shown in the music app.
2009-07-16 14:12:55 -07:00
Marco Nelissen
55973f1aad Fix bug that would cause files with blank title tags to not be shown in the music app. 2009-07-16 14:12:11 -07:00
Dianne Hackborn
0816e0ee6e Fix issue #1985606 (Boot crash when battery level of < 15% is reported) in Donut
Actually I don't think it is really an issue here, because the status bar doesn't
start itself up like this until after we have booted, but let's be safe.

And DO NOT MERGE since this code has changed in master.
2009-07-16 13:50:01 -07:00
Android (Google) Code Review
0bb0597a4b Merge change 7556 into donut
* changes:
  Temporarily suppress ServiceTest.
2009-07-16 13:46:57 -07:00
Dianne Hackborn
2d91af0608 Issue #1969025: need api for launching intent as if it were coming from another component
And now there is.
2009-07-16 13:34:33 -07:00
Android (Google) Code Review
65d99c3cbf Merge change 7537 into donut
* changes:
  Fixing a race condition that causes synthesis to not be aborted even if stop is called.
2009-07-16 13:28:04 -07:00
Android (Google) Code Review
2493097cb0 Merge change 7566 into donut
* changes:
  Fix the style of preferences headers in the light theme.
2009-07-16 13:17:31 -07:00
Romain Guy
c444805f9b Fix the style of preferences headers in the light theme. 2009-07-16 13:16:46 -07:00
Brett Chabot
44ce817e0b Temporarily suppress ServiceTest.
ServiceTest appears to be causing the whole android unit_tests suite to fail in the
continuous system. Suppressing to stop the lab failure spam while continuing to investigate.
2009-07-16 12:20:53 -07:00