OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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...

15 years agoAI 149729: fix search functionatilty for offline docs...
Scott Main [Thu, 11 Jun 2009 06:40:25 +0000 (23:40 -0700)]
AI 149729: fix search functionatilty for offline docs...
  the file references weren't using the local root.
  BUG=1909300

Automated import of CL 149729

15 years agoRenaming the Tts class to TextToSpeech for clarity.
Jean-Michel Trivi [Thu, 11 Jun 2009 00:33:34 +0000 (17:33 -0700)]
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 agoFlesh out restore interface on manager; work up most of LocalTransport
Christopher Tate [Thu, 11 Jun 2009 03:23:25 +0000 (20:23 -0700)]
Flesh out restore interface on manager; work up most of LocalTransport

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

* changes:
  Allow arrays of values for power profile data.

15 years agoAllow arrays of values for power profile data.
Amith Yamasani [Tue, 9 Jun 2009 13:32:35 +0000 (06:32 -0700)]
Allow arrays of values for power profile data.

Parse arrays for data that has different levels with non-linear
power increase.
Track radio data awake_time from kernel and mobile/total data
transfers.
Use dummy values for default power_profile.xml. Actual values will
be in a product overlay.

15 years agoMade the platform TTS service aware of the path for the default TTS library to load.
Jean-Michel Trivi [Thu, 11 Jun 2009 01:38:50 +0000 (18:38 -0700)]
Made the platform TTS service aware of the path for the default TTS library to load.

15 years agoMerge change 3826 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 00:32:21 +0000 (17:32 -0700)]
Merge change 3826 into donut

* changes:
  LocationManagerService: Fix logic error removing multiple dead receivers.

15 years agoLocationManagerService: Fix logic error removing multiple dead receivers.
Simon Schoar [Wed, 10 Jun 2009 19:12:10 +0000 (21:12 +0200)]
LocationManagerService: Fix logic error removing multiple dead receivers.

If multiple receivers are dead, only the first one will be added.
found in http://code.google.com/p/android/issues/detail?id=2651

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge change 3799 into donut
Android (Google) Code Review [Thu, 11 Jun 2009 00:10:05 +0000 (17:10 -0700)]
Merge change 3799 into donut

* changes:
  Turned on the windows media related test cases as the binary already integrated.

15 years agoThe rest of the basic flow for restore
Christopher Tate [Wed, 10 Jun 2009 22:49:30 +0000 (15:49 -0700)]
The rest of the basic flow for restore

Also moved the processOneBackup() implementation into the Thread class that runs
the backup sequence.

15 years agoAdd SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManager
Mike LeBeau [Wed, 10 Jun 2009 22:47:54 +0000 (23:47 +0100)]
Add SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManager
for use in implementing Google suggestion refreshing in global search.

15 years agoMerge change 3806 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 23:38:12 +0000 (16:38 -0700)]
Merge change 3806 into donut

* changes:
  Fix a couple null pointer exceptions in CDMA voice call handling.

15 years agoMerge change 3795 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 23:24:01 +0000 (16:24 -0700)]
Merge change 3795 into donut

* changes:
  URI/extra data for inline scheme.

15 years agoTurned on the windows media related test cases as the binary already integrated.
Yu Shan Emily Lau [Wed, 10 Jun 2009 22:46:32 +0000 (15:46 -0700)]
Turned on the windows media related test cases as the binary already integrated.

15 years agoresolution support fix/improvement
Mitsuru Oshima [Wed, 10 Jun 2009 04:16:08 +0000 (21:16 -0700)]
resolution support fix/improvement
    * adding compatibility menu
    * backup gravity
    * set expanable=true if the screen size is hvga * density.
    * added "supports any density" mode. I'll add sdk check later.
    * disallow to catch orientation change event if the app is not expandable. This
      was causing layout problem under non-expandable mode. I discussed this with Mike C
      and we agreed to do this approach for now. We'll revisit if this causes problem to
      a lot of applications.

15 years agoMerge change 3782 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 22:20:55 +0000 (15:20 -0700)]
Merge change 3782 into donut

* changes:
  Reimport Portuguese translations.

15 years agoURI/extra data for inline scheme.
Mitsuru Oshima [Wed, 10 Jun 2009 22:18:08 +0000 (15:18 -0700)]
URI/extra data for inline scheme.

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

* changes:
  Process the response of RIL_REQUEST_REPORT_SMS_MEMORY_STATUS.

15 years agoMerge change 3765 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 22:11:52 +0000 (15:11 -0700)]
Merge change 3765 into donut

* changes:
  Add a gservices flag to limit the size of protobufs we can gzip

15 years agoMerge change 3730 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 22:09:37 +0000 (15:09 -0700)]
Merge change 3730 into donut

* changes:
  Restructuring the TTS files so that it works as a Service

15 years agoReimport Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 22:08:06 +0000 (15:08 -0700)]
Reimport Portuguese translations.

15 years agoMerge change 3760 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 22:03:06 +0000 (15:03 -0700)]
Merge change 3760 into donut

* changes:
  Enable HierarchyViewer on debuggable builds, even if they're secure.

15 years agoMerge change 3761 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 22:03:06 +0000 (15:03 -0700)]
Merge change 3761 into donut

* changes:
  Added support to record page load time for each url.

15 years agoMerge change 3754 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 22:03:06 +0000 (15:03 -0700)]
Merge change 3754 into donut

* changes:
  Fix some 12- vs 24-hour problems in the FormatDateRange strings.

15 years agoAdd a gservices flag to limit the size of protobufs we can gzip
Cynthia Wong [Wed, 10 Jun 2009 21:42:42 +0000 (14:42 -0700)]
Add a gservices flag to limit the size of protobufs we can gzip

15 years agoEnable HierarchyViewer on debuggable builds, even if they're secure.
Romain Guy [Wed, 10 Jun 2009 20:36:04 +0000 (13:36 -0700)]
Enable HierarchyViewer on debuggable builds, even if they're secure.

That will let us (finally) use the tool on userdebug builds.

15 years agoFix a couple null pointer exceptions in CDMA voice call handling.
Wink Saville [Wed, 10 Jun 2009 21:35:28 +0000 (14:35 -0700)]
Fix a couple null pointer exceptions in CDMA voice call handling.

15 years agoAdded support to record page load time for each url.
Guang Zhu [Wed, 10 Jun 2009 20:37:03 +0000 (13:37 -0700)]
Added support to record page load time for each url.

15 years agoRestructuring the TTS files so that it works as a Service
Charles Chen [Wed, 10 Jun 2009 17:39:55 +0000 (10:39 -0700)]
Restructuring the TTS files so that it works as a Service

15 years agoFix some 12- vs 24-hour problems in the FormatDateRange strings.
Eric Fischer [Wed, 10 Jun 2009 19:10:22 +0000 (12:10 -0700)]
Fix some 12- vs 24-hour problems in the FormatDateRange strings.

Use a resource instead of a hardcoded string for the 24-hour format
since it is not exactly the same in every locale.

Make sure the 12-hour format is actually for a 12-hour clock, even in
locales where this is not a normal thing to do.  In the cap_ampm version,
do not have it try to capitalize "am" and "pm" if these are non-ASCII
strings, since strftime() doesn't know about Unicode and will mess it up.

Add a comment so that people don't think the YEAR_IN_MILLIS constant is
actually the length of any real year.

15 years agoMerge change 3577 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 19:36:45 +0000 (12:36 -0700)]
Merge change 3577 into donut

* changes:
  Make aapt Error out when an overlay adds a string.

15 years agoam a8c3821e: AI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:32:04 +0000 (12:32 -0700)]
am a8c3821e: AI 149721: Import Portuguese translations.

Merge commit 'a8c3821e5a9017b557744bf3439b0cde5ace86db' into donut

* commit 'a8c3821e5a9017b557744bf3439b0cde5ace86db':
  AI 149721: Import Portuguese translations.

15 years agoProcess the response of RIL_REQUEST_REPORT_SMS_MEMORY_STATUS.
Jaikumar Ganesh [Wed, 10 Jun 2009 19:25:02 +0000 (12:25 -0700)]
Process the response of RIL_REQUEST_REPORT_SMS_MEMORY_STATUS.

15 years agoAI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:25:58 +0000 (12:25 -0700)]
AI 149721: Import Portuguese translations.

Automated import of CL 149721

15 years agoDO NOT MERGE.
Grace Kloba [Wed, 10 Jun 2009 18:55:55 +0000 (11:55 -0700)]
DO NOT MERGE.

Merge 2391 from master to donut.

Added postUrl() to WebView so that we can pass lat/lon for the search.

15 years agoMerge change 2900 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 18:41:49 +0000 (11:41 -0700)]
Merge change 2900 into donut

* changes:
  Add support for custom tab views in TabHost and TabWidget.

15 years agoAdd support for custom tab views in TabHost and TabWidget.
Jack Veenstra [Tue, 2 Jun 2009 04:27:01 +0000 (21:27 -0700)]
Add support for custom tab views in TabHost and TabWidget.

This change adds the ability to specify an arbitrary view for a tab
indicator.  It also adds support for specifying a drawable to use as
the divider between tab views.

15 years agoMerge change 3178 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 18:35:43 +0000 (11:35 -0700)]
Merge change 3178 into donut

* changes:
  Add additional parameters to SETUP_DATA_CALL and SMS response.

15 years agoMerge change 3726 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 18:07:58 +0000 (11:07 -0700)]
Merge change 3726 into donut

* changes:
  ActivityManager: Ensure that we clear the calling process identity around calls to Process.setProcessGroup().

15 years agoMerge change 3725 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 18:07:52 +0000 (11:07 -0700)]
Merge change 3725 into donut

* changes:
  process: Clean up cgroup management

15 years agoMerge change 3724 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 18:05:05 +0000 (11:05 -0700)]
Merge change 3724 into donut

* changes:
  zygote: Add CAP_SYS_NICE to system server capabilities

15 years agoAdd additional parameters to SETUP_DATA_CALL and SMS response.
Jaikumar Ganesh [Thu, 4 Jun 2009 18:35:32 +0000 (11:35 -0700)]
Add additional parameters to SETUP_DATA_CALL and SMS response.

1. The authType should be specified in the APN database.
This was hardcoded to 3 in the qmi driver. We currently set it to
3 in the RIL till the apn database side changes are done.
2. RIL_SEND_SMS response has errorCode as a new field,

15 years agoMore restore plumbing, plus add suggested-backoff to transport API
Christopher Tate [Wed, 10 Jun 2009 03:45:02 +0000 (20:45 -0700)]
More restore plumbing, plus add suggested-backoff to transport API

Adds most of the code for a background-thread restore process, structured much
like the backup thread.  Broke some common functionality out into a helper
function for doing a synchronous wait for a requested agent to attach.

Added a method to IBackupTransport whereby the transport will be asked for
an opinion on whether this is a good time for a backup to happen.  It will
reply with the results of its policymaking around backoff intervals, time-of-day
selection, etc.