3019 Commits

Author SHA1 Message Date
The Android Open Source Project
9d2b0f4de0 merge cafdea61a85c8f5d0646cc9413a09346c637f43f w/ one minor conflict in core/java/android/view/MotionEvent.java 2009-06-14 21:09:07 -07:00
Romain Guy
3c69d554e7 am 763a5723: Hide gestures API.
Merge commit '763a5723882ec7924114ba585b49e69b3e828b4a'

* commit '763a5723882ec7924114ba585b49e69b3e828b4a':
  Hide gestures API.
2009-06-14 20:49:54 -07:00
Ramanan Rajeswaran
859f1b0b6f am e8939bb8: resolved conflicts for merge of a798dd86 to donut
Merge commit 'e8939bb8f1453b44788d4475a8263082d858e533'

* commit 'e8939bb8f1453b44788d4475a8263082d858e533':
  AI 149797: Have SetupWizard pull the Terms of Service from the web using a new URL
2009-06-14 20:49:44 -07:00
Android (Google) Code Review
cca860fa6b am 3d4b7065: Merge change 4047 into donut
Merge commit '3d4b7065e960cdaecc8d9fd609c2e508a1f9d8f5'

* commit '3d4b7065e960cdaecc8d9fd609c2e508a1f9d8f5':
  Fix issue #899198	MODE_RINGER_STREAMS_AFFECTED does not restore volumes correctly
2009-06-12 11:43:59 -07:00
Android (Google) Code Review
5f80742306 am d670b8c6: Merge change 3981 into donut
Merge commit 'd670b8c61ebd13324ac21bdbc08d8a02fc0a765a'

* commit 'd670b8c61ebd13324ac21bdbc08d8a02fc0a765a':
  Removed trailing whitespaces.
2009-06-12 11:43:55 -07:00
Romain Guy
cafdea61a8 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.
2009-06-12 10:51:36 -07:00
Romain Guy
763a572388 Hide gestures API. 2009-06-12 10:28:28 -07:00
Android (Google) Code Review
451a37ed2d Merge change 3618
* changes:
  Fix bug 1875344 cut 2: adding option to show/noshow away presence when device is idle.
2009-06-12 10:03:18 -07:00
Ramanan Rajeswaran
e8939bb8f1 resolved conflicts for merge of a798dd86 to donut 2009-06-12 09:49:16 -07:00
Android (Google) Code Review
3d4b7065e9 Merge change 4047 into donut
* changes:
  Fix issue #899198	MODE_RINGER_STREAMS_AFFECTED does not restore volumes correctly
2009-06-12 08:33:59 -07:00
Android (Google) Code Review
d670b8c61e Merge change 3981 into donut
* changes:
  Removed trailing whitespaces.
2009-06-12 08:32:09 -07:00
Android (Google) Code Review
69b0db0654 am 83bb56c3: Merge change 3424 into donut
Merge commit '83bb56c389d003162093eef0aaee251cefc1deed'

* commit '83bb56c389d003162093eef0aaee251cefc1deed':
  Add the VPN services package, VPN service base classes and L2tpIpsecService.
2009-06-12 08:26:32 -07:00
Satish Sampath
64420d4f17 am 7f50c08f: Show proper suggestion item hilite on selection.
Merge commit '7f50c08fb998786a2963e979cd5b4347e64808e3'

* commit '7f50c08fb998786a2963e979cd5b4347e64808e3':
  Show proper suggestion item hilite on selection.
2009-06-12 08:26:25 -07:00
Android (Google) Code Review
bf85d63cb8 am 78f0f8cb: Merge changes 3953,3954 into donut
Merge commit '78f0f8cb2efe9410127c39201e240f6d438eb53c'

* commit '78f0f8cb2efe9410127c39201e240f6d438eb53c':
  Make the file backup helper not crash if a file you requested
  Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
2009-06-12 08:26:05 -07:00
Android (Google) Code Review
32c79898c0 am e8966e12: Merge change 4008 into donut
Merge commit 'e8966e126388223de119c909d572fb8d1406a3ac'

* commit 'e8966e126388223de119c909d572fb8d1406a3ac':
  Fixes #1886237. Views drawing cache was not generated properly.
2009-06-12 08:25:54 -07:00
Android (Google) Code Review
3835736988 am f229aff1: Merge change 3967 into donut
Merge commit 'f229aff118dc53c3a06f0b4120d9ce22f4c2dd6e'

* commit 'f229aff118dc53c3a06f0b4120d9ce22f4c2dd6e':
  Update control files (pass/fail/nontext/crash) to results from CRB45
2009-06-12 08:25:35 -07:00
Android (Google) Code Review
fbca18574c am cb9534f9: Merge change 3907 into donut
Merge commit 'cb9534f92007b47d86cccc306dc75ca2d64bd197'

* commit 'cb9534f92007b47d86cccc306dc75ca2d64bd197':
  Support SMS cell broadcasting for GSM in RIL.java
2009-06-12 08:25:29 -07:00
Android (Google) Code Review
ea5f83f433 am 657c80b1: (-s ours) Merge change 3775 into donut
Merge commit '657c80b146f8d6319bf059f4aea2fce3b15a50b6'

* commit '657c80b146f8d6319bf059f4aea2fce3b15a50b6':
  DO NOT MERGE.
2009-06-12 08:24:51 -07:00
Eric Laurent
9bcf401d13 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.
2009-06-12 06:09:28 -07:00
Android (Google) Code Review
83bb56c389 Merge change 3424 into donut
* changes:
  Add the VPN services package, VPN service base classes and L2tpIpsecService.
2009-06-12 05:33:40 -07:00
Android (Google) Code Review
1324d5b32c am 116e8ef1: Merge change 3949 into donut
Merge commit '116e8ef1f88ce1ead23777826dec5bd98bf99708'

* commit '116e8ef1f88ce1ead23777826dec5bd98bf99708':
  TextToSpeech class cleanups
2009-06-12 04:59:49 -07:00
Android (Google) Code Review
d10a2dec1e am 3cf0dd6a: Merge change 3940 into donut
Merge commit '3cf0dd6ad86e725f5170f6484afa90ba9ea1e4c5'

* commit '3cf0dd6ad86e725f5170f6484afa90ba9ea1e4c5':
  dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash.
2009-06-12 04:59:38 -07:00
Android (Google) Code Review
26cae05217 am 35733757: Merge change 3935 into donut
Merge commit '35733757bd1644f1fd67dc3a055391d1f167c4f2'

* commit '35733757bd1644f1fd67dc3a055391d1f167c4f2':
  Hook the 12- or 24-hour time format checkbox back up.
2009-06-12 04:59:33 -07:00
Satish Sampath
7f50c08fb9 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.
2009-06-12 11:58:46 +01:00
Hung-ying Tyan
f94b6444a3 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.
2009-06-12 15:45:56 +08:00
Android (Google) Code Review
78f0f8cb2e 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.
2009-06-11 19:50:05 -07:00
Android (Google) Code Review
e8966e1263 Merge change 4008 into donut
* changes:
  Fixes #1886237. Views drawing cache was not generated properly.
2009-06-11 18:06:17 -07:00
Romain Guy
8506ab4ac0 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.
2009-06-11 18:05:56 -07:00
Nicolas Catania
32f8277488 Removed trailing whitespaces. 2009-06-11 16:54:48 -07:00
Android (Google) Code Review
f229aff118 Merge change 3967 into donut
* changes:
  Update control files (pass/fail/nontext/crash) to results from CRB45
2009-06-11 16:20:22 -07:00
Android (Google) Code Review
cb9534f920 Merge change 3907 into donut
* changes:
  Support SMS cell broadcasting for GSM in RIL.java
2009-06-11 15:54:51 -07:00
Android (Google) Code Review
2fde0e640a Merge change 3958
* changes:
  Fix tearDown event loop - message unref, triggers when bluetoothd crashes.
2009-06-11 15:48:56 -07:00
Jaikumar Ganesh
9b0fe60b88 Fix tearDown event loop - message unref, triggers when bluetoothd crashes. 2009-06-11 15:47:58 -07:00
johnwang
e337d651a5 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
2009-06-11 15:43:29 -07:00
Guang Zhu
261a195323 Update control files (pass/fail/nontext/crash) to results from CRB45 2009-06-11 15:42:23 -07:00
Android (Google) Code Review
657c80b146 Merge change 3775 into donut
* changes:
  DO NOT MERGE.
2009-06-11 15:21:02 -07:00
Android (Google) Code Review
116e8ef1f8 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.
2009-06-11 15:07:58 -07:00
Fred Quintana
c933fb663e add a data_version column to the data table 2009-06-11 14:59:43 -07:00
Joe Onorato
ce88cb15b5 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.
2009-06-11 14:51:45 -07:00
Android (Google) Code Review
31ff7a366f Merge change 3952
* changes:
  Split FountainView into View and RS parts.  Beging adding ProgramVertex to the java api.  It was already implemented in native.
2009-06-11 14:47:18 -07:00
Jason Sams
1fe9b8c3bd Split FountainView into View and RS parts. Beging adding ProgramVertex to the java api. It was already implemented in native. 2009-06-11 14:46:10 -07:00
Ramanan Rajeswaran
a798dd8629 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
2009-06-11 14:43:15 -07:00
Jean-Michel Trivi
91bf30a477 TextToSpeech class cleanups
- harmonized private member variable names
- added success / failure codes (used for now in initialization)
- synchronized access to speech completed listener.
2009-06-11 14:35:48 -07:00
Android (Google) Code Review
3cf0dd6ad8 Merge change 3940 into donut
* changes:
  dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash.
2009-06-11 14:09:11 -07:00
Mike Lockwood
666c11d13f dumpstate: Temporarily disable dumping /proc/slabinfo to avoid kernel crash.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-11 17:06:56 -04:00
Android (Google) Code Review
35733757bd Merge change 3935 into donut
* changes:
  Hook the 12- or 24-hour time format checkbox back up.
2009-06-11 13:48:53 -07:00
Eric Fischer
af0e7a7394 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.
2009-06-11 13:37:04 -07:00
Andrew Stadler
66e4aed2ac Add ViewBinder & setText APIs to match SimpleCursorAdapter
There's nothing new here, just a clone of the ViewBinder API from
SimpleCursorAdapter.  This provides a much more lightweight way to
override data mapping on an item-by-item basis.

Possibly to-do, but I would rather leave for another CL:
(1) Better handling of expanded/contracted group & last child (footer).
(2) Cached info map (see SimpleCursorAdapter) for performance
2009-06-11 12:17:50 -07:00
Android (Google) Code Review
3dc719b6c2 Merge change 3922
* changes:
  Move the zoom buttons to the bottom right for the browser.
2009-06-11 12:04:12 -07:00
Leon Scroggins
aa3f96a745 Move the zoom buttons to the bottom right for the browser.
Per Leland's latest design, the zoom buttons should be on
the bottom right of the screen.  Move them there.
2009-06-11 14:46:35 -04:00