3545 Commits

Author SHA1 Message Date
Android (Google) Code Review
fde23e398e Merge change Ic66f68a7 into eclair-mr2
* changes:
  Fix a null pointer exception caught by the monkey.
2009-10-02 16:35:51 -04:00
Android (Google) Code Review
9eca703d08 Merge change I499a9541 into eclair-mr2
* changes:
  setupRedirect() can throw. Catch it and signal the error.
2009-10-02 16:28:11 -04:00
Leon Scroggins
c66f68a787 Fix a null pointer exception caught by the monkey.
Fix http://b/issue?id=2162334
2009-10-02 15:17:31 -04:00
Grace Kloba
499a954182 setupRedirect() can throw. Catch it and signal the error.
Fix http://b/issue?id=2163139
2009-10-02 12:17:25 -07:00
Patrick Scott
86806ce11a Process synchronous requests in the same RequestQueue.
Use a dedicated Connection to process a synchronous request using the main
RequestQueue and on the WebCore thread.

HttpConnection, HttpsConnection, Connection:
    No need for ConnectionManager, just pass the proxy host to
    HttpsConnection. In Connection.clearPipe, empty should be set to true if the
    RequestFeeder does _not_ have a request for the host. I don't think that
    broke anything but it is incorrect.
ConnectionThread:
    Refactor the proxy selection into ConnectionManager.getConnection
RequestHandle:
    Add a new constructor that takes a Connection argument. Add processRequest
    to process a single request on that Connection.
RequestQueue:
    Add determine host to select between the request's host and the proxy. Add
    queueSynchronousRequest to make a new request that operates on a private
    connection. Add SyncFeeder to handle RequestFeeder.requeueRequest if the
    request fails.
Network: Use the new RequestQueue api to handle a synchronous request.

Bug: 1315832
2009-10-02 14:51:55 -04:00
Romain Guy
18d1255ebe Prevents memory leaks by correctly detaching views in AbsListView.
AbsListView can reject views from the recycler's scrap heap but when that
happens the rejected view is not detached from the parent. This can be pretty
bad in the case of TextView since it prevents them from unregistering their
OnPreDrawListeners.
2009-10-01 15:39:42 -07:00
Marco Nelissen
9b150b7457 Close the cursor before assigning a new one to the same variable. 2009-10-01 08:16:02 -07:00
Android (Google) Code Review
5a463a693c Merge change Ic2a16d4f into eclair
* changes:
  b/2148252 Fix emulator
2009-10-01 10:52:01 -04:00
Jeff Sharkey
c00099ef62 Change intent flags for launching FastTrack. 2009-10-01 05:35:59 -07:00
Bjorn Bringert
a6309c3072 On BACK in search, hide just IME if IME is fullscreen
Since a fullscreen IME covers the entire search dialog, there was
no discoverable way to get back to the search dialog.
Now, on BACK presses when the IME is fullscreen (e.g. in landscape
mode without hard keyboard), we dismiss only the IME.
A second BACK press will dismiss the search dialog.

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

Change-Id: I8e5736d83d7c35936a718929017ea04c6214700b
2009-10-01 10:56:19 +01:00
Bjorn Bringert
b782a2f4f0 Remove globalSearch argument from triggerSearch()
API council says:

"In reviewing the new triggerSearch API, we are concerned that
applications could use the option to perform a global search to spam
the user with frequent searches.  We would like the global search
option to be removed for now (not just hidden, but removed from the
internal IPC API so that nobody can find this and abuse it).  The rest
of the API should be fine as long as it is restricted to local
searches."

Fixes http://b/editIssue?id=2158785

Change-Id: Ie69a9c0ab6373cc4427aab50606885bdede40585
2009-10-01 09:57:33 +01:00
Android (Google) Code Review
00f603635d Merge change I2919f492 into eclair
* changes:
  remove cert for SampleBrowserPlugin and only check signature for the release build.
2009-10-01 02:37:18 -04:00
Dianne Hackborn
e88846eeaf Semi-workaround for #2027266: app drawer showing up on the side of the screen
(when booted while docked)

This isn't really a fix, but we now have the activity report the configuration
it actually launched in, so the activity manager will later adjust it if
needed.  Should help us recover from hitting the race in this particular case.

Change-Id: I3bb83a48c2d692b4cb1822d8ae7d924cfa9187b2
2009-09-30 23:25:53 -07:00
Dianne Hackborn
29e4a3c566 Update from API review.
Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
2009-09-30 23:21:02 -07:00
Jim Miller
d9b6f14a69 Adjust opacity for inactive dimple in rotary widget 2009-09-30 22:50:01 -07:00
Android (Google) Code Review
9901e38a96 Merge change I7a39c564 into eclair
* changes:
  Fix docs error
2009-10-01 01:27:16 -04:00
Evan Millar
772722e4b7 Fix docs error
Change-Id: I7a39c5643cf6351bac47ccafff37fd32a668b9f5
2009-09-30 22:24:07 -07:00
Android (Google) Code Review
a1323c77b9 Merge change Iaf08eabc into eclair
* changes:
  Reduce the ConnectivityManager logging.
2009-10-01 01:14:38 -04:00
Android (Google) Code Review
f09edd6037 Merge change Id60fa26a into eclair
* changes:
  Fix issue 2152541	thumbnail images stretched.
2009-10-01 01:12:35 -04:00
Robert Greenwalt
1ef95f9eed Reduce the ConnectivityManager logging.
Same great info, just fewer chars.
2009-09-30 22:10:41 -07:00
Ray Chen
ef093cd6c4 Fix issue 2152541 thumbnail images stretched. 2009-09-30 22:05:33 -07:00
Grace Kloba
2919f49273 remove cert for SampleBrowserPlugin and only check
signature for the release build.
2009-09-30 21:52:56 -07:00
Evan Millar
5042f7eae6 Unhide ContactsContract#QuickContact and fix sdk build
Change-Id: I60fdeb6d0625996d76a10f0a623c9f474337758d
2009-09-30 21:49:02 -07:00
Android (Google) Code Review
9d33d953a0 Merge change I07729abd into eclair
* changes:
  Keep the scrollbar on during TOUCH_MOVE events even when there is no movement.
2009-10-01 00:41:21 -04:00
Fred Quintana
c868acf442 show events in the UI 2009-09-30 21:29:33 -07:00
Android (Google) Code Review
8ad6d524e4 Merge change I55e15bad into eclair
* changes:
  Try to reconnect twice when the rfcomm error code is Connection Refused.
2009-10-01 00:00:17 -04:00
Android (Google) Code Review
35de7ef843 Merge change I98f2db38 into eclair
* changes:
  FastTrack->QuickContact
2009-10-01 00:00:07 -04:00
Grace Kloba
5b2c056a3f Keep the scrollbar on during TOUCH_MOVE events even
when there is no movement.

Fix http://b/issue?id=2151115
2009-09-30 20:43:24 -07:00
Evan Millar
e3ec9977bb FastTrack->QuickContact
Change-Id: I98f2db38e6402bdbe47b941d82c8f33863d1863e
2009-09-30 20:33:17 -07:00
Android (Google) Code Review
ade1aacf4c Merge change Ic88b39e6 into eclair
* changes:
  Add the signature checking for WebView plugins. The first one is for SampleBrowserPlugin. The second one is for Flash.
2009-09-30 23:17:17 -04:00
Grace Kloba
73477e7336 Add the signature checking for WebView plugins. The
first one is for SampleBrowserPlugin. The second
one is for Flash.
2009-09-30 20:14:26 -07:00
Android (Google) Code Review
5e5001bc1a Merge change I7ed72bf5 into eclair
* changes:
  Add documentation for scene mode. Other parameters may be changed after setting scene mode.
2009-09-30 22:48:02 -04:00
Wu-cheng Li
2988ab7c32 Add documentation for scene mode. Other parameters may be changed after setting scene mode. 2009-09-30 19:44:58 -07:00
Michael Chan
081f58abb7 b/2148252 Fix emulator
Change-Id: Ic2a16d4fac2a2a12a209c83ad2049829255cb31f
2009-09-30 18:14:08 -07:00
Android (Google) Code Review
88f2acb066 Merge change Iec1f8a2e into eclair
* changes:
  Add Turkish accented letters for G and S on the hard keyboard.
2009-09-30 21:06:56 -04:00
Eric Fischer
ec1f8a2ece Add Turkish accented letters for G and S on the hard keyboard.
Bug 2158331
2009-09-30 18:03:47 -07:00
Jaikumar Ganesh
54172d92af Try to reconnect twice when the rfcomm error code is Connection Refused.
This happens when the the remote headset is in a bad state or is
not accepting connections. Try twice before giving up.

Change-Id: I55e15bad6b72904b8e4ccbca89e17e9bd3ddb61e
2009-09-30 17:46:17 -07:00
Jaikumar Ganesh
4c9a29efdb Set Sink State when ACL disconnects.
Change-Id: I9c71c1b848da48883c8ce28503c53c7d32e2fa34
2009-09-30 17:46:17 -07:00
Christopher Tate
436344ae12 Turn off most of the backup-related debug logging
The core logging in BackupManagerService and in the Google backup transport are
still enabled at this point.

Change-Id: I10abfa565bbd1097dd3631051b6aca163e4af33a
2009-09-30 17:07:37 -07:00
Leon Scroggins
10be754232 If the textfield is offscreen at the end of a zoom, remove it.
Fixes http://b/issue?id=2147168

Change-Id: I068746f7a7242bab5bc2116598f0421d7385ce25
2009-09-30 19:03:31 -04:00
Android (Google) Code Review
78128d721c Merge change I2782ac8c into eclair
* changes:
  Fix regression.
2009-09-30 18:38:55 -04:00
Android (Google) Code Review
094e3e0bcc Merge change Icb89d482 into eclair
* changes:
  Check if rename of backed up file fails before persisting new changes. If not these system services will end up with inconsistent settings files when the device runs out of storage. Delete mangled settings file in PackageManager if the current write fails so that we don't end up overwriting the backed up version with the mangled version Include null check when retrieving fwd locked resource for an existing package
2009-09-30 18:37:45 -04:00
Suchi Amalapurapu
8550f25523 Check if rename of backed up file fails before persisting new changes.
If not these system services will end up with inconsistent settings files
when the device runs out of storage.
Delete mangled settings file in PackageManager if the current write fails
so that we don't end up overwriting the backed up version with the
mangled version
Include null check when retrieving fwd locked resource for an existing package
2009-09-30 15:36:29 -07:00
Nick Pelly
62895a67d2 Fix regression.
When turning off BT while connected to an A2DP/HFP headset we can hit the path

BluetoothHeadsetService.onReceive(BluetoothHeadset.STATE_CHANGED) ->
BluetoothHandsfree.audioOff() ->
BluetoothA2dp.resumeSink() ->
which causes resumeSink() to NPE because mAudioDevices.get() returns null.

It's a race between A2DP marking the device as disconnected, and HFP marking
the device as disconnected.

Fix is to NPE check in resumeSink().

Change-Id: I2782ac8c70ea1678d7de5fcd49bff8e03df36f4e
2009-09-30 15:30:43 -07:00
Android (Google) Code Review
b392c53f1f Merge change Iba6fd660 into eclair
* changes:
  Set BondState to Bonding only if it not Bonded already.
2009-09-30 18:22:46 -04:00
Dianne Hackborn
a33e3f7925 Fix issue #2154794: Force close when start facebook application.
I think when we were scanning the updated app in the system image,
from an older version on the data partition, we were not setting
the existing package to have the system flag, so not auto-granting
any new permissions.

This also includes some other cleanup in the package manager to
remove old files in various places, and tighten up logging.

Also similar logging cleanup elsewhere.

Change-Id: I6d113c7cf7e736ab9be512d6d7c94c806a24199a
2009-09-30 15:09:33 -07:00
Android (Google) Code Review
935cbda0df Merge change I174d16a3 into eclair
* changes:
  Debugging for #2027266: app drawer showing up on the side
2009-09-30 17:36:07 -04:00
Android (Google) Code Review
d2c494d9be Merge change I8b2e000c into eclair
* changes:
  add class description and revise descriptions for get*Drawable and peek*Drawable methods for clarity. also fix some links.
2009-09-30 17:32:01 -04:00
Dianne Hackborn
dc6b635cfa Debugging for #2027266: app drawer showing up on the side
Nothing fixed, but this tells us what is going on.

Change-Id: I174d16a3864af2fa235e8cc7b1e74d32a375fb42
2009-09-30 14:28:16 -07:00
Android (Google) Code Review
0100fae14f Merge change I1f7c409e into eclair
* changes:
  Make ContactStruct handle Collection properly.
2009-09-30 17:27:09 -04:00