2875 Commits

Author SHA1 Message Date
John Wang
0d45e37069 Clean up RIL_SIM_* in RILConstants
GET_SIM_STATUS now returns structure RIL_CardStatus. So RIL_SIM_* status are obsoleted.

	modified:   java/com/android/internal/telephony/RILConstants.java
2009-07-30 15:45:12 -07:00
Jaikumar Ganesh
f4fbdfa53f Update current.xml after review comments. 2009-07-30 14:09:59 -07:00
Jaikumar Ganesh
0da3bdb476 Fix public API caused due to CDMA changes. 2009-07-30 12:37:43 -07:00
Mike Reed
6af2552d24 use safeUnref() since the other macro is not defined in donut 2009-07-30 11:46:47 -04:00
Android (Google) Code Review
7299d6ad98 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
Mike Reed
a04e555dc9 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 11:05:57 -04:00
Android (Google) Code Review
67fb572833 Merge change 9147 into donut
* changes:
  Fix in-app search shortcut icons
2009-07-30 06:06:09 -07:00
Bjorn Bringert
83dba19a8e Fix in-app search shortcut icons
When the suggstion provider is in a different package from the searchable
activity, the icons stored for shortcuts used the package of the
activity instead of the provider.

Fixes http://b/issue?id=2023993
2009-07-30 13:58:23 +01:00
Android (Google) Code Review
4598d149fb Merge change 9145 into donut
* changes:
  Add the encryption option to PptpProfile parcel.
2009-07-30 05:46:07 -07:00
Hung-ying Tyan
1f1602e729 Add the encryption option to PptpProfile parcel. 2009-07-30 20:36:27 +08:00
Android (Google) Code Review
b203a57d1f 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
fe8e48cdd5 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
f4692640a8 Add unit tests for netkeystore.
+ some boundary checks.
2009-07-30 16:37:48 +08:00
Android (Google) Code Review
73139aead7 Merge change 9075 into donut
* changes:
  Change the resource path for fwd locked apps when scanning the fwd locked install directory
2009-07-29 21:14:34 -07:00
Android (Google) Code Review
25dff70f15 Merge change 9039 into donut
* changes:
  Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
2009-07-29 19:44:48 -07:00
Dianne Hackborn
0d221012ff Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
It turns out we were not returning the density for anything retrieved from a
TypedArray...  which basically means any bitmap references from a layout or style...!!!

This is now fixed.

Also fiddle with the density compatibility mode to turn on smoothing in certain situations,
helping the look of things when they need to scale and we couldn't do the scaling at
load time.
2009-07-29 19:44:01 -07:00
Suchi Amalapurapu
f2c1072a3b Change the resource path for fwd locked apps when scanning the fwd locked install
directory
2009-07-29 18:29:19 -07:00
Android (Google) Code Review
b91e2b0292 Merge change 9073 into donut
* changes:
  Special-case search within the browser to not show the app icon to the left of the search field. Also, because this removes context about whether you're in browser search or global search, we make sure to clear any entered text if you jump out to global search from within browser search.
2009-07-29 18:20:18 -07:00
Mike LeBeau
5a7d752b65 Special-case search within the browser to not show the app icon
to the left of the search field. Also, because this removes context
about whether you're in browser search or global search, we make
sure to clear any entered text if you jump out to global search from
within browser search.

This is a really ugly hack, but was required by the UI team. We will
find a better way to reconcile in Eclair.
2009-07-29 18:17:13 -07:00
Android (Google) Code Review
c6eb5ac988 Merge change 9071 into donut
* changes:
  Fix issue #2018454: NullPointerException in ImageSpan constructor
2009-07-29 18:09:28 -07:00
Dianne Hackborn
0cd6376fa1 Fix issue #2018454: NullPointerException in ImageSpan constructor 2009-07-29 17:55:58 -07:00
Android (Google) Code Review
9c71716e3d Merge change 9063 into donut
* changes:
  Fixing bug #2023024 - there is an out of bounds exception that can happen if services are going away as the AccessibilityManagerService is trying to dispatch notifications to these services. Catching this exception and bailing because having this exception means that there are no more services around that need to get this notification.
2009-07-29 17:48:56 -07:00
Charles Chen
85b598beda Fixing bug #2023024 - there is an out of bounds exception that
can happen if services are going away as the AccessibilityManagerService
is trying to dispatch notifications to these services. Catching this
exception and bailing because having this exception means that there
are no more services around that need to get this notification.
2009-07-29 17:23:50 -07:00
Android (Google) Code Review
65e5438df9 Merge change 8966 into donut
* changes:
  Add tests for android.net.vpn.
2009-07-29 17:16:13 -07:00
Robert Greenwalt
41c1043399 Fix MulticastLock API to match WifiLock API.
Adds option to make lock refcounted or not.  Fixes 2017680.
2009-07-29 16:30:23 -07:00
Android (Google) Code Review
0067057c31 Merge change 9035 into donut
* changes:
  Fix the TabWidget to display custom views for the tabs better when the tabs have different sizes.
2009-07-29 15:27:55 -07:00
Jack Veenstra
5d5cd178e3 Fix the TabWidget to display custom views for the tabs better when the tabs have different sizes. 2009-07-29 15:19:23 -07:00
Android (Google) Code Review
3d716ed6a3 Merge change 9021 into donut
* changes:
  DO NOT MERGE - Fix CNAP-related NullPointerException
2009-07-29 14:52:11 -07:00
Wink Saville
9953eb27ed DO NOT MERGE - Fix CNAP-related NullPointerException
This will fix a CNAP-related bug where missing a call from a party with an
"Unknown" number presentation and then trying to log that call will cause
a NullPointerException to be thrown.

This was already merged into master so marked will not be merged.
2009-07-29 14:51:26 -07:00
Jean-Baptiste Queru
f4dc9da372 Merge snapshot variant of donut back into the main tree 2009-07-29 14:31:38 -07:00
Jean-Baptiste Queru
a8675f67e3 donut snapshot 2009-07-29 14:25:07 -07:00
Android (Google) Code Review
2bad713f31 Merge change 8860 into donut
* changes:
  Fix bug 2017664 Removed the TTS_ prefix in the TextToSpeech class to follow the standard naming convention. Moved the TTS-related intents from the Intent class to TextToSpeech and TextToSpeech.Engine. Renamed the TextToSpeech.Engine constants that are used as extras for the   ACTION_TTS_CHECK_TTS_DATA intent to prefix them with EXTRA_. Cleaned up the other TextToSpeech.Engine constant to remove superfluous mentions of   "TTS" in the name.
2009-07-29 11:38:44 -07:00
Jean-Michel Trivi
ed06578edd Fix bug 2017664
Removed the TTS_ prefix in the TextToSpeech class to follow the standard naming convention.
Moved the TTS-related intents from the Intent class to TextToSpeech and TextToSpeech.Engine.
Renamed the TextToSpeech.Engine constants that are used as extras for the
  ACTION_TTS_CHECK_TTS_DATA intent to prefix them with EXTRA_.
Cleaned up the other TextToSpeech.Engine constant to remove superfluous mentions of
  "TTS" in the name.
2009-07-29 11:26:10 -07:00
Wink Saville
b307c8945d Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 and added RILConstants.NO_PHONE.
This bug originally reported that PHONE_TYPE_CDMA needed to be 2 because
it was public. But as far as I can tell it has never been public and it
is still marked @hide so is not public now. There is a bug in that
PHONE_TYPE_NONE and PHONE_TYPE_CDMA were both 0. But this doesn't
appear to have been a problem because PHONE_TYPE_NONE doesn't looked to be
used anywhere except in TelephonyManagerTest.
2009-07-29 10:25:09 -07:00
Android (Google) Code Review
0869f7ef1e Merge change 8962 into donut
* changes:
  Log uid and package name when launching intents from search
2009-07-29 08:33:07 -07:00
Hung-ying Tyan
53582b33e5 Add tests for android.net.vpn. 2009-07-29 19:49:52 +08:00
Bjorn Bringert
725d8ff6c5 Log uid and package name when launching intents from search
This is to help debug http://b/issue?id=2020252
where the WEB_SEARCH intent is sometimes not handled.
2009-07-29 11:11:52 +01:00
Android (Google) Code Review
ad346278fe Merge change 8208 into donut
* changes:
  Removing MD2
2009-07-29 00:38:53 -07:00
Android (Google) Code Review
9b91d78a21 Merge change 8911 into donut
* changes:
  Fix issue #1999179: search -> click result -> press home = search dialog is shown then hidden
2009-07-28 22:08:30 -07:00
Android (Google) Code Review
4d4229e4d9 Merge change 8757 into donut
* changes:
  Support x509-user-cert mime type in browser.
2009-07-28 18:34:33 -07:00
Dianne Hackborn
a6ddc8af22 Fix issue #1999179: search -> click result -> press home = search dialog is shown then hidden
Re-arrange various things to ensure that the search dialog is told about system windows being
closed before it is told about the navigation back to home.
2009-07-28 17:55:13 -07:00
Android (Google) Code Review
67897b1af7 Merge change 8884 into donut
* changes:
  DO NOT MERGE. Already in master. Fix calendar test.
2009-07-28 16:28:42 -07:00
Android (Google) Code Review
1521cd6e65 Merge change 8015 into donut
* changes:
  Reset the mDpiX and mDpiY values when qemu.sf.lcd_density is defined.
2009-07-28 16:16:38 -07:00
Android (Google) Code Review
159e1a9a13 Merge change 8883 into donut
* changes:
  fix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN
2009-07-28 16:12:58 -07:00
Mathias Agopian
c87c4a3e3b fix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN 2009-07-28 15:59:52 -07:00
Ken Shirriff
0f2e6663d9 DO NOT MERGE. Already in master. Fix calendar test.
Test was failing because SSL caching calls getFileDir() which wasn't implemented in the mock.

bug=1966269
2009-07-28 15:57:50 -07:00
David 'Digit' Turner
d75fe9aa83 Reset the mDpiX and mDpiY values when qemu.sf.lcd_density is defined.
This will make android.view.Display return corresponding values for
the screen's DPI.
2009-07-29 00:38:58 +02:00
Android (Google) Code Review
a62f16acca Merge change 8877 into donut
* changes:
  Remove warning in non-eng builds.
2009-07-28 15:34:25 -07:00
Romain Guy
e551dc76bc Remove warning in non-eng builds. 2009-07-28 15:30:11 -07:00
Mathias Agopian
de36313b0b fix [1981759] -no-boot-anim has no effect 2009-07-28 15:27:39 -07:00