391 Commits

Author SHA1 Message Date
Bjorn Bringert
9cab7f7684 Allow system colors in <font> tags
Fixes http://b/issue?id=1970693
2009-07-15 22:47:03 +01:00
Patrick Scott
fe4fec7c66 Remove all our old high priority knowledge since WebCore will manage it.
Also removed an unused variable in RequestQueue.java.
2009-07-15 15:48:02 -04:00
Bjorn Bringert
4e4371186d Update Searchables test with new GlobalSearch name
Fixes http://b/issue?id=1981558
2009-07-15 19:04:07 +01:00
Jaikumar Ganesh
1c42769339 Rename registerPhoneStateChange to registerPreciseCallStateChange
As registerPhoneStateChange was actually notifying CallStateChange,
rename appropriately.
2009-07-14 21:29:41 -07:00
Dianne Hackborn
dace230043 resolved conflicts for merge of b06ea706 to master 2009-07-14 12:51:00 -07:00
Dianne Hackborn
b06ea70653 Add reporting of activity movement for search manager.
This adds a new API with the activity manager to find out about movement between
activities.  For my sanity, the old IActivityWatcher is now renamed to
IActivityController, and the new activity movement interface is named
IActivityWatcher.

This changes the search manager itself to use the new API to manage its state.
Note that there are still problems when going back to the search dialog after
it was hidden -- the suggestions window no longer appears until you explicitly
dismiss and re-show it.
2009-07-14 11:37:11 -07:00
Android (Google) Code Review
38a34b2c75 am 2d791055: Merge change 6820 into donut
Merge commit '2d7910555ab6b376e8cd1646db6c329c1cd1adb7'

* commit '2d7910555ab6b376e8cd1646db6c329c1cd1adb7':
  Fixed NPE bugs in Uri. Fixes internal issue #1724719.
2009-07-12 06:06:31 -07:00
Bob Lee
5621f0d928 Fixed NPE bugs in Uri. Fixes internal issue #1724719.
Modified getQueryParameter() to use the encoded query string. Fixes internal issue #1749094.
2009-07-10 14:54:08 -07:00
Bob Lee
c8e852da32 resolved conflicts for merge of ad94a983 to master 2009-07-10 14:13:37 -07:00
Android (Google) Code Review
ad94a98364 Merge change 6801 into donut
* changes:
  Uri.EMPTY.toString() was returning null due to an initialization order bug. Fixes internal issue #1957015.
2009-07-10 13:40:02 -07:00
Bob Lee
b8b8f044f4 Uri.EMPTY.toString() was returning null due to an initialization order bug. Fixes internal issue #1957015. 2009-07-10 13:34:37 -07:00
Android (Google) Code Review
1a3ef96b34 am e57ff0e1: Merge change 6652 into donut
Merge commit 'e57ff0e1db46559699e4fadfbe9abe67ef9472fe'

* commit 'e57ff0e1db46559699e4fadfbe9abe67ef9472fe':
  Call clearCache on WebView before collecting memory information.
2009-07-09 13:47:07 -07:00
Guang Zhu
889181d7fd Call clearCache on WebView before collecting memory information. 2009-07-09 12:55:15 -07:00
Android (Google) Code Review
cd964761dc am 91b0a701: Merge change 6284 into donut
Merge commit '91b0a7013e4b6d170087cb4c9a3c35b787f92a6b'

* commit '91b0a7013e4b6d170087cb4c9a3c35b787f92a6b':
  Run search UI on its own thread.
2009-07-08 13:52:26 -07:00
Bjorn Bringert
444c727e0e Run search UI on its own thread.
Details:

- Add a new SearchDialogWrapper class that makes sure
  all access to the SearchDialog is run one a single thread
  other than the main ServerThread.
- Don't save/restore seach dialog state in Activity.
  This resulted in lots of calls to the SearchManager
  throughout the life cycle of all activities, for
  the questionable benefit of restoring the search dialog
  in a few cases.
- Remove search UI state save/restore, and the isVisible()
  method from SearchManagerService. They are no longer used,
  and were tricky to implement since they return values from
  the search UI thread to the service.
- Handle configuration changes in searchDialogWrapper instead
  of calling through from Activity.

Fixes http://b/issue?id=1938101

TODO:
- Activity.performPause() calls stopSearch(). This call may not happen
  until the new activity has been started. If the new activity starts a
  search immediately, this search could be cancelled by the old activity's
  call top stopSearch().
2009-07-08 17:43:49 +01:00
Android (Google) Code Review
a0ad661fc9 am a83bef59: Merge change 6396 into donut
Merge commit 'a83bef597430e9336566ca38330cc0f4e793abe1'

* commit 'a83bef597430e9336566ca38330cc0f4e793abe1':
  Add unit test for NeighboringCellInfo.
2009-07-07 18:10:38 -07:00
Android (Google) Code Review
a83bef5974 Merge change 6396 into donut
* changes:
  Add unit test for NeighboringCellInfo.
2009-07-07 18:09:21 -07:00
Android (Google) Code Review
0236141742 am 7bf9f930: Merge change 6415 into donut
Merge commit '7bf9f930d986335cd24dc15e2ee588b851f194d4'

* commit '7bf9f930d986335cd24dc15e2ee588b851f194d4':
  Fixes #1748951. Calling setListSelection() explicitely should cancel the selection hidden flag.
2009-07-07 15:21:16 -07:00
Android (Google) Code Review
7bf9f930d9 Merge change 6415 into donut
* changes:
  Fixes #1748951. Calling setListSelection() explicitely should cancel the selection hidden flag.
2009-07-07 15:19:14 -07:00
Romain Guy
fb7ed10735 Fixes #1748951. Calling setListSelection() explicitely should cancel the selection hidden flag. 2009-07-07 15:18:30 -07:00
John Wang
75efd5d525 Add unit test for NeighboringCellInfo.
Add small unit test for NeighboringCellInfo in AndroidTests. The old telephony unit test directory, CoreTest/android, is marked as deprecated in AndroidTestHowto.

	new file:   tests/AndroidTests/src/com/android/unit_tests/NeighboringCellInfoTest.java
2009-07-07 14:02:11 -07:00
Android (Google) Code Review
8b57c2c6be am 2c5a3aeb: Merge change 6326 into donut
Merge commit '2c5a3aeba3f7c0d362829c57a8fffdba0a0e81c1'

* commit '2c5a3aeba3f7c0d362829c57a8fffdba0a0e81c1':
  BackupManager wrapper class improvements
2009-07-07 11:53:23 -07:00
Android (Google) Code Review
2c5a3aeba3 Merge change 6326 into donut
* changes:
  BackupManager wrapper class improvements
2009-07-07 11:52:01 -07:00
Christopher Tate
c8daa76925 BackupManager wrapper class improvements
+ Now rechecks the cached IBinder each time the wrapper is used, and if it's
still null (i.e. the BackupManager was constructed before the system service
came up) it's refetched.  This lets even system code cache a single
BackupManager instance and just keep making calls through it without worrying
about interactions with the life cycle of the backup service.

+ Added a static dataChanged(packageName) method as a convenience for code that
needs to indicate that some other package needs a backup pass.  This is useful
even for third party code in the case of multiple packages in a shared-uid
situation.
2009-07-07 11:40:07 -07:00
Android (Google) Code Review
6e2863ec16 am 37ea7112: Merge change 6338 into donut
Merge commit '37ea71122579e9e2ad1f91b3eca5e4d436b54ea9'

* commit '37ea71122579e9e2ad1f91b3eca5e4d436b54ea9':
  septet-align UD after any UDH for GSM-7bit coding
2009-07-06 23:49:45 -07:00
Tammo Spalink
0fd833a50f septet-align UD after any UDH for GSM-7bit coding 2009-07-07 14:17:28 +08:00
Android (Google) Code Review
1eebdc04f0 am d3de90f3: Merge change 5995 into donut
Merge commit 'd3de90f38d779d28a724e89297c83e6ba1a66fa7'

* commit 'd3de90f38d779d28a724e89297c83e6ba1a66fa7':
  Turn off kerning when testing TextUtils.ellipsize().
2009-07-06 11:02:25 -07:00
Patrick Scott
18dd5f0d25 Improve the Vibrator service by keeping track of multiple vibration requests.
There are 2 types of vibrations: simple and repeated. Simple vibrations run for
a given length of time while repeated patterns run until canceled or the calling
process dies.

If a vibration is currently running and another request is issued, the newer
request always takes precedence unless the current vibration is a simple one and
the time left is longer than the new request.

If a repeating vibration is running and a new request overrides that vibration,
the current vibration is pushed onto a stack. Once the new vibration completes,
the previous vibration resumes. IBinder tokens are used to identify Vibration
requests which means that multiple calls to Vibrator.vibrate with the same
Vibrator object will override previous vibrations on that object.
2009-07-06 08:31:33 -04:00
Daisuke Miyakawa
92aaac8cb0 am 40336782: Add tests. internal bug id 1868702.
Merge commit '40336782eaa797bca3d1487784af113ba3b143ff'

* commit '40336782eaa797bca3d1487784af113ba3b143ff':
  Add tests. internal bug id 1868702.
2009-07-03 08:58:24 -07:00
Android (Google) Code Review
d3de90f38d Merge change 5995 into donut
* changes:
  Turn off kerning when testing TextUtils.ellipsize().
2009-07-02 10:46:37 -07:00
Daisuke Miyakawa
40336782ea Add tests. internal bug id 1868702. 2009-07-02 14:33:39 +09:00
Eric Fischer
1f0dac38df Turn off kerning when testing TextUtils.ellipsize().
Otherwise, the different text measurement methods produce slightly
different results and cause the text to show different results for
Spanned vs. non-Spanned source strings.

Bug 1837826
2009-07-01 18:04:23 -07:00
Android (Google) Code Review
6a840aacc4 am b7d7d5f6: Merge change 5806 into donut
Merge commit 'b7d7d5f6380e1b7c2b1754be05b0113b91ce01c9'

* commit 'b7d7d5f6380e1b7c2b1754be05b0113b91ce01c9':
  Use additional functions to collect more memory information data points.
2009-07-01 16:01:58 -07:00
Android (Google) Code Review
50f380074a am 0178afe4: Merge change 5485 into donut
Merge commit '0178afe415a598b5b3b4ab5bbeec96a079a124e1'

* commit '0178afe415a598b5b3b4ab5bbeec96a079a124e1':
  cdma sms is91 support
2009-07-01 11:19:24 -07:00
Android (Google) Code Review
4a301cb495 am 8aadf7ae: Merge change 5359 into donut
Merge commit '8aadf7ae278961926de5452a46863503303735cf'

* commit '8aadf7ae278961926de5452a46863503303735cf':
  fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
2009-07-01 11:19:19 -07:00
Guang Zhu
c899d0c7d9 resolved conflicts for merge of 53e083c9 to master 2009-07-01 11:03:25 -07:00
Android (Google) Code Review
b7d7d5f638 Merge change 5806 into donut
* changes:
  Use additional functions to collect more memory information data points.
2009-06-30 13:20:44 -07:00
Guang Zhu
40656be658 Use additional functions to collect more memory information data points. 2009-06-30 11:56:13 -07:00
Android (Google) Code Review
0178afe415 Merge change 5485 into donut
* changes:
  cdma sms is91 support
2009-06-29 19:22:11 -07:00
Android (Google) Code Review
8aadf7ae27 Merge change 5359 into donut
* changes:
  fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
2009-06-29 19:22:05 -07:00
Android (Google) Code Review
1f9508ce4d am ae352273: Merge change 5192 into donut
Merge commit 'ae3522734ef83254626cacee18a9490f6af62415'

* commit 'ae3522734ef83254626cacee18a9490f6af62415':
  make BitwiseInputStream.read return int
2009-06-29 16:37:46 -07:00
Android (Google) Code Review
f6ff591dec am 72eb0aca: Merge change 5483 into donut
Merge commit '72eb0acad5cffc57ce5006f6deab29ee259e461e'

* commit '72eb0acad5cffc57ce5006f6deab29ee259e461e':
  Expand support for different screen sizes.
2009-06-29 16:37:17 -07:00
Android (Google) Code Review
b5fba86e4c am 56bc7156: Merge change 5537 into donut
Merge commit '56bc71565ecd72bf7a3e45b5c871b0407ed9f781'

* commit '56bc71565ecd72bf7a3e45b5c871b0407ed9f781':
  Add a test for SharedPreferencesBackupHelper
2009-06-29 16:36:45 -07:00
Android (Google) Code Review
53e083c90d Merge change 5645 into donut
* changes:
  Added a new operation mode where user can launch all tests under a folder from test app ui.
2009-06-29 15:44:19 -07:00
Guang Zhu
f92bd42a70 Added a new operation mode where user can launch all tests under a folder from test app ui. 2009-06-29 14:45:50 -07:00
Tammo Spalink
3a08cec99e fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
addresses http://buganizer/issue?id=1489784
2009-06-29 12:51:22 +08:00
Tammo Spalink
8203dc1bc8 cdma sms is91 support 2009-06-28 16:23:53 +08:00
Android (Google) Code Review
ae3522734e Merge change 5192 into donut
* changes:
  make BitwiseInputStream.read return int
2009-06-26 14:41:51 -07:00
Android (Google) Code Review
72eb0acad5 Merge change 5483 into donut
* changes:
  Expand support for different screen sizes.
2009-06-26 13:46:07 -07:00
Dianne Hackborn
723738cfae Expand support for different screen sizes.
Applications can now declare that they support small, normal, or
large screens.  Resource selection can also be done based on these
sizes.  By default, pre-Donut apps are false for small and large,
and Donut or later apps are assumed to support all sizes.  In either
case they can use <supports-screens> in their manifest to declare
what they actually support.
2009-06-26 13:37:05 -07:00