3415 Commits

Author SHA1 Message Date
Li Zhe
ebe66345e7 Framework changes to support HSDPA/HSUPA/HSPA
HSDPA: High-Speed Downlink Packet Access
HSUPA: High-Speend Uplink Packet Access
HSPA:  High-Speed Packet Access

Add support for HSDPA/HSUPA/HSPA:
 1) extend TelephonyManager.NETWORK_TYPE for HSDPA/HSUPA/HSPA
 2) extend ServiceState.RADIO_TECHNOLOGY for HSDPA/HSUPA/HSPA
 3) set radioTechnology into ServiceState in GsmServiceStateTracker
 4) change the implementation of TelephonyManager.getNetworkType to
    solve the competition timing issue between the time of setting
    system property and the time of receiving notification through
    PhoneStateListener
    4.1) add a getNetworkType interface in ITelephony.aidl
 5) add icons resources for HSDPA/HSUPA/HSPA
 6) make use of HSDPA/HSUPA/HSPA icons in StatusBarPolicy
2009-08-21 13:41:05 -07:00
Android (Google) Code Review
358e6e3c12 Merge change 22292 into eclair
* changes:
  Adding a "Photo" directory under Contacts.
2009-08-21 13:40:40 -07:00
Android (Google) Code Review
cc0a17cb08 Merge change 22290 into eclair
* changes:
  Fix typo: the x offset was assigned to the y coordinate.
2009-08-21 13:36:30 -07:00
Eric Fischer
cc5dfa9ed0 Add FLAG_ACTIVITY_NEW_TASK flag when adding a word to the dictionary.
Without this, the runtime would restart when you tried to add a word
from the search widget.

Bug 2069689
2009-08-21 13:31:54 -07:00
Tom Taylor
4ddacd014b Purge cache
When persisting a PDU, make sure we purge any old instances of the
PDU from the cache.
2009-08-21 13:09:55 -07:00
Jean-Baptiste Queru
dd03c6135f resolved conflicts for merge of 081a136d to eclair 2009-08-21 12:59:04 -07:00
Anonymous Coward
081a136d25 Remove third party support for Quick Search Box (aka global search).
- @hides relevant APIs
- removes relevant javadoc
- enforces that only system apps can participate

note: general support is still there, will be easy to reenable when we are ready.
2009-08-21 12:47:14 -07:00
Android (Google) Code Review
bfcfb7eec6 Merge change 22302 into eclair
* changes:
  Set BondState to Canceled when user cancels pairing.
2009-08-21 11:54:15 -07:00
Jaikumar Ganesh
397d8f4f48 Set BondState to Canceled when user cancels pairing. 2009-08-21 11:51:12 -07:00
Dmitri Plotnikov
eb1a2ec4b2 Adding a "Photo" directory under Contacts. 2009-08-21 11:11:19 -07:00
Romain Guy
07ef599b9f Fix typo: the x offset was assigned to the y coordinate.
Also remove a couple of useless casts.
2009-08-21 10:40:49 -07:00
Dianne Hackborn
3be63c0930 Infrastructure for supporting wallpaper previews.
Various things that will allow us to show previews of wallpapers.
Also some fixes to animations across wallpapers.
2009-08-20 20:34:42 -07:00
Android (Google) Code Review
be8b77636b Merge change 22178 into eclair
* changes:
  - add a reset to EntityIterator to allow it to go back to the beginning - clean up the debug printing of SyncResult
2009-08-20 20:02:37 -07:00
Bob Lee
5dc0c00258 am e97c2006: Updated Browser and MCS to use shared default trust manager instead of initializing their own copies.
Merge commit 'e97c2006bf7c391c933307e520a392e532aa5d6a' into eclair

* commit 'e97c2006bf7c391c933307e520a392e532aa5d6a':
  Updated Browser and MCS to use shared default trust manager instead of initializing their own copies.
2009-08-20 19:31:59 -07:00
Bob Lee
e97c2006bf Updated Browser and MCS to use shared default trust manager instead of initializing their own copies. 2009-08-20 18:48:31 -07:00
Fred Quintana
77709755b7 - add a reset to EntityIterator to allow it to go back to the beginning
- clean up the debug printing of SyncResult
2009-08-20 17:18:58 -07:00
Android (Google) Code Review
9468f8006d Merge change 22086 into eclair
* changes:
  Tweak the ContactsHeaderWidget to match the newest specs.
2009-08-20 17:12:43 -07:00
Android (Google) Code Review
4e297203ec Merge change 22154 into eclair
* changes:
  Fix fastscroll overlay size on WVGA by using dip.
2009-08-20 16:49:25 -07:00
Amith Yamasani
1ffaebc41b Fix fastscroll overlay size on WVGA by using dip.
Move constant dimensions to resources.
2009-08-20 16:15:46 -07:00
Android (Google) Code Review
01549b21c4 Merge change 22008 into eclair
* changes:
  When bringing up the media controller view, focus the play/pause button.
2009-08-20 15:08:36 -07:00
Eric Fischer
b7aec9124a Import revised translations. DO NOT MERGE 2009-08-20 14:07:18 -07:00
Fred Quintana
e0616ffb74 add a supportsUploading flag in the SyncAdapter description and honor it in the SyncManager 2009-08-20 13:52:22 -07:00
Android (Google) Code Review
9e61acd9ff Merge change 22105 into eclair
* changes:
  Add calendar sliding windows setting.
2009-08-20 13:46:06 -07:00
Ken Shirriff
f0f13aeadd Add calendar sliding windows setting.
GOOGLE_CALENDAR_SYNC_WINDOW_UPDATE_DAYS indicates how often to update
the calendar sync window.
2009-08-20 13:19:14 -07:00
Android (Google) Code Review
05b11cd7cc Merge change 22082 into eclair
* changes:
  Address b/2064664 by setting mThumbOffset to half the width of the thumb by default.
2009-08-20 12:22:08 -07:00
Android (Google) Code Review
79e338fb2a Merge change 22089 into eclair
* changes:
  The MetaData API is optional and getMetadata may return null if unsupported.
2009-08-20 11:43:50 -07:00
Daniel Sandler
8d28c3b3bd Address b/2064664 by setting mThumbOffset to half the width of the thumb by default.
mThumbOffset previously defaulted to 0, which caused drawing artifacts at
extrema of very long SeekBars.

The thumb offset can still be overridden by declaring android:thumbOffset in
layout or calling SeekBar.setThumbOffset(int).

Bug: 2064664
2009-08-20 14:14:19 -04:00
Andreas Huber
d44d33b01a The MetaData API is optional and getMetadata may return null if unsupported. 2009-08-20 11:12:27 -07:00
Evan Millar
c9e3e6e7b2 Tweak the ContactsHeaderWidget to match the newest specs. 2009-08-20 11:11:12 -07:00
Dmitri Plotnikov
60662b035c The API for phone lookup has changed - updating Contact Header accordingly. 2009-08-20 11:01:09 -07:00
Dmitri Plotnikov
1c1629da30 Protecting access to the new Contacts API with a try/catch block. 2009-08-20 08:14:24 -07:00
Android (Google) Code Review
41b379da57 Merge change 22049 into eclair
* changes:
  Fix various issues found when testing Mms.
2009-08-19 23:30:42 -07:00
Android (Google) Code Review
a5ba62cdc1 Merge change 22045 into eclair
* changes:
  Fix bug 2045914: When pressing 2 keys, sometimes the second key gets stuck.
2009-08-19 22:59:35 -07:00
Robert Greenwalt
a64bf834ff Fix various issues found when testing Mms.
Fix some race conditions (check isTeardownRequested).
Fix the passing of mInterfaceName to subtypes (mms, etc).
Fix the generation of CONNECTED message to already active subtypes.
Fix the enabling of Data in DataConnectionTracker.

bug: 2065037
2009-08-19 21:58:12 -07:00
Android (Google) Code Review
ef408cdbea Merge change 22054 into eclair
* changes:
  Add Bluetooth device picker support
2009-08-19 21:02:02 -07:00
Yue Lixin
a4433af5ac Add Bluetooth device picker support
- add Intent and Extra definition
- move profile filter into BluetoothClass
2009-08-19 20:44:21 -07:00
Android (Google) Code Review
23a87c285f Merge change 21931 into eclair
* changes:
  API CHANGE
2009-08-19 20:42:15 -07:00
Android (Google) Code Review
1e3505c6f1 Merge change 22001 into eclair
* changes:
  Fix Wifi+Cell on boot after wifi in use.
2009-08-19 20:42:09 -07:00
Nick Pelly
45e2704ff5 API CHANGE
Javadoc, and unhide the first pieces of the Bluetooth API.

With this commit there is enough public API to connect and use an RFCOMM
connection between Bluetooth devices.
2009-08-19 20:39:54 -07:00
Amith Yamasani
8b37eb0c2a Fix bug 2045914: When pressing 2 keys, sometimes the second key gets stuck.
Also lock repeatable keys so that you don't get space and 'v', for example,
when you move just a little bit off the spacebar.
2009-08-19 20:05:43 -07:00
Android (Google) Code Review
f768d24f7d Merge change 22030 into eclair
* changes:
  Potential fix for NPE at startExtractingText.
2009-08-19 18:47:37 -07:00
Android (Google) Code Review
789de3a824 Merge change 22003 into eclair
* changes:
  Add wallpaper transition animations.
2009-08-19 18:35:53 -07:00
Amith Yamasani
ba4d93fcd7 Potential fix for NPE at startExtractingText.
This is not easy to reproduce. Adding a simple null check to see if the
monkeys continue to hit the NPE.
2009-08-19 18:29:45 -07:00
Dianne Hackborn
f8fbdb6b92 Add wallpaper transition animations.
The window manager now detects when a transition between two
wallpaper activities is happening, and switches to a new set
of animations for that.  The animations I defined here are just
an arbitrary something that can work in this case.
2009-08-19 17:45:56 -07:00
Android (Google) Code Review
b5f2ce6e2f Merge change 22011 into eclair
* changes:
  fix [2063336] Surface.lockSurface throws IllegalArgumentException when out of memory
2009-08-19 17:38:45 -07:00
Mathias Agopian
b2f8450db8 fix [2063336] Surface.lockSurface throws IllegalArgumentException when out of memory 2009-08-19 17:10:18 -07:00
Marco Nelissen
d701e02076 When bringing up the media controller view, focus the play/pause button. 2009-08-19 17:05:48 -07:00
Robert Greenwalt
60a45aff31 Fix Wifi+Cell on boot after wifi in use.
The gist of it is: Ignore reconnect fail of default APN during boot.

A long path:
1 If wifi is started at boot it starts fast - before the PhoneService is available.
2 Wifi starts by failing - you get DISCONNECTED/Scanning events so CM starts the other default network (mobile).
3 Trying to restart mobile fails because the phone service isn't up yet.
4 The failure is noted and the net is marked as not-enabled.
5 The phone trys to auto-start the mobile network and succeeds, sending state-changed events
6 The CM ignores the state-changed events because the net isn't enabled (see 4).

The long term fix is to remove two-way state tracking from the MobileDataStateTracker and instead just consume the state fed to us in state-change events.
Near term fix is to not mark the default net disabled when we have failure (step 4) if the phone service isn't available.
2009-08-19 16:34:41 -07:00
Dmitri Plotnikov
3c513ed95c Converting CallerInfo to new Contacts API. 2009-08-19 16:31:01 -07:00
Roy West
51a9029cdc Fix for bug206007, power dialog change "Why?" to "Battery use" 2009-08-19 15:18:29 -07:00