5102 Commits

Author SHA1 Message Date
Android (Google) Code Review
9bacd43d4d Merge change 7625
* changes:
  Whitespace cleanup prior to real work.
2009-07-17 08:40:41 -07:00
Mike Reed
1b22b97925 add hidden Options field for native allocations 2009-07-17 11:21:47 -04:00
Mike Lockwood
2bb99d1e2f GpsLocationProvider: remove mAgpsConfigured configured flag.
This flag was unnecessary because the lower level GPS code already checks for this
and this was causing problems for a GPS implementation that does not use /etc/gps.conf

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-17 10:56:56 -04:00
Daisuke Miyakawa
7674b81a05 Refactor VCard-related code.
Move VCard code from android/syncml/pim to android/pim since the code is not
related to SyncML at all; Previous code was misplaced, I suppose.

Reorganize "Builder" structure:
Create VCardBuilderBase.java as a base class for "Builder" classes.

Separate VCardDataBuilder to several components.
Now, VCardBuilder is able to accept EntryHandlers (interface) which handle each VCard entry.
Add EntriCommitter and ProgressShower as ones of EntryHandler implementations.

Stop using VNode/PropertyNode in the actual importing path. Instead, VCard importer directly
creates ContactStruct object.

PropertyNode is still used in test codes, since it does not drop any kind of information
while ContactStruct does.

All codes are made hidden (with package.html) like the files in syncml directory;
These files are only for Contacts app.

Issue
- due to internal issue 1975498, any performance test cannot be conducted.

Next todos
- Add tests for ContactStruct.
- remove android/syncml directory.
- Rename several methods; old names are based on V??? structure, which does not make sense in the current code.
- Use ContentProviderOperation instead of relying on beginTransaction()/endTransaction().
- Use ContactsContact in Eclair

Related internal issues
- 1784580, 1728351
2009-07-17 07:50:00 -07:00
Android (Google) Code Review
2e661a7c03 Merge change 7671
* changes:
  Free memory on low memory condition.
2009-07-17 07:47:18 -07: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
Android (Google) Code Review
dbee03136f am 733cbb00: Merge change 7492 into donut
Merge commit '733cbb0009d3e16eac2383a694833bdbc0c7269e'

* commit '733cbb0009d3e16eac2383a694833bdbc0c7269e':
  Delete leaked global ref in AudioTrack constructor.
2009-07-17 02:09:14 -07:00
Android (Google) Code Review
c185e7b9d8 am 3735df20: Merge change 7545 into donut
Merge commit '3735df20ae9994a759aa9464534d57eab4af4011'

* commit '3735df20ae9994a759aa9464534d57eab4af4011':
  MountListener: When we connect to vold, explicitly mount external storage.
2009-07-17 02:09:06 -07:00
Android (Google) Code Review
9e1bd09c15 am 97a67cc2: Merge change 7544 into donut
Merge commit '97a67cc281805566d429d4ca6570348fcf6dabd9'

* commit '97a67cc281805566d429d4ca6570348fcf6dabd9':
  sdutil: Up the mount/unmount wait times to account for disk check + reaper time
2009-07-17 02:09:02 -07:00
Android (Google) Code Review
07bca34551 am 9db0d36c: Merge change 7600 into donut
Merge commit '9db0d36c6141d8e0ccf6ca6c450872f03b55c15f'

* commit '9db0d36c6141d8e0ccf6ca6c450872f03b55c15f':
  Update youtube bookmark
2009-07-17 02:08:53 -07:00
Android (Google) Code Review
5c28964650 Merge branch 'master' of ssh://android-git.corp.google.com:29418/platform/frameworks/base 2009-07-16 23:47:19 -07:00
Android (Google) Code Review
fe5d9f5252 am a0eb87db: Merge change 7619 into donut
Merge commit 'a0eb87db12aed10bf578e06a35cf89d1779d7cf6'

* commit 'a0eb87db12aed10bf578e06a35cf89d1779d7cf6':
  Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus
2009-07-16 23:47:06 -07:00
Wink Saville
317620c751 am abccd7ea: (-s ours) DO NOT MERGE. Implement IMSI function for CDMA phones
Merge commit 'abccd7eaa52d0b8579ba3d1c954dfe7529945c0f'

* commit 'abccd7eaa52d0b8579ba3d1c954dfe7529945c0f':
  DO NOT MERGE. Implement IMSI function for CDMA phones
2009-07-16 23:46:59 -07:00
Android (Google) Code Review
15601c64df am 0a6a05cd: (-s ours) Merge change 7598 into donut
Merge commit '0a6a05cdb57561e2d932a62a018c83ca5667f4da'

* commit '0a6a05cdb57561e2d932a62a018c83ca5667f4da':
  DO NOT MERGE - Disable settings backup in Donut
2009-07-16 23:46:50 -07:00
Android (Google) Code Review
8efe5ec98f am 43463bfb: (-s ours) Merge change 7572 into donut
Merge commit '43463bfb69fc8fab33afbd5b5f7fe4b7b823a7a2'

* commit '43463bfb69fc8fab33afbd5b5f7fe4b7b823a7a2':
  Fix issue #1985606 (Boot crash when battery level of < 15% is reported) in Donut
2009-07-16 23:46:45 -07:00
Jaikumar Ganesh
7f74d534f3 Reconnect to A2DP device only if it supports that profile, fix HF AG UUID. 2009-07-16 23:42:42 -07:00
Mike Lockwood
15431a9482 EventHub: Compare name instead of id when excluding event input devices.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-17 00:10:10 -04:00
Feng Qian
0aeed6af6e Free memory on low memory condition.
This allows WebView to release cached resources and continue running.
2009-07-16 20:57:46 -07: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
Jason Sams
c1ea948ee8 More usability tweaks including turning the icons right side up. 2009-07-16 19:09:33 -07:00
Nicolas Catania
cb2e00eedc Impl. of the metadata getters.
In Metadata, implemented the method that unmarshall the data from
a metadata parcel an return java entities.

Add 2 new types of metadata (Boolean and Date) and fixed an issue
in TimedText: the w3c standard specify a duration as well as the
time to be played => added a duration field.

In MetadataParserTest.java:
Moved the util private methods at the bottom of the file.
Added new tests for the getters (GETTERS section)
2009-07-16 18:34:53 -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
Dianne Hackborn
265c9d2a14 am fae76f5b: Fix issue #1985502: Sapphire (and any other device) reports that it has a hard keyboard
Merge commit 'fae76f5bdeed68efd85805db143b0426de92f7e0'

* commit 'fae76f5bdeed68efd85805db143b0426de92f7e0':
  Fix issue #1985502: Sapphire (and any other device) reports that it has a hard keyboard
2009-07-16 17:54:44 -07:00
Android (Google) Code Review
b2536b0b5c am 9ce081aa: Merge change 7551 into donut
Merge commit '9ce081aa2493dc163a42decfd4e1756b5c55a834'

* commit '9ce081aa2493dc163a42decfd4e1756b5c55a834':
  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 17:54:35 -07:00
Android (Google) Code Review
019de98b84 am eb09c6a0: Merge change 7568 into donut
Merge commit 'eb09c6a07abf58b4da2c4baf3800a1f96e3b0731'

* commit 'eb09c6a07abf58b4da2c4baf3800a1f96e3b0731':
  Issue #1969025: need api for launching intent as if it were coming from another component
2009-07-16 17:54:31 -07:00
Android (Google) Code Review
5b3f457845 am 58d19d1f: Merge change 7581 into donut
Merge commit '58d19d1f6321161fdcd10140fe7b9d9053f80bd2'

* commit '58d19d1f6321161fdcd10140fe7b9d9053f80bd2':
  Fix bug that would cause files with blank title tags to not be shown in the music app.
2009-07-16 17:54:27 -07:00
Android (Google) Code Review
8e9bad1a3c am 0bb0597a: Merge change 7556 into donut
Merge commit '0bb0597a4b5b0825f710f1bd63efb7069cecd918'

* commit '0bb0597a4b5b0825f710f1bd63efb7069cecd918':
  Temporarily suppress ServiceTest.
2009-07-16 17:54:21 -07:00
Android (Google) Code Review
db9acb74ab am 65d99c3c: Merge change 7537 into donut
Merge commit '65d99c3cbf149776c7ec4ea1f3cb1f4470d2be83'

* commit '65d99c3cbf149776c7ec4ea1f3cb1f4470d2be83':
  Fixing a race condition that causes synthesis to not be aborted
2009-07-16 17:54:13 -07:00
Android (Google) Code Review
fff0fd748c am 2493097c: Merge change 7566 into donut
Merge commit '2493097cb077b772af779bf14251e3ac0fff95f8'

* commit '2493097cb077b772af779bf14251e3ac0fff95f8':
  Fix the style of preferences headers in the light theme.
2009-07-16 17:54:07 -07:00
Android (Google) Code Review
3d88fc00b3 am 3e1663a2: Merge change 7536 into donut
Merge commit '3e1663a2539ff0b939193304cfb601f6b134af7d'

* commit '3e1663a2539ff0b939193304cfb601f6b134af7d':
  fix FILE* version of ZipUtils::inflateToBuffer
2009-07-16 17:54:01 -07:00
Android (Google) Code Review
53245df9c1 am 8e3c3f64: Merge change 7514 into donut
Merge commit '8e3c3f6461b53dc587ba92b3fe8cfbeb985f8514'

* commit '8e3c3f6461b53dc587ba92b3fe8cfbeb985f8514':
  Only parse search suggestions that look like HTML
2009-07-16 17:53:57 -07:00
Android (Google) Code Review
991e986bed am 5380aa29: Merge change 7512 into donut
Merge commit '5380aa29470274de5b3e445d577ef0834cfacb71'

* commit '5380aa29470274de5b3e445d577ef0834cfacb71':
  Get rid of drawing hacks for search dialog suggestions
2009-07-16 17:53:53 -07:00
Bjorn Bringert
8145c35fdb am ee716fa2: Make sure SearchDialog.mSearchable != null in key handlers
Merge commit 'ee716fa2b03666622a73f8cc54dae4afd091353d'

* commit 'ee716fa2b03666622a73f8cc54dae4afd091353d':
  Make sure SearchDialog.mSearchable != null in key handlers
2009-07-16 17:53:48 -07:00
Android (Google) Code Review
cad18157e7 am c93af6dc: Merge change 7441 into donut
Merge commit 'c93af6dc5bc78f02d4ee549890da12dc669fc2fe'

* commit 'c93af6dc5bc78f02d4ee549890da12dc669fc2fe':
  Allow system colors in <font> tags
2009-07-16 17:53:44 -07:00
Android (Google) Code Review
dc6399bcdf am 0d039ba3: Merge change 7508 into donut
Merge commit '0d039ba328a59fc81280fbecf68aad2d2cba7234'

* commit '0d039ba328a59fc81280fbecf68aad2d2cba7234':
  keystore: Fix a compile warning.
2009-07-16 17:53:40 -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
6deb7d47cc Merge change 7633
* changes:
  Fix conflict with automatic DPI support on high density devices by forcing bitmap loading to not be scaled.
2009-07-16 17:49:05 -07:00
Jason Sams
764205c194 Fix conflict with automatic DPI support on high density devices by forcing bitmap loading to not be scaled. 2009-07-16 17:47:40 -07:00
Robert Greenwalt
86e9e55c54 Whitespace cleanup prior to real work. 2009-07-16 17:31:20 -07:00
Marco Nelissen
3a3ba05782 Another fix for building libstagefright for the simulator, plus whitespace adjustments. 2009-07-16 17:25:13 -07:00
Marco Nelissen
7013c8bb9e Fixes to make libstagefright build for the simulator. 2009-07-16 17:10:51 -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