20425 Commits

Author SHA1 Message Date
Derek Sollenberger
23aea6df06 Merge "fixing problem with allocating too much memory to a surface by fixing the size of the surface when it exceeds a threshold and resizing the surface when it falls beneath the threshold." 2010-03-23 12:35:35 -07:00
Patrick Scott
8cf68a37cb Merge "Fix rebuilding of these two apks." 2010-03-23 12:34:53 -07:00
Derek Sollenberger
1fa70928d3 fixing problem with allocating too much memory to a surface by fixing
the size of the surface when it exceeds a threshold and resizing the
surface when it falls beneath the threshold.

This change also causes the surface to fix its size while it is
being zoomed in order to prevent the surface from getting multiple
surfaceChangedEvents as the result of a zoom.  This also allows us
to have a smooth zoom animation for the surface.

Change-Id: I30e208f98d3a32660032bf1df9de77d0a813d756
2010-03-23 15:34:33 -04:00
Gilles Debunne
0ee0a2ea57 New edge effect when OverScrolled.
The constant force that was applied has been replaced by a spring force
when the OverScroller goes beyond valid position values.

Bounce coefficient can be set for each directions.

Change-Id: If7d506d3f35b3451f590c54d6c04a1deb8d9ca95
2010-03-23 12:25:11 -07:00
Vasu Nori
2cc1df0438 print finalizer warning before closing the cursor in finalize
this will let us know which cursor is being finalized.
if the heapworker gets wedbed due to the close bug:2536922
then we will never see the warning and never know which cursor
caused this problem

Change-Id: I595cc1014ff7a1114079b33665c092c6a2f3a907
2010-03-23 12:17:25 -07:00
Dianne Hackborn
9818d7506e Merge "Improve switching to car mode, retain night mode option." 2010-03-23 11:54:09 -07:00
Dianne Hackborn
3cfb4bff4f Merge "Don't use dim behind for the search box." 2010-03-23 11:53:12 -07:00
Dianne Hackborn
008f6561f2 Merge "Fix bug where group IDs were not being assigned during boot." 2010-03-23 11:52:14 -07:00
Dianne Hackborn
bbfd58a007 Fix bug where group IDs were not being assigned during boot.
Change-Id: Ic735e98b106932eef2c2458d73fa016274fd796f
2010-03-23 11:51:44 -07:00
Jean-Baptiste Queru
7be4c08e68 Merge "Make DownloadBase public" 2010-03-23 11:49:54 -07:00
Jean-Baptiste Queru
de08008fcf Make DownloadBase public
It's the base class for some public classes, so it needs to be public
as well according to the CTS rules.

Bug: 2537352
Change-Id: Ie2f8141d56907e1d0f4a3a040204b7b14d1fd79a
2010-03-23 11:37:38 -07:00
Leon Clarke
60708a7512 Fix for when flash loads cached crossdomain.xml files.
Cache the x-permitted-cross-domain-policies header.
http://b/issue?id=2519669
2010-03-23 18:36:58 +00:00
San Mehat
a89e372db2 Merge "Asec: Add new 'StorageNotFound' response code handling for container paths" 2010-03-23 11:25:31 -07:00
Daniel Lehmann
1c4027b68d Small speedup in getAsString and comment fix
Change-Id: I19744983bbc0f4b9060de326bd539137e373415b
2010-03-23 11:20:45 -07:00
San Mehat
2d66cef77e Asec: Add new 'StorageNotFound' response code handling for container paths
Change-Id: I45d113f77b9f0e519087356b70fc6c4b5c290935
Signed-off-by: San Mehat <san@google.com>
2010-03-23 11:14:36 -07:00
Mike Lockwood
e521a855cd Merge "LocationTracker: Fix default values for debug and signal strength logging." 2010-03-23 10:53:25 -07:00
Dianne Hackborn
e38ed5f18d Don't use dim behind for the search box.
This causes ugly artifacts, such as when dismissing, the full white
completions window disappears into the dimmed background and then
the dimmed background immediately starts undimming.  Likewise when
being displayed, the content behind dims down and then the full
white completions window appears on top.

Change-Id: Id33fb7a172796412143d84e4b3d8915624565f7d
2010-03-23 10:38:46 -07:00
Suchi Amalapurapu
9ce1319d05 Merge "Don't delete stale containers on sdcard. Comment out flaky test" 2010-03-23 10:27:51 -07:00
Vasu Nori
b978c8f8b9 Merge "close SQLiteStatement objects in finally block" 2010-03-23 10:16:38 -07:00
Mike Lockwood
27a7a6cbfe LocationTracker: Fix default values for debug and signal strength logging.
Set default to false to match the checkbox values in the preference resource.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-23 13:01:57 -04:00
Suchi Amalapurapu
f654a484b2 Don't delete stale containers on sdcard.
Comment out flaky test

Change-Id: Ic7da6421c1a1980c19f7f1c929976432245479fa
2010-03-23 09:59:08 -07:00
Robert Greenwalt
7f3e62cd92 Merge "Fix Tethering when DUN is required but wifi is ok" 2010-03-23 09:52:07 -07:00
Mike Reed
e5efe212de refresh from ascender, w/ hints
Change-Id: I50e56741c5c808257f00bc274ea608f64b3a737f
2010-03-23 11:51:11 -04:00
Patrick Scott
1110f2b9a5 Fix rebuilding of these two apks.
Add a dummy string so that a R.stamp file will be written.

Change-Id: I939f97d2d4214e2c2186c3802b606c8bfd0e3468
2010-03-23 11:44:50 -04:00
Mike Reed
b64f6f8953 only send new visiblerect and size on onscrollchanged if we're not in overscroll mode
Change-Id: Ifa290121db8f0a3612f40c40bab4f92494ce93df
2010-03-23 11:43:02 -04:00
Kenny Root
6787b7c597 Merge "Compact when NativeDaemonConnector hits buffer limit" 2010-03-23 08:07:47 -07:00
Mike Lockwood
b83b556ead Merge "GpsLocationProvider: Do our work in a Handler running in a separate thread." 2010-03-23 04:54:18 -07:00
Kenny Root
b4882ca26f Merge "Advance encodedKeySearchIndex if encodedKey matches a suffix of a parameter." 2010-03-22 23:18:52 -07:00
satok
e3b2df827f Merge "Call super.close() in MargeCursor" 2010-03-22 22:40:10 -07:00
Dianne Hackborn
85f2c9ce5a Fix issue #2530103: ActivePassword data in Device Policy Manager needs to be persisted
Also fixes how the quality vs. mode is handled to be more consistent, which also
required introducing a new "alphabetic" quality since it is possible for the user
to enter such a password.

The current password quality and length is stored in the DPM, since at boot it
couldn't figure this out from the stored password.

Change-Id: I519d9b76dd0b4431bcf42920c34dda38c9f1136e
2010-03-22 22:20:26 -07:00
Dianne Hackborn
2ccda4dc8d Improve switching to car mode, retain night mode option.
Fiddle with how we go into car mode to try to ensure we get a clean
transition.  Also have the system take care of remembering the night
mode setting so it will stay at what you want.

Change-Id: Icb94fdd961c7a192f7707ec71544485a1ea12455
2010-03-22 21:49:15 -07:00
satok
f68258f454 Call super.close() in MargeCursor
Bug: 2524465
Change-Id: I1927940b4e3a9417b36ec6169da00475662b6004
2010-03-23 11:15:28 +09:00
Romain Guy
1a26c9aa0b Merge "Improve export to bitmap layers for HierarchyViewer." 2010-03-22 19:08:22 -07:00
Romain Guy
65554f2785 Improve export to bitmap layers for HierarchyViewer.
- Do not show layers with an invisible parent
- Correctly draw extras from dispatchDraw() (ListView's dividers for instance)

Change-Id: Id2e24ae9d52879290dffbf1cc446c5eda9522fbb
2010-03-22 18:58:21 -07:00
Dianne Hackborn
464bf23688 Merge "Fix restoring of permissions after a reboot." 2010-03-22 18:19:10 -07:00
Dianne Hackborn
f657b63c1c Fix restoring of permissions after a reboot.
It turns out the whole loadedPermissions thing was pointless at this
point, and causing the problem: we would write out the granted
permissions, then at boot load them into loaded permissions, and
never actually put them in granted.

Just remove loadedPermissions.  The grantedPermissions (that is
the permissions the user has approved be granted to the app) are
all we care about.

Change-Id: I54d9dc418d6277ae0b35b8c1fc4b9c11f34f86f0
2010-03-22 18:08:07 -07:00
Kenny Root
961aa8c887 Compact when NativeDaemonConnector hits buffer limit
If NativeDaemonConnector hits its buffer limit, it would truncate the
data and lose some information. This change compacts the buffer and then
retries to read the rest of the data.

Change-Id: I0d5fee097bdd6808212ef3ad6fb4abbc6310fd4a
2010-03-22 18:02:45 -07:00
Shimeng (Simon) Wang
c021e02fd4 Merge "Check mWebViewCore to prevent potential NPE." 2010-03-22 17:21:48 -07:00
Shimeng (Simon) Wang
4d8ef42003 Check mWebViewCore to prevent potential NPE.
Bug:2532493
Change-Id: I917c57dced8638f36252638bb9814e26cdbc2768
2010-03-22 17:06:17 -07:00
Irfan Sheriff
49de491379 Use a single mWifiState instance
mWifiState was split up to speed up access
of wifi state when things are synchronized.
Use a single atomic state variable throughout.

Change-Id: I345981e3ffa3d2b0b7e70a5c6efc43185cba9062
2010-03-22 16:13:07 -07:00
The Android Open Source Project
02034d3568 merge from open-source master
Change-Id: Ie60db5faf407344b8fbe3d5c1e7c01e927ff251e
2010-03-22 15:55:38 -07:00
Eric Laurent
19eca316ca Merge "Fix issue 2472495: Phone cannot be set to silent mode via volume keys while Driveabout is taking." 2010-03-22 15:48:42 -07:00
Jake Hamby
23007a0f9b Merge "Fix some typos and logging of calls to CDMA methods." 2010-03-22 15:47:37 -07:00
Eric Laurent
5b4e654d0c Fix issue 2472495: Phone cannot be set to silent mode via volume keys while Driveabout is taking.
The problem is that AudioService.adjustStreamVolume() only handles the ringer mode change when the
STREAM_RING volume changes from 1 to 0 or 0 to 1. If another stream is soloed, the STREAM_RING stream
volume is forced to 0 and then never transits from 0 to 0 when volume down key is pressed.

The fix consists in considering the saved value instead of current value when ajusting or setting
the volume of a muted stream: only the saved value is adjusted too, leaving the stream muted but updating
the value that will be restored when it will be unmuted.

Also changed implementation of stream volume control by setRingerModeInt() to use stream mute feature
instead of direct volume control.

Change-Id: Id85d76450b36d61a0fe8195eb4bffe63ffbd427c
2010-03-22 15:46:58 -07:00
Robert Greenwalt
77e638dee8 Fix Tethering when DUN is required but wifi is ok
If the phone is configured to require a DUN connection when on mobile but also accepts
wifi upstream connections, there was a bug in the logic and you'd be left with no
upstream connection.

bug:2533914
Change-Id: I30d44764f578be4cf2c29ee90d39e8563dda06fb
2010-03-22 15:28:09 -07:00
Jake Hamby
633dfb6da6 Fix some typos and logging of calls to CDMA methods.
Fixed some comment typos and cleaned up logging of unexpected calls to
CDMA-specific methods on a non-CDMA device.

Change-Id: Ia6e5fba765122cbf3186fd9fecca7a3931a76dcc
2010-03-22 14:41:43 -07:00
Mike Lockwood
92e77dd718 Merge "Improve wakelock debugging:" 2010-03-22 14:28:36 -07:00
Romain Guy
38390b4592 Merge "Fix possible NPE in AdapterView's OnItemClickListener clients. Bug #2533718" 2010-03-22 14:20:15 -07:00
Romain Guy
45b3dcd07e Fix possible NPE in AdapterView's OnItemClickListener clients.
Bug #2533718

Change-Id: I32e72e29a7b4bb8331f2492f5c5b5507d1b3993a
2010-03-22 14:12:43 -07:00
Mike Lockwood
f5bd092b50 Improve wakelock debugging:
Throw NullPointerException if tag is null in PowerManager.newWakelock()
Print wakelock owner's uid and pid in dumpsys power output.

BUG: 2522675

Change-Id: I462c7f8c49f9896b2f58cef5a678ebd2c062a8f7
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-22 17:10:15 -04:00