OSDN Git Service

android-x86/frameworks-base.git
15 years agoFix build.
Dianne Hackborn [Tue, 16 Jun 2009 00:44:07 +0000 (17:44 -0700)]
Fix build.

15 years agoMerge change 4262 into donut
Android (Google) Code Review [Tue, 16 Jun 2009 00:10:16 +0000 (17:10 -0700)]
Merge change 4262 into donut

* changes:
  Add utility methods to AndroidTestCase for asserting permission requirements for launching activities and accessing ContentProviders.

15 years agoMerge change 4265 into donut
Android (Google) Code Review [Tue, 16 Jun 2009 00:06:24 +0000 (17:06 -0700)]
Merge change 4265 into donut

* changes:
  process: Fix bug where if a thread exited while we were changing its control     group, we'd bail out and report an exception. This situation is *not*     an error.

15 years agoMerge change 4264 into donut
Android (Google) Code Review [Tue, 16 Jun 2009 00:06:04 +0000 (17:06 -0700)]
Merge change 4264 into donut

* changes:
  Fix the build: Remove ADD_SYSTEM_SERVICE, which I had accidentally reintroduced in an errant and clumsy git merge operation.

15 years agoprocess: Fix bug where if a thread exited while we were changing its control
San Mehat [Mon, 15 Jun 2009 23:56:52 +0000 (16:56 -0700)]
process: Fix bug where if a thread exited while we were changing its control
    group, we'd bail out and report an exception. This situation is *not*
    an error.

Signed-off-by: San Mehat <san@google.com>
15 years agoAdd utility methods to AndroidTestCase for asserting permission requirements for...
Karl Rosaen [Mon, 15 Jun 2009 23:38:32 +0000 (16:38 -0700)]
Add utility methods to AndroidTestCase for asserting permission requirements for launching activities and accessing ContentProviders.

15 years agoFix the build: Remove ADD_SYSTEM_SERVICE, which I had accidentally
Dan Egnor [Mon, 15 Jun 2009 23:44:57 +0000 (16:44 -0700)]
Fix the build: Remove ADD_SYSTEM_SERVICE, which I had accidentally
reintroduced in an errant and clumsy git merge operation.

Also remove permission label and description strings for now-deleted
permissions FOTA_UPDATE and (within the SettingsProvider package)
WRITE_GSERVICES.

15 years agoMerge change 4237 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 23:33:54 +0000 (16:33 -0700)]
Merge change 4237 into donut

* changes:
  Remove obsolete FOTA_UPDATE permission (which should never have been made public, and wouldn't be used by any third party applications, and no longer does anything regardless).

15 years agohide the new constant as it is pending api approval
Grace Kloba [Mon, 15 Jun 2009 23:29:21 +0000 (16:29 -0700)]
hide the new constant as it is pending api approval

15 years agoRemove obsolete FOTA_UPDATE permission (which should never have been
Dan Egnor [Mon, 15 Jun 2009 21:46:00 +0000 (14:46 -0700)]
Remove obsolete FOTA_UPDATE permission (which should never have been
made public, and wouldn't be used by any third party applications,
and no longer does anything regardless).

Also remove the WRITE_GSERVICES permission from the SettingsProvider
package's manifest (the declaration there was redundant with the one
in the core manifest, where all the other settings-related permissions
live -- no other core package includes its own permission definitions).

15 years agoMerge change 4252 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 23:06:11 +0000 (16:06 -0700)]
Merge change 4252 into donut

* changes:
  Add more comment for EXTRA_APPEND_LOCATION

15 years agoAdd more comment for EXTRA_APPEND_LOCATION
Grace Kloba [Mon, 15 Jun 2009 23:00:12 +0000 (16:00 -0700)]
Add more comment for EXTRA_APPEND_LOCATION

15 years agoMerge change 4248 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 22:50:18 +0000 (15:50 -0700)]
Merge change 4248 into donut

* changes:
  Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.

15 years agoMerge change 4245 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 22:34:30 +0000 (15:34 -0700)]
Merge change 4245 into donut

* changes:
  Add the extra data definition for append location in the VIEW request to the Browser.

15 years agoAdd the extra data definition for append location in the VIEW request to the Browser.
Grace Kloba [Mon, 15 Jun 2009 22:27:17 +0000 (15:27 -0700)]
Add the extra data definition for append location in the VIEW request to the Browser.

15 years agoRemove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.
Dianne Hackborn [Mon, 15 Jun 2009 22:25:31 +0000 (15:25 -0700)]
Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.

These are no longer used.

15 years agoMerge change 4117 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 22:23:20 +0000 (15:23 -0700)]
Merge change 4117 into donut

* changes:
  Add a Gservices setting to have a "use location for better search".

15 years agoMerge change 4234 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 22:07:50 +0000 (15:07 -0700)]
Merge change 4234 into donut

* changes:
  Implement permission test for activity, window, service manager.

15 years agoImplement permission test for activity, window, service manager.
Dianne Hackborn [Mon, 15 Jun 2009 21:24:44 +0000 (14:24 -0700)]
Implement permission test for activity, window, service manager.

This also includes some changes to the window manager permission checks.  Almost all of these
are to make it most testable (through an exception on a permission failure), though there is
one permission check that needed to be added: updateOrientationFromAppTokens().

15 years agoMerge change 4224 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 21:20:53 +0000 (14:20 -0700)]
Merge change 4224 into donut

* changes:
  Add test for GServices write permission, and remove dummy placeholder framework permission test.

15 years agoAdd test for GServices write permission, and remove dummy placeholder framework permi...
Brett Chabot [Mon, 15 Jun 2009 21:15:19 +0000 (14:15 -0700)]
Add test for GServices write permission, and remove dummy placeholder framework permission test.

15 years agoMerge change 4209 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 20:16:35 +0000 (13:16 -0700)]
Merge change 4209 into donut

* changes:
  More tests to check permissions in PackageManager api's are enforced

15 years agoMore tests to check permissions in PackageManager api's are enforced
Suchi Amalapurapu [Mon, 15 Jun 2009 20:10:34 +0000 (13:10 -0700)]
More tests to check permissions in PackageManager api's are enforced

15 years agoBring the test transport's restore code into line
Christopher Tate [Mon, 15 Jun 2009 19:31:20 +0000 (12:31 -0700)]
Bring the test transport's restore code into line

It now reconstructs the backup data stream as it was originally structured, no
longer assuming that its backed-up records can simply be concatenated into the
destination stream.

15 years agoMerge change 4196 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 19:24:11 +0000 (12:24 -0700)]
Merge change 4196 into donut

* changes:
  Add tests to check permissions in PackageManager api's

15 years agoAdd tests to check permissions in PackageManager api's
Suchi Amalapurapu [Mon, 15 Jun 2009 19:05:43 +0000 (12:05 -0700)]
Add tests to check permissions in PackageManager api's

15 years agoMerge change 4198 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 19:23:12 +0000 (12:23 -0700)]
Merge change 4198 into donut

* changes:
  protect starting of search dialog behind 'dev.disablesearchdialog' system property.

15 years agoprotect starting of search dialog behind 'dev.disablesearchdialog' system property.
Karl Rosaen [Mon, 15 Jun 2009 19:09:12 +0000 (12:09 -0700)]
protect starting of search dialog behind 'dev.disablesearchdialog' system property.

this will help the stress test runs find out the effect of search.

15 years agoMerge change 4184 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 17:48:28 +0000 (10:48 -0700)]
Merge change 4184 into donut

* changes:
  Add permission test structure for private framework permissions.

15 years agoAdd permission test structure for private framework permissions.
Brett Chabot [Mon, 15 Jun 2009 17:40:56 +0000 (10:40 -0700)]
Add permission test structure for private framework permissions.

15 years agoMerge change 4075 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 17:42:20 +0000 (10:42 -0700)]
Merge change 4075 into donut

* changes:
  Add <keygen> support for VPN.

15 years agoMerge change 4182 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 17:17:18 +0000 (10:17 -0700)]
Merge change 4182 into donut

* changes:
  Add more data to reliability test report, includes min, max, std, run data.

15 years agoAdd more data to reliability test report, includes min, max, std, run data.
Guang Zhu [Mon, 15 Jun 2009 17:13:58 +0000 (10:13 -0700)]
Add more data to reliability test report, includes min, max, std, run data.

15 years agoMerge change 4119 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 17:09:21 +0000 (10:09 -0700)]
Merge change 4119 into donut

* changes:
  Use locale-appropriate formatting to display application sizes like "252KB".

15 years agoMerge change 4106 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 16:37:01 +0000 (09:37 -0700)]
Merge change 4106 into donut

* changes:
  Adjust order of file/section list in output diff

15 years agoRemove SingleServerProfile.
Hung-ying Tyan [Mon, 15 Jun 2009 10:59:01 +0000 (18:59 +0800)]
Remove SingleServerProfile.

End of refactoring out SingleServerProfile.java.

15 years agoMerge change 3880 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 09:06:39 +0000 (02:06 -0700)]
Merge change 3880 into donut

* changes:
  Run search dialog in the system process.

15 years agoRun search dialog in the system process.
Bjorn Bringert [Fri, 5 Jun 2009 12:22:28 +0000 (13:22 +0100)]
Run search dialog in the system process.

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

This is needed to address two security issues with global search:
http://b/issue?id=1871088 (Apps can read content providers through GlobalSearch)
http://b/issue?id=1819627 (Apps can use GlobalSearch to launch arbirtrary intents)

This also fixes http://b/issue?id=1693153 (SearchManager.OnDismissListener
never gets called)

To fix the security issues, GlobalSearch also needs to require
a non-app permission to access its content provider and launch intents.

15 years agoMerge change 4147 into donut
Android (Google) Code Review [Mon, 15 Jun 2009 06:41:33 +0000 (23:41 -0700)]
Merge change 4147 into donut

* changes:
  On the way of refactoring out SingleServerProfile.java.

15 years agoOn the way of refactoring out SingleServerProfile.java.
Hung-ying Tyan [Mon, 15 Jun 2009 03:30:11 +0000 (11:30 +0800)]
On the way of refactoring out SingleServerProfile.java.

+ Move mServerName from SingleServerProfile and VpnProfile.
+ Add mSavedUsername to VpnProfile.
+ Keep empty SingleServerProfile to not break the classes that use it.
+ Remove use of SingleServerProfile from VpnService.java.

15 years agoam 110b50ca: AI 149839: make the home page\'s announcement block expandable... ...
Scott Main [Mon, 15 Jun 2009 03:45:27 +0000 (20:45 -0700)]
am 110b50ca: AI 149839: make the home page\'s announcement block expandable...   primarily, this is to handle various lengths of text due to translations,   but also allows us to be more flexible WRT the content for the top section.

Merge commit '110b50ca5158f75abdead740f0956600da2f212d' into donut

* commit '110b50ca5158f75abdead740f0956600da2f212d':
  AI 149839: make the home page's announcement block expandable...

15 years agoFix some backup reader/writer issues; make local transport do backup
Christopher Tate [Fri, 12 Jun 2009 22:20:04 +0000 (15:20 -0700)]
Fix some backup reader/writer issues; make local transport do backup

As of this change, LocalTransport is successfully propagating data changes from
the backup data format into a repository stored in /cache/backup/[packagename].
Each backup key gets a separate file there for ease of manipulation and testing.

The general semantics of BackupDataReader have been tweaked, too; it now just
returns simple "we're done with the data" when it hits the end, even if no
footer has been found, because on the writing side the footer isn't being
written.  Also, reading an entity now merely requires a "big enough" buffer, not
an exactly-sized one.

This is all a work in progress, but this is at least working now for purposes of
this local transport.

Still to do: proper change vs deletion detection, as well as expanding the data
format itself to include necessary metadata etc.

15 years agoMerge change 4131 into donut
Android (Google) Code Review [Sat, 13 Jun 2009 02:00:22 +0000 (19:00 -0700)]
Merge change 4131 into donut

* changes:
  Fix the jni initializer.

15 years agoFix the jni initializer.
Joe Onorato [Sat, 13 Jun 2009 01:59:25 +0000 (18:59 -0700)]
Fix the jni initializer.

15 years agoMerge change 4112 into donut
Android (Google) Code Review [Sat, 13 Jun 2009 01:03:11 +0000 (18:03 -0700)]
Merge change 4112 into donut

* changes:
  Fix bug #1812041: activity manager crash with bad args.

15 years agoMerge change 4085 into donut
Android (Google) Code Review [Fri, 12 Jun 2009 23:22:55 +0000 (16:22 -0700)]
Merge change 4085 into donut

* changes:
  Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.

15 years agoAdd RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on...
Joe Onorato [Fri, 12 Jun 2009 18:06:24 +0000 (11:06 -0700)]
Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.

15 years agoUse locale-appropriate formatting to display application sizes like "252KB".
Eric Fischer [Fri, 12 Jun 2009 23:06:37 +0000 (16:06 -0700)]
Use locale-appropriate formatting to display application sizes like "252KB".

In particular allow the French and Polish translators to put a space between
the number and the unit.

15 years agoFix bug #1812041: activity manager crash with bad args.
Dianne Hackborn [Fri, 12 Jun 2009 22:43:26 +0000 (15:43 -0700)]
Fix bug #1812041: activity manager crash with bad args.

There was old code that would kill the system process in some cases when there
was a bad activity token.  This is really no longer used, except in a few
places where it allows apps to kill the system.  So just get rid of it and
make the world a better place.

15 years agoMerge change 4104 into donut
Android (Google) Code Review [Fri, 12 Jun 2009 22:19:50 +0000 (15:19 -0700)]
Merge change 4104 into donut

* changes:
  Journal backup requests so that they won't be lost in a crash

15 years agoAdjust order of file/section list in output diff
Guang Zhu [Fri, 12 Jun 2009 22:03:45 +0000 (15:03 -0700)]
Adjust order of file/section list in output diff

15 years agoAdd a Gservices setting to have a "use location for better search".
Amith Yamasani [Fri, 12 Jun 2009 05:35:39 +0000 (22:35 -0700)]
Add a Gservices setting to have a "use location for better search".

15 years agoAI 149839: make the home page's announcement block expandable...
Scott Main [Fri, 12 Jun 2009 21:02:42 +0000 (14:02 -0700)]
AI 149839: make the home page's announcement block expandable...
  primarily, this is to handle various lengths of text due to translations,
  but also allows us to be more flexible WRT the content for the top section.

Automated import of CL 149839

15 years agoJournal backup requests so that they won't be lost in a crash
Christopher Tate [Fri, 12 Jun 2009 19:55:53 +0000 (12:55 -0700)]
Journal backup requests so that they won't be lost in a crash

When an application requests a backup via dataChanged(), we now journal that
fact on disk.  The journal persists and is only removed following a successful
backup pass.  When the backup manager is started at boot time, it looks for any
existing journal files and schedules a backup for the apps listed in them, on
the expectation that the device shut down or crashed before a backup could be
performed.

15 years agoMerge change 4080 into donut
Android (Google) Code Review [Fri, 12 Jun 2009 20:46:00 +0000 (13:46 -0700)]
Merge change 4080 into donut

* changes:
  Fix data connection issues.

15 years agoFix data connection issues.
Jaikumar Ganesh [Fri, 12 Jun 2009 19:14:08 +0000 (12:14 -0700)]
Fix data connection issues.

a)Fix cleanup connection being called twice when switching to wifi.
b) Reset the reconnect timer when voice call ends and APN is changed.

15 years agoAdd <keygen> support for VPN.
Grace Kloba [Fri, 12 Jun 2009 18:55:20 +0000 (11:55 -0700)]
Add <keygen> support for VPN.

15 years agoMerge change 4017 into donut
Android (Google) Code Review [Fri, 12 Jun 2009 18:10:56 +0000 (11:10 -0700)]
Merge change 4017 into donut

* changes:
  Make the date format preference work again.

15 years agoFixes #1914574. An NPE could be causes in lists by ViewGroup.dispatchDraw().
Romain Guy [Fri, 12 Jun 2009 17:51:36 +0000 (10:51 -0700)]
Fixes #1914574. An NPE could be causes in lists by ViewGroup.dispatchDraw().

ViewGroup was trying to access the AttachInfo without checking whether the
info object is null. The object can be null at varioous times in the lifecycle
of a list.

15 years agoHide gestures API.
Romain Guy [Fri, 12 Jun 2009 17:28:28 +0000 (10:28 -0700)]
Hide gestures API.

15 years agoMake the date format preference work again.
Eric Fischer [Fri, 12 Jun 2009 01:11:09 +0000 (18:11 -0700)]
Make the date format preference work again.

It is only used for numeric dates -- spelled-out dates have such a complex
variety of formats that they can only be meaningfully formatted from
locale strings.

In addition, the preference is left null when initializing, on the assumption
that the locale will still specify a more useful numeric format than we can
guess as part of a build-wide configuration.

But if the user has specified a format, the date will be formatted in the
order they asked for, with locale-appropriate punctuation substituted in.

15 years agoresolved conflicts for merge of a798dd86 to donut
Ramanan Rajeswaran [Fri, 12 Jun 2009 16:49:16 +0000 (09:49 -0700)]
resolved conflicts for merge of a798dd86 to donut

15 years agoMerge change 4047 into donut
Android (Google) Code Review [Fri, 12 Jun 2009 15:33:59 +0000 (08:33 -0700)]
Merge change 4047 into donut

* changes:
  Fix issue #899198 MODE_RINGER_STREAMS_AFFECTED does not restore volumes correctly

15 years agoMerge change 3981 into donut
Android (Google) Code Review [Fri, 12 Jun 2009 15:32:09 +0000 (08:32 -0700)]
Merge change 3981 into donut

* changes:
  Removed trailing whitespaces.

15 years agoFix issue #899198 MODE_RINGER_STREAMS_AFFECTED does not restore volumes correctly
Eric Laurent [Fri, 12 Jun 2009 13:09:28 +0000 (06:09 -0700)]
Fix issue #899198 MODE_RINGER_STREAMS_AFFECTED does not restore volumes correctly

The problem is that setRingerModeInt() does not handle streams not affected by ringer mode: when enabling "Alarm in silent mode" while in silent mode, setRingerModeInt is called after alarm streamis removed from ringer mode affected streams, and nothing is done.

The fix constists in also processing streams that are not affected by ringer mode and to restore last audible volume for them. It does not arm reapplying the volume for streams the are never affected by ringer mode as we don't do this very often.

The other problem noted in the bug report (ringer volume always restored to non zero value when exiting silent mode even if set to zero before) is also fixed: a new parameter is added to setIndex() and setStreamVolumeInt() to explicitely request to store the volume index as last audible instead of doing it automatically if index > 0.

15 years agoMerge change 3424 into donut
Android (Google) Code Review [Fri, 12 Jun 2009 12:33:40 +0000 (05:33 -0700)]
Merge change 3424 into donut

* changes:
  Add the VPN services package, VPN service base classes and L2tpIpsecService.

15 years agoShow proper suggestion item hilite on selection.
Satish Sampath [Fri, 12 Jun 2009 10:58:46 +0000 (11:58 +0100)]
Show proper suggestion item hilite on selection.

With the new implementation of using a SuggestionItemView, we no longer need to draw a solid background for all items in the suggestion listview. Hence removing the code to draw a default white background, and make the item transparent so the listview-drawn selection hilite shows through.

15 years agoAdd the VPN services package, VPN service base classes and L2tpIpsecService.
Hung-ying Tyan [Mon, 8 Jun 2009 05:27:11 +0000 (13:27 +0800)]
Add the VPN services package, VPN service base classes and L2tpIpsecService.

Also add android.security.Keystore. This is a quick solution. Will be
evolved to a more mature implementation.

PATCH SET 2:
+ Add VpnServiceBinder to hide VpnService and its subclasses.
+ Add sendCommand2() to AndroidServiceProxy to work with the latest mtpd.

PATCH SET 3:
+ Rebase to catch up with new commits; no changes made.

PATCH SET 4:
+ Remove/comment out @Override on interface methods to be compilable for Java 1.5.

PATCH SET 5:
+ Add L2tpService.java.
+ Make VpnService to work on SingleServerProfile; add serverIp to
  connect(); set system property "net.vpn.server_ip"; and move
  getPppOptionFilePath() from L2tpIpsecService to VpnService
+ Revise VpnManager to start VpnService without worrying about which
  type (as the type info is in VpnProfile)
+ Remove installation stuff from VpnManager

PATCH SET 6:
+ Fix PATCH SET 5 (the patch was messed up). Please ignore PATCH SET 5.

PATCH SET 7:
+ Fix styles.

PATCH SET 8:
+ Add CANCELLED to VpnState.

PATCH SET 9:
+ Make VpnProfile serializable (in order to save them to persistent storage)

PATCH SET 10:
+ Remove Keystore.java as it's added in another CL.

15 years agoMerge changes 3953,3954 into donut
Android (Google) Code Review [Fri, 12 Jun 2009 02:50:05 +0000 (19:50 -0700)]
Merge changes 3953,3954 into donut

* changes:
  Make the file backup helper not crash if a file you requested can't be stated.  This means you don't need to know if the files you are backing up exist or not -- we'll figure it out for you.
  Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.

15 years agoMerge change 4008 into donut
Android (Google) Code Review [Fri, 12 Jun 2009 01:06:17 +0000 (18:06 -0700)]
Merge change 4008 into donut

* changes:
  Fixes #1886237. Views drawing cache was not generated properly.

15 years agoFixes #1886237. Views drawing cache was not generated properly.
Romain Guy [Fri, 12 Jun 2009 00:35:47 +0000 (17:35 -0700)]
Fixes #1886237. Views drawing cache was not generated properly.

In compatibility mode, a View's drawing cache was created at the 160 density
scale instead of the right scale.

15 years agoRemoved trailing whitespaces.
Nicolas Catania [Thu, 11 Jun 2009 23:33:49 +0000 (16:33 -0700)]
Removed trailing whitespaces.

15 years agoMerge change 3967 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 23:20:22 +0000 (16:20 -0700)]
Merge change 3967 into donut

* changes:
  Update control files (pass/fail/nontext/crash) to results from CRB45

15 years agoMerge change 3907 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 22:54:51 +0000 (15:54 -0700)]
Merge change 3907 into donut

* changes:
  Support SMS cell broadcasting for GSM in RIL.java

15 years agoSupport SMS cell broadcasting for GSM in RIL.java
johnwang [Thu, 11 Jun 2009 17:05:29 +0000 (10:05 -0700)]
Support SMS cell broadcasting for GSM in RIL.java

enable gsm related cell broadcast requests in RIL.java and add SmsBraodcastConfigInfo class.

The gsm related cell broadcast requests include

RIL_REQUEST_GET_BROADCAST_CONFIG
RIL_REQUEST_GET_BROADCAST_CONFIG
RIL_REQUEST_BROADCAST_ACTIVATION
RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS

modified:   BaseCommands.java
modified:   CommandsInterface.java
modified:   RIL.java
modified:   RILConstants.java
modified:   cdma/CdmaSMSDispatcher.java
new file:   gsm/SmsBroadcastConfigInfo.java
modified:   test/SimulatedCommands.java

15 years agoUpdate control files (pass/fail/nontext/crash) to results from CRB45
Guang Zhu [Thu, 11 Jun 2009 22:42:23 +0000 (15:42 -0700)]
Update control files (pass/fail/nontext/crash) to results from CRB45

15 years agoMerge change 3775 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 22:21:02 +0000 (15:21 -0700)]
Merge change 3775 into donut

* changes:
  DO NOT MERGE.

15 years agoMerge change 3949 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 22:07:58 +0000 (15:07 -0700)]
Merge change 3949 into donut

* changes:
  TextToSpeech class cleanups - harmonized private member variable names - added success / failure codes (used for now in initialization) - synchronized access to speech completed listener.

15 years agoMake the file backup helper not crash if a file you requested
Joe Onorato [Thu, 11 Jun 2009 18:27:16 +0000 (11:27 -0700)]
Make the file backup helper not crash if a file you requested
can't be stated.  This means you don't need to know if the files
you are backing up exist or not -- we'll figure it out for you.

15 years agoAI 149797: Have SetupWizard pull the Terms of Service from the web using a new URL
Ramanan Rajeswaran [Thu, 11 Jun 2009 21:43:15 +0000 (14:43 -0700)]
AI 149797: Have SetupWizard pull the Terms of Service from the web using a new URL
  which allows us to set the language and country (based on MCC otherwise
  locale country). If we are unable to retrieve the ToS, or verify the
  content, we load the default ToS (en_US) from the device.
  BUG=1856455

Automated import of CL 149797

15 years agoTextToSpeech class cleanups
Jean-Michel Trivi [Thu, 11 Jun 2009 21:35:48 +0000 (14:35 -0700)]
TextToSpeech class cleanups
- harmonized private member variable names
- added success / failure codes (used for now in initialization)
- synchronized access to speech completed listener.

15 years agoMerge change 3940 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 21:09:11 +0000 (14:09 -0700)]
Merge change 3940 into donut

* changes:
  dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash.

15 years agodumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash.
Mike Lockwood [Thu, 11 Jun 2009 21:06:56 +0000 (17:06 -0400)]
dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge change 3935 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 20:48:53 +0000 (13:48 -0700)]
Merge change 3935 into donut

* changes:
  Hook the 12- or 24-hour time format checkbox back up.

15 years agoHook the 12- or 24-hour time format checkbox back up.
Eric Fischer [Thu, 11 Jun 2009 20:37:04 +0000 (13:37 -0700)]
Hook the 12- or 24-hour time format checkbox back up.

The format strings are newly generated from CLDR.  The code is once again
the same as in cupcake: do the natural thing for the locale if the user
has never specified, but follow the checkbox if the user has ever set it.

15 years agoFix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
Joe Onorato [Thu, 11 Jun 2009 00:07:15 +0000 (17:07 -0700)]
Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.

This took quite a bit of refactoring.

15 years agoMerge change 3015 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 18:27:53 +0000 (11:27 -0700)]
Merge change 3015 into donut

* changes:
  make sms calculateLength radio-independent

15 years agoMerge change 3828 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 18:26:49 +0000 (11:26 -0700)]
Merge change 3828 into donut

* changes:
  Renaming the Tts class to TextToSpeech for clarity. Switching to HashMap for parameter lists to pass key-value parameter pairs. Using TODO instead of FIXME in comments. Removing methods that don't belong anymore to the TTS interface now the feature becomes part of the platform.

15 years agoMerge change 3899 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 16:54:58 +0000 (09:54 -0700)]
Merge change 3899 into donut

* changes:
  GpsLocationProvider: Add hooks for GPS location injection.

15 years agoGpsLocationProvider: Add hooks for GPS location injection.
Mike Lockwood [Thu, 11 Jun 2009 16:25:46 +0000 (12:25 -0400)]
GpsLocationProvider: Add hooks for GPS location injection.

This will allow injecting cell ID location to the GPS
(not implemented yet).

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoNEW_API: Expose queryAfterZeroResults searchable attribute.
Satish Sampath [Thu, 11 Jun 2009 15:33:05 +0000 (16:33 +0100)]
NEW_API: Expose queryAfterZeroResults searchable attribute.

If this attribute is provided and true, the searchable activity will be invoked for all queries in a particular session.
If set to false and the activity returned zero results for a query, it will not be invoked again in that session for supersets of that zero-results query. For example, if the activity returned zero results for "bo", it would not be queried again for "bob" as an optimization.

The default value is false.

15 years agoAdded attribute queryAfterZeroResults to searchables.
Satish Sampath [Thu, 11 Jun 2009 13:05:51 +0000 (14:05 +0100)]
Added attribute queryAfterZeroResults to searchables.

As of now we are just reading it from the xml and not acting upon it, that would come in a subsequent change.

15 years agoMerge change 3879 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 11:53:01 +0000 (04:53 -0700)]
Merge change 3879 into donut

* changes:
  ACTV: getWindowVisibility() instead of private attach count

15 years agoACTV: getWindowVisibility() instead of private attach count
Bjorn Bringert [Thu, 11 Jun 2009 11:30:48 +0000 (12:30 +0100)]
ACTV: getWindowVisibility() instead of private attach count

When debugging a problem with the search dialog drop-down
sometimes not showing up, I saw that the mAttachCount variable
in AutoCompleteTextView could get a negative value because
onDetachedFromWindow() was called multiple times. This lead to
the drop-down not being displayed on filtering.

Instead of the private attach count in ACTV, this change
uses View.getWindowVisibility().

15 years agoMerge change 3709 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 09:37:01 +0000 (02:37 -0700)]
Merge change 3709 into donut

* changes:
  Provide the Keystore feature in the framework.

15 years agoProvide the Keystore feature in the framework.
Chung-yih Wang [Wed, 10 Jun 2009 10:45:14 +0000 (18:45 +0800)]
Provide the Keystore feature in the framework.

-- added the keystore library for Java application.
-- changed the marshalling of the keystore function return.

15 years agoFix display of the selection background for search results.
Satish Sampath [Thu, 11 Jun 2009 00:28:13 +0000 (01:28 +0100)]
Fix display of the selection background for search results.

I've used a simple approach of not drawing the solid background color for the selected item, thereby letting the default selection background to show through properly. This works by using the item's 'pressed' state and redraw code which are used by the listview during the tapping operation.

15 years agoMerge change 3800 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 07:59:06 +0000 (00:59 -0700)]
Merge change 3800 into donut

* changes:
  Add SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManager for use in implementing Google suggestion refreshing in global search.

15 years agomake sms calculateLength radio-independent
Tammo Spalink [Wed, 3 Jun 2009 06:30:15 +0000 (14:30 +0800)]
make sms calculateLength radio-independent

15 years agoam aa25df24: AI 149729: fix search functionatilty for offline docs... the file...
Scott Main [Thu, 11 Jun 2009 07:01:42 +0000 (00:01 -0700)]
am aa25df24: AI 149729: fix search functionatilty for offline docs...   the file references weren\'t using the local root.   BUG=1909300

Merge commit 'aa25df2452f68d2f732ad620a97fd47b3802fa2e' into donut

* commit 'aa25df2452f68d2f732ad620a97fd47b3802fa2e':
  AI 149729: fix search functionatilty for offline docs...