OSDN Git Service
Wink Saville [Wed, 29 Jul 2009 21:51:26 +0000 (14:51 -0700)]
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.
Wink Saville [Wed, 29 Jul 2009 17:25:09 +0000 (10:25 -0700)]
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.
Android (Google) Code Review [Wed, 29 Jul 2009 15:33:07 +0000 (08:33 -0700)]
Merge change 8962 into donut
* changes:
Log uid and package name when launching intents from search
Bjorn Bringert [Wed, 29 Jul 2009 09:59:25 +0000 (10:59 +0100)]
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.
Android (Google) Code Review [Wed, 29 Jul 2009 07:38:53 +0000 (00:38 -0700)]
Merge change 8208 into donut
* changes:
Removing MD2
Android (Google) Code Review [Wed, 29 Jul 2009 05:08:30 +0000 (22:08 -0700)]
Merge change 8911 into donut
* changes:
Fix issue #
1999179: search -> click result -> press home = search dialog is shown then hidden
Android (Google) Code Review [Wed, 29 Jul 2009 01:34:33 +0000 (18:34 -0700)]
Merge change 8757 into donut
* changes:
Support x509-user-cert mime type in browser.
Dianne Hackborn [Wed, 29 Jul 2009 00:49:55 +0000 (17:49 -0700)]
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.
Android (Google) Code Review [Tue, 28 Jul 2009 23:28:42 +0000 (16:28 -0700)]
Merge change 8884 into donut
* changes:
DO NOT MERGE. Already in master. Fix calendar test.
Android (Google) Code Review [Tue, 28 Jul 2009 23:16:38 +0000 (16:16 -0700)]
Merge change 8015 into donut
* changes:
Reset the mDpiX and mDpiY values when qemu.sf.lcd_density is defined.
Android (Google) Code Review [Tue, 28 Jul 2009 23:12:58 +0000 (16:12 -0700)]
Merge change 8883 into donut
* changes:
fix [
1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN
Mathias Agopian [Tue, 28 Jul 2009 22:59:52 +0000 (15:59 -0700)]
fix [
1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN
Ken Shirriff [Tue, 28 Jul 2009 22:57:50 +0000 (15:57 -0700)]
DO NOT MERGE. Already in Fix calendar test.
Test was failing because SSL caching calls getFileDir() which wasn't implemented in the mock.
bug=
1966269
David 'Digit' Turner [Tue, 28 Jul 2009 22:38:58 +0000 (00:38 +0200)]
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.
Android (Google) Code Review [Tue, 28 Jul 2009 22:34:25 +0000 (15:34 -0700)]
Merge change 8877 into donut
* changes:
Remove warning in non-eng builds.
Romain Guy [Tue, 28 Jul 2009 22:30:11 +0000 (15:30 -0700)]
Remove warning in non-eng builds.
Mathias Agopian [Tue, 28 Jul 2009 22:27:39 +0000 (15:27 -0700)]
fix [
1981759] -no-boot-anim has no effect
Android (Google) Code Review [Tue, 28 Jul 2009 21:18:00 +0000 (14:18 -0700)]
Merge change 8832 into donut
* changes:
fix [
1996214] Boot animation is occasionally messed up
Android (Google) Code Review [Tue, 28 Jul 2009 20:11:13 +0000 (13:11 -0700)]
Merge change 8840 into donut
* changes:
Add padding to height of AutoCompleteTextView drop-down.
Bjorn Bringert [Tue, 28 Jul 2009 19:17:27 +0000 (20:17 +0100)]
Add padding to height of AutoCompleteTextView drop-down.
As described in http://b/issue?id=
2017825
PopupWindow.getMaxAvailableHeight() does not include the padding in
the available height. To get the ACTV drop-down to actually fill
the screen, this change adds the padding to the value returned
by PopupWindow.getMaxAvailableHeight().
This is part of the fix for http://b/issue?id=
2014450
Android (Google) Code Review [Tue, 28 Jul 2009 19:36:49 +0000 (12:36 -0700)]
Merge change 8752 into donut
* changes:
Updates from API review.
Android (Google) Code Review [Tue, 28 Jul 2009 19:28:06 +0000 (12:28 -0700)]
Merge change 8836 into donut
* changes:
Add menu with search settings to search dialog.
Bjorn Bringert [Tue, 28 Jul 2009 18:54:14 +0000 (19:54 +0100)]
Add menu with search settings to search dialog.
Fixes http://b/issue?id=
2018143
Mathias Agopian [Tue, 28 Jul 2009 18:41:30 +0000 (11:41 -0700)]
fix [
1996214] Boot animation is occasionally messed up
Android (Google) Code Review [Tue, 28 Jul 2009 18:24:39 +0000 (11:24 -0700)]
Merge change 8817 into donut
* changes:
fix [
2017532] Partial Update leaves residual image.
Android (Google) Code Review [Tue, 28 Jul 2009 18:19:19 +0000 (11:19 -0700)]
Merge change 8825 into donut
* changes:
Fixes
2017393. Correctly apply gravity in RelativeLayout.
Romain Guy [Tue, 28 Jul 2009 18:18:14 +0000 (11:18 -0700)]
Fixes
2017393. Correctly apply gravity in RelativeLayout.
RL was applying a horizontal offset to its children even when the gravity was only
specified for the vertical axis (and vice-versa.)
Also fix the ExpandableListView icons.
Mathias Agopian [Tue, 28 Jul 2009 17:57:27 +0000 (10:57 -0700)]
fix [
2017532] Partial Update leaves residual image.
Android (Google) Code Review [Tue, 28 Jul 2009 17:45:35 +0000 (10:45 -0700)]
Merge change 8759 into donut
* changes:
Cancel search on BACK if IME is obscured.
Android (Google) Code Review [Tue, 28 Jul 2009 17:27:56 +0000 (10:27 -0700)]
Merge change 8806 into donut
* changes:
Mark the the airplane mode internal strings as not translatable.
Android (Google) Code Review [Tue, 28 Jul 2009 17:18:47 +0000 (10:18 -0700)]
Merge change 8728 into donut
* changes:
Fix resource code and version attributes Create a new package setting object for updated system apps rather than moving around the same setting. This updates the resource, code and version correctly. For updating system packages, disable the package first which removes the entry from internal structures, create a new package setting, add it to list of user id's then rest of installation steps, kill the process if needed via ActivityManager then add this setting if everything was successful. This also fixes issues with updating values prematurely.
Suchi Amalapurapu [Mon, 27 Jul 2009 22:21:34 +0000 (15:21 -0700)]
Fix resource code and version attributes
Create a new package setting object for updated system apps rather than moving
around the same setting. This updates the resource, code and version correctly.
For updating system packages, disable the package first which removes the entry
from internal structures, create a new package setting, add it to list of user id's
then rest of installation steps, kill the process if needed via ActivityManager
then add this setting if everything was successful. This also fixes issues with
updating values prematurely.
When a new version of system package is available via OTA, just physically remove
entries for pkg. Note that the component and other info will be eventually updated
later on when scanning the package.
Also move certificate verification slightly ahead before scanning packages.
Some null checks
New api's in ActivityManager to kill an application pkg before finishing installation
Eric Fischer [Tue, 28 Jul 2009 17:17:25 +0000 (10:17 -0700)]
Mark the the airplane mode internal strings as not translatable.
Bug
2017552
Bjorn Bringert [Tue, 28 Jul 2009 11:03:29 +0000 (12:03 +0100)]
Cancel search on BACK if IME is obscured.
This adds a hidden method AutoCompleteTextView.isImeHidden(),
and uses that in SearchDialog to cancel the search dialog
when BACK is pressed, if there is no previous search component
to return to.
mlebeau says:
If we fill the whole screen then it makes the issue of the back
button a little more important. Specifically, right now if you have
the list expanded and you press back, the keyboard hides but it's not
really showing any more anyway so it seems like pressing the button
does nothing. We rationalized this by saying "part of the keyboard
will be showing so it won't be completely non-obvious that it was
hidden". But since really the right UX is to fill the screen, as part
of this we should probably also add logic to the back button such
that if it is pressed when the list is obscuring the keyboard
(i.e. softInputMode on the PopupWindow is INPUT_METHOD_NOT_NEEDED)
then we should hide the dialog entirely rather than closing the
keyboard.
This is part of the fix for http://b/issue?id=
2014450
Android (Google) Code Review [Tue, 28 Jul 2009 14:19:26 +0000 (07:19 -0700)]
Merge change 8773 into donut
* changes:
Only dismiss search on suggestion click in in-app search
Bjorn Bringert [Tue, 28 Jul 2009 14:15:26 +0000 (15:15 +0100)]
Only dismiss search on suggestion click in in-app search
We now distinguish between in-app search (pivoted in from GlobalSearch)
and real in-app search mode. Only the latter dismisses the search
dialog when a suggestion is clicked. Also, the drop-down
is now always visible except in real in-app search mode.
Fixes http://b/issue?id=
2014626
Chung-yih Wang [Tue, 28 Jul 2009 10:37:13 +0000 (18:37 +0800)]
Support x509-user-cert mime type in browser.
+ Fix the public key matching and intent parameter mismatch.
Chung-yih Wang [Tue, 28 Jul 2009 07:15:51 +0000 (15:15 +0800)]
Forgot to convert the jstring to char* in certificate request.
Dianne Hackborn [Tue, 28 Jul 2009 07:13:47 +0000 (00:13 -0700)]
Updates from API review.
* AccessibilityService -- document onBind() to not be implemented.
* GestureLibrary.getLearner() -- needs to be hidden.
* IntentSender -- remove protected constructors, document that it is retrieved from a PendingIntent.
* Hide permissions: SHUTDOWN, STOP_APP_SWITCHES.
* Context -- hide BACKUP_SERVICE.
* ContextWrapper -- hide getSharedPrefs bla h blah
* Intent.parseUri() -- fix docs.
* ApplicationInfo.FLAG_TEST_ONLY?!?
* Hide MockContext.getSharedPrefs blah blah
Android (Google) Code Review [Tue, 28 Jul 2009 05:15:35 +0000 (22:15 -0700)]
Merge change 8740 into donut
* changes:
Fix issue #
1991230: DisplayMetrics.displayHeight is not updated with orientation change
Dianne Hackborn [Tue, 28 Jul 2009 04:51:05 +0000 (21:51 -0700)]
Fix issue #
2015611: layering problem when moving an activity to the foreground.
"surface of singleTop acitivy is not added at the top, causing the activity is resumed
behind the top activity."
Dianne Hackborn [Tue, 28 Jul 2009 03:48:50 +0000 (20:48 -0700)]
Fix issue #
1991230: DisplayMetrics.displayHeight is not updated with orientation change
Android (Google) Code Review [Tue, 28 Jul 2009 02:46:35 +0000 (19:46 -0700)]
Merge change 8620 into donut
* changes:
Fix swapped gsm/cdma function dispatch, and 7bit text fragmentation.
Android (Google) Code Review [Mon, 27 Jul 2009 22:08:03 +0000 (15:08 -0700)]
Merge change 8678 into donut
* changes:
Fixing bug #
2008185 - problem with the TTS dropping utterances under heavy load was caused by the speech queue being locked. Switched to using a timeout with tryLock so that the TTS service does not give up immediately.
Android (Google) Code Review [Mon, 27 Jul 2009 21:31:33 +0000 (14:31 -0700)]
Merge change 8682 into donut
* changes:
New small rating stars from the UI designers.
Charles Chen [Mon, 27 Jul 2009 20:43:08 +0000 (13:43 -0700)]
Fixing bug #
2008185 - problem with the TTS dropping
utterances under heavy load was caused by the speech
queue being locked. Switched to using a timeout with
tryLock so that the TTS service does not give up
immediately.
Ilya Firman [Mon, 27 Jul 2009 21:00:53 +0000 (14:00 -0700)]
New small rating stars from the UI designers.
Android (Google) Code Review [Mon, 27 Jul 2009 20:55:18 +0000 (13:55 -0700)]
Merge change 8677 into donut
* changes:
DO NOT MERGE.
Grace Kloba [Mon, 27 Jul 2009 20:44:47 +0000 (13:44 -0700)]
DO NOT MERGE.
Per product team request, remove 1x zoom button. Move the zoom overview to
the bottom left and zoom control to the bottom right.
Android (Google) Code Review [Mon, 27 Jul 2009 19:03:36 +0000 (12:03 -0700)]
Merge change 8616 into donut
* changes:
Fiddle with default densities to try to sanitize the API.
Android (Google) Code Review [Mon, 27 Jul 2009 17:49:07 +0000 (10:49 -0700)]
Merge change 8648 into donut
* changes:
Use the old string for bookmarks permissions.
Bjorn Bringert [Mon, 27 Jul 2009 16:10:46 +0000 (17:10 +0100)]
DPAD_DOWN moves from search/voice search key to drop-down
Fixes http://b/issue?id=
2014688
Leon Scroggins [Mon, 27 Jul 2009 15:10:28 +0000 (11:10 -0400)]
Use the old string for bookmarks permissions.
When we made the bookmark permissions public, we also changed their
names, which might break existing apps. Change them back. Depends
on a change in packages/apps/Browser
Bjorn Bringert [Mon, 27 Jul 2009 10:48:32 +0000 (11:48 +0100)]
Remove search dialog PRE_CLOSE event
This is part of the fix for http://b/issue?id=
2000655
Bjorn Bringert [Mon, 27 Jul 2009 10:44:56 +0000 (11:44 +0100)]
Send max displayed position in search dialog click event
This is part of the fix for http://b/issue?id=
2000655
Tammo Spalink [Mon, 27 Jul 2009 07:45:38 +0000 (15:45 +0800)]
Fix swapped gsm/cdma function dispatch, and 7bit text fragmentation.
Android (Google) Code Review [Mon, 27 Jul 2009 05:01:43 +0000 (22:01 -0700)]
Merge change 8612 into donut
* changes:
Remove visibility checks from SearchManager tests
Dianne Hackborn [Mon, 27 Jul 2009 00:42:30 +0000 (17:42 -0700)]
Fiddle with default densities to try to sanitize the API.
An issue with the density API is that bitmaps assumed the old default density,
so new programs would have to explicitly set the correct density for every bitmap
they create.
This is an attempt to fix that situation, by define the default density of bitmaps
to be the main screen's density, except for old apps where it is the original default
density.
Actually implementing this is not so great, though, because the Bitmap constructors
can't really know anything about who is calling them to know which density to use.
So at this level the compatibility mode is defined per-process -- meaning the initial
package loaded into a process defines the default bitmap density, and everyone else
loaded in later on has to live with that.
In practice this shouldn't be much of a problem, there shouldn't be much mixing of
old vs. new apps in a process. It does mean that, going forward, if a developer is
going to use shared user IDs for this, they will need to make sure either that all of
their apps are in the same compatibility mode, or that their code explicitly sets the
density of bitmaps it receives. This isn't all that great, but I think it is worth
the benefit of allowing people who write modern apps to not have to deal with bitmap
densities.
This change also does some cleanup of the density management (making sure to always
copy over bitmap densities, etc) and adds java docs to explain the various ways
density is set and used by the system.
Hung-ying Tyan [Wed, 22 Jul 2009 23:37:27 +0000 (07:37 +0800)]
Simplify the VPN service implementation.
+ Remove NormalProcessProxy and ProcessProxy as they are not used
anymore.
+ Rename AndroidServiceProxy to DaemonProxy and simplify its
implementation as it does not extend to ProcessProxy anymore.
+ Execute connect() in VpnService in one thread, which simplifies socket
and error handling.
+ Modify service subclasses accordingly.
+ Execute connect() and disconnect() in VpnServiceBinder so that the
operations do not block the UI thread. Mark service as foreground only upon
connecting.
Bjorn Bringert [Sun, 26 Jul 2009 21:27:47 +0000 (22:27 +0100)]
Remove visibility checks from SearchManager tests
Since the search UI is handled by the system process, and
the service calls to show and hide it are asynchronous,
the tests that checked the visibility of the search UI were
very flaky. This change sclaes the tests back to just check
that nothing crashes when showing and hiding the search UI.
Fixes http://b/issue?id=
1993675
Android (Google) Code Review [Sat, 25 Jul 2009 03:52:01 +0000 (20:52 -0700)]
Merge change 8564 into donut
* changes:
Merge doc change from cupcake: commit '
a8d035ccf319e1aed685a1e1509681350f737fd1' into manualmerge
Android (Google) Code Review [Sat, 25 Jul 2009 03:51:25 +0000 (20:51 -0700)]
Merge change 8563 into donut
* changes:
Empty merge from cupcake: commit '
77bab58fd1c21b0e3035dee411b4a938e6a824ce' into manualmerge
Android (Google) Code Review [Sat, 25 Jul 2009 03:50:47 +0000 (20:50 -0700)]
Merge change 8562 into donut
* changes:
Empty merge from cupcake: commit '
7cecaed3192a6503df0ddf4d81b3b620b7cd9635' into manualmerge
Android (Google) Code Review [Sat, 25 Jul 2009 03:50:17 +0000 (20:50 -0700)]
Merge change 8561 into donut
* changes:
Empty merge from cupcake: commit '
414f62c0cb7eceeb1cd24bf9e570688a00683f9c' into manualmerge
Android (Google) Code Review [Sat, 25 Jul 2009 03:49:41 +0000 (20:49 -0700)]
Merge change 8560 into donut
* changes:
Merge doc changes from cupcake: commit '
5ae517d9659e96e9525406ffbce18dcacc3294bc' into manualmerge
Android (Google) Code Review [Sat, 25 Jul 2009 03:49:01 +0000 (20:49 -0700)]
Merge change 8559 into donut
* changes:
Empty merge from cupcake: commit '
ff339f0b966c5ca62867689a13ea713e6cb62a15'
Android (Google) Code Review [Sat, 25 Jul 2009 03:48:17 +0000 (20:48 -0700)]
Merge change 8558 into donut
* changes:
Empty merge from cupcake: commit '
79188bb2c9bac9fef1bc86b7f9f54324471ee53e'
Android (Google) Code Review [Sat, 25 Jul 2009 03:46:39 +0000 (20:46 -0700)]
Merge change 8557 into donut
* changes:
Merge doc change from cupcake: commit '
2c44586d118208bdddfc727165ebf235fe7c0051'
Android (Google) Code Review [Sat, 25 Jul 2009 03:45:56 +0000 (20:45 -0700)]
Merge change 8556 into donut
* changes:
Empty merge from cupcake: commit '
2e7e15f2da527f762f6eb56b974e758d83f12660'
Android (Google) Code Review [Sat, 25 Jul 2009 03:44:57 +0000 (20:44 -0700)]
Merge change 8555 into donut
* changes:
Empty merge from cupcake: commit '
5a3a63f8b450a1902dd26809f18e35ef30befff3'
Android (Google) Code Review [Sat, 25 Jul 2009 03:44:21 +0000 (20:44 -0700)]
Merge change 8554 into donut
* changes:
Empty merge from cupcake: commit '
b69bed1947d4c8835b861f7b68be756b6a8e80d3'
Android (Google) Code Review [Sat, 25 Jul 2009 03:43:20 +0000 (20:43 -0700)]
Merge change 8553 into donut
* changes:
Merge doc changes from cupcake at commit '
373271b94cbe01c337b4952d0d5764e200c69f48'
Amith Yamasani [Fri, 24 Jul 2009 00:38:15 +0000 (17:38 -0700)]
DO NOT MERGE. Already in Fix #
1977876 : Key preview in WVGA broken.
Use PX unit when setting the text size since we're getting the size from getTextSize()
Reduce delay for popup.
Android (Google) Code Review [Sat, 25 Jul 2009 00:09:33 +0000 (17:09 -0700)]
Merge change 8565 into donut
* changes:
Fixing bug
2003639 - this is a fix to prevent the AccessibilityManagerService from crashing if it gets an invalid accessibility event.
Charles Chen [Fri, 24 Jul 2009 23:06:09 +0000 (16:06 -0700)]
Fixing bug
2003639 - this is a fix to prevent the AccessibilityManagerService
from crashing if it gets an invalid accessibility event.
Dirk Dougherty [Fri, 24 Jul 2009 22:34:57 +0000 (15:34 -0700)]
Merge doc change from cupcake: commit '
a8d035ccf319e1aed685a1e1509681350f737fd1' into manualmerge
Dirk Dougherty [Fri, 24 Jul 2009 21:42:18 +0000 (14:42 -0700)]
Empty merge from cupcake: commit '
77bab58fd1c21b0e3035dee411b4a938e6a824ce' into manualmerge
Dirk Dougherty [Fri, 24 Jul 2009 21:41:11 +0000 (14:41 -0700)]
Empty merge from cupcake: commit '
7cecaed3192a6503df0ddf4d81b3b620b7cd9635' into manualmerge
Dirk Dougherty [Fri, 24 Jul 2009 21:39:55 +0000 (14:39 -0700)]
Empty merge from cupcake: commit '
414f62c0cb7eceeb1cd24bf9e570688a00683f9c' into manualmerge
Dirk Dougherty [Fri, 24 Jul 2009 19:58:01 +0000 (12:58 -0700)]
Merge doc changes from cupcake: commit '
5ae517d9659e96e9525406ffbce18dcacc3294bc' into manualmerge
Dirk Dougherty [Fri, 24 Jul 2009 19:56:59 +0000 (12:56 -0700)]
Dirk Dougherty [Fri, 24 Jul 2009 19:55:49 +0000 (12:55 -0700)]
Dirk Dougherty [Fri, 24 Jul 2009 19:54:31 +0000 (12:54 -0700)]
Merge doc change from cupcake: commit '
2c44586d118208bdddfc727165ebf235fe7c0051'
Dirk Dougherty [Fri, 24 Jul 2009 19:52:58 +0000 (12:52 -0700)]
Dirk Dougherty [Fri, 24 Jul 2009 19:51:46 +0000 (12:51 -0700)]
Dirk Dougherty [Fri, 24 Jul 2009 19:49:53 +0000 (12:49 -0700)]
Dirk Dougherty [Fri, 24 Jul 2009 19:25:15 +0000 (12:25 -0700)]
Merge doc changes from cupcake at commit '
373271b94cbe01c337b4952d0d5764e200c69f48'
Dianne Hackborn [Thu, 23 Jul 2009 04:48:55 +0000 (21:48 -0700)]
Allow for screen density drawables in compatibility mode.
This change allows us to use drawables that match the current screen
density even when being loaded in compatibility mode. In this case,
the bitmap is loaded in the screen density, and the bitmap and
nine-patch drawables take care of accounting for the density difference.
This should be safe for existing applications, for the most part, since
they shouldn't really be pulling the bitmap out of the drawable. For
the small rare chance of them breaking, it worth getting the correct
graphics. Also this will only happen when there is actually a resource
of the matching density, and no existing apps should have resources for
anything besides the default density (though of course all of the
framework resources will be available in the native density).
As part of this, the bitmap density API has been changed to a single
integer provider the DPI unit density.
Android (Google) Code Review [Fri, 24 Jul 2009 17:18:26 +0000 (10:18 -0700)]
Merge change 8475 into donut
* changes:
Per conversation, remove the toast while saving the Certificates to CertTools.
Android (Google) Code Review [Fri, 24 Jul 2009 17:00:05 +0000 (10:00 -0700)]
Merge change 8462 into donut
* changes:
Make the DatePicker respect the date format setting if the date is numeric.
Grace Kloba [Fri, 24 Jul 2009 04:16:51 +0000 (21:16 -0700)]
Per conversation, remove the toast while saving the Certificates to CertTools.
Remove the unused strings.
Chung-yih Wang [Fri, 24 Jul 2009 03:33:45 +0000 (11:33 +0800)]
Change to SPKAC certificate request format for keygen.
Chung-yih Wang [Wed, 22 Jul 2009 23:23:24 +0000 (07:23 +0800)]
Add memcpy and strcpy boundary check.
Eric Fischer [Fri, 24 Jul 2009 01:32:42 +0000 (18:32 -0700)]
Make the DatePicker respect the date format setting if the date is numeric.
In some locales, there are no abbreviated month names; the abbreviated
date formats are essentially numeric. If the user is in such a locale,
have the DatePicker respect the date format setting so that the order
of the fields will match other numeric-only dates.
In locales that have abbreviated month names, continue to use the order
that is normal in spelled-out dates.
And update the order in updateDate() so that the new order is reflected
if you change the order setting and immediately go to change the date
without leaving and returning to the Date & Time settings in between.
At the same time, change DateFormat.getDateFormatOrder() back to working
the way it did in cupcake (prioritizing the date order preference over
the locale), even though the DatePicker no longer calls the method.
Bug
1805085
Android (Google) Code Review [Fri, 24 Jul 2009 00:38:24 +0000 (17:38 -0700)]
Merge change 8443 into donut
* changes:
add some more defensiveness to SuggestionsAdapter to avoid system process crashes.
Karl Rosaen [Fri, 24 Jul 2009 00:20:47 +0000 (17:20 -0700)]
add some more defensiveness to SuggestionsAdapter to avoid system process crashes.
Mitsuru Oshima [Thu, 23 Jul 2009 03:38:58 +0000 (20:38 -0700)]
* Use the scaled size for surface view instead of native. The surface will be always scaled
by surface flinger in compatiblity mode. The original approach confused the app because
the surface size and the view size were different.
* a few clean up. removed unsed arguments, obsolete conditions from getTranslator()
(expandable check was a bug)
Android (Google) Code Review [Thu, 23 Jul 2009 20:33:07 +0000 (13:33 -0700)]
Merge change 8323 into donut
* changes:
* a best effort fix for apps that uses get/set Matrix API on canvas. - scale the matrix - but don't scale if the matrix *looks* like obtained from the canvas itself. (typically to set it back to original matrix)
Mitsuru Oshima [Thu, 23 Jul 2009 03:39:14 +0000 (20:39 -0700)]
* a best effort fix for apps that uses get/set Matrix API on canvas.
- scale the matrix
- but don't scale if the matrix *looks* like obtained from the canvas itself. (typically to set it back to original matrix)
This is best effort change and not perfect (not even close), but works for one game,
and hopes it can handle many other apps that uses set/get Matrix. If you have an alternative idea, please let me know.
Android (Google) Code Review [Thu, 23 Jul 2009 18:12:19 +0000 (11:12 -0700)]
Merge change 8360 into donut
* changes:
Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from medium continuus suite.