7672 Commits

Author SHA1 Message Date
Amith Yamasani
747d2d4b9e Use a Go button instead of a magnifying glass in the keyboard for in-app search.
bug: 2197781
2010-03-12 15:42:45 -08:00
Wink Saville
4ea0628a84 Merge "Add quit and fix HSM EBNF." 2010-03-11 12:15:20 -08:00
Wink Saville
1b8b98b3db Add quit and fix HSM EBNF.
Add support for quiting the looper and stopping a thread.

Allow enter/exit at top or bottom of a STATE EBNF.

Fix missing brace in MSG_LIST.

Change-Id: Iddf5ce908008933bf8f0646e844254183da3d1f3
2010-03-11 11:49:54 -08:00
Patrick Scott
08e1f21dd4 Merge "Do not send the not-modified response when validating the cache." 2010-03-11 11:47:22 -08:00
Grace Kloba
5acac5f216 Merge "Implement smart-zoom per Adobe request." 2010-03-11 11:43:56 -08:00
Vasu Nori
06ea4c7c6b Merge "add more debug info to SQL section in bugreport" 2010-03-11 11:42:45 -08:00
Grace Kloba
c6f95fe523 Implement smart-zoom per Adobe request.
When double tap on plugin object, we toggle between
centering plugin object and overview mode.

Fix http://b/issue?id=2501726
2010-03-11 11:40:46 -08:00
Vasu Nori
c3849200fa add more debug info to SQL section in bugreport
after this CL, adb bugreport will the following info (under SQL section
of each app's meminfo dump)

 SQL
            heap:      344       memoryUsed:      344
pageCacheOverflo:       67  largestMemAlloc:       50

 DATABASES
  Pagesize   Dbsize  Lookaside  Dbname
      1024        7         24  googlesettings.db
      1024       26        110  talk.db
      1024       11          0    (attached) transient_talk_db
      1024       11         32  subscribedfeeds.db
      1024       20         27  gservices.db

Change-Id: Iabd13be9793d9794137c60a045b84fa632f13498
2010-03-11 11:38:31 -08:00
Doug Zongker
b5957a3a32 Merge "make RecoverySystem.verifyPackage interruptible" 2010-03-11 11:15:53 -08:00
Doug Zongker
cb95657326 make RecoverySystem.verifyPackage interruptible
Change-Id: I09f6746914ef63c81312efd3a8959b0c28f6003a
2010-03-11 11:07:24 -08:00
Adam Powell
b7ef1d9ec9 Make paging touch slop smaller
Change-Id: I36e2623dcc6e3209de51d32841ca68ce322cc5d8
2010-03-11 10:25:24 -08:00
Patrick Scott
5ac85ccabb Do not send the not-modified response when validating the cache.
Bug: 2450517
Change-Id: Ibdff4c4b573bb63ac5de94ec7277241bb0242203
2010-03-11 12:41:20 -05:00
Mike LeBeau
84eb8d2a7d Merge "Fix a variable name reference in Activity docs." 2010-03-11 09:22:18 -08:00
Mike LeBeau
305de9dbda Fix a variable name reference in Activity docs.
Change-Id: Ib0fd1c6b75f73a4470d2cb790884490a3efa8716
2010-03-11 09:21:08 -08:00
Fabrice Di Meglio
4bb75b9e35 Merge "Fix bug #2493102 (Sync keeps getting stuck, or at least very slow)" 2010-03-11 09:20:57 -08:00
Patrick Scott
73f7537b30 Limit the projection to just the url.
Todo: bulk request the icons to avoid posting a billion messages.

Bug: 2496872
Change-Id: I6298f8d6f3000cfbbf56c6bed5f98b9836706f6d
2010-03-11 10:33:28 -05:00
Leon Scroggins
aa27045a2c Use AsyncTask to update the history in the background.
Part of http://b/issue?id=2485421

Change-Id: Iccb2c3fc22e14eb1eb88d98ebb4499df14ffb511
2010-03-11 09:45:10 -05:00
Cary Clark
2809631e59 use the correct LayoutParams to fix going to fullscreen view
Change-Id: Id4d1841d720011c6fda6c43fe7ffb55762cef259
http://2467842
2010-03-11 08:25:33 -05:00
Adam Powell
bfb5d4b93b Added overscroll headers and footers to ListView.
These let developers set a drawable for the list header and footer
to be drawn above and below list content.

Change-Id: Ideddec854cb0bc11f83efb3c000c217844be82c7
2010-03-10 22:14:28 -08:00
Dianne Hackborn
2ee89ea288 Applications should -not- be able to set preferred activities.
I can't believe I let this slip through.  And in the SDK no less. :(

The APIs for setting preferred activities will now throw a security
exception when used.  This may break some apps, we'll see how it
goes.  If it is too bad we can just make these log and not throw
anything, but I would much prefer they throw an exception.

Change-Id: I3aed434750eef8b202aa9d5bd774a0121be521c6
2010-03-10 21:26:23 -08:00
Omari Stephens
d2a2daaa89 Fix small typo in javadoc: "deleting" -> "updating"
Change-Id: Ie0464aa92d33eb5b076a8122f5bd6317fd44a7b2
2010-03-10 18:54:49 -08:00
Eric Fischer
26779e7e82 Merge "Don't break lines in the middle of a smiley or other graphic replacement." 2010-03-10 17:59:48 -08:00
Fabrice Di Meglio
1dfc8a2518 Fix bug #2493102 (Sync keeps getting stuck, or at least very slow)
- use sql bindargs and extract usefull sql statements
- code cleaning and formatting

Change-Id: I717bf063b3f009e7369b70618f834d780ad6baa3
2010-03-10 17:49:46 -08:00
Robert Greenwalt
b9e1ed2b80 Merge "Make HiPri work when already connected." 2010-03-10 16:52:27 -08:00
Dianne Hackborn
b8b11a0b1d Further improvements to window management!
Fix issue #2493497: Stuck in the Emergency dialer - Home/Back keys doesn't work
This was another case of not updating the window focus when needed, this time
when the lock screen was hidden.

Also re-arrange the layout/animate flow to address issues where you would see
a flicker of whatever was behind the lock screen when showing a new activity that
hides the lock screen.  This was because we were deciding to hide the lock screen
during the layout phase, which meant we had to do it without considering whether
it had drawn.  So we could hide the lock screen before the window is shown for the
first time after being drawn.  Now we can do this in the policy during animate, so
we can wait until the window is drawn and actually being shown.

The flow in perform layout is thus significantly changed, where the layout and
animate loops are both under the same repeating loop.  The actual flow from this
should be the same, but it now allows the policy to request a new layout after
the animation loop is done.  This actually cleans up a number of things in this
code as the complexity has increased.

Finally this includes a change to the ui mode manager when switching modes, to do
the resource configuration switch at a different time.  This makes transitions
between modes much cleaner (though not yet perfect).

Change-Id: I5d9e75c1e79df1106108dd522f8ffed6058ef82b
2010-03-10 16:47:57 -08:00
Erik
191bbafacc Merge "Noticed comment field when splitting guests wasn't being cleared." 2010-03-10 16:29:44 -08:00
Robert Greenwalt
78a640af95 Make HiPri work when already connected.
A recent change made the HiPri MobileDataStateTracker listen for notifications
about the default connection (which HiPri shadows).  Local code was sending
itself a notification using the old HiPri badging instead of the new Default
badging and those notifications where therefore ignored.

Manifested itself on HiPri connections when we were already on 3g.

See change 42422 on master platform/frameworks/base for the change this is completing.

Change-Id: I375026048724d0035297287c61c6c2f58d4e0294
2010-03-10 16:19:18 -08:00
Suchi Amalapurapu
5e1573601b Merge "Dont include code size for apps on sdcard. Use constants defined in PackageHelper for user preferences to install auto, internal, external. Set default install location to external. Update settings db version number" 2010-03-10 16:15:35 -08:00
Suchi Amalapurapu
089262dc02 Dont include code size for apps on sdcard.
Use constants defined in PackageHelper for user preferences
to install auto, internal, external.
Set default install location to external.
Update settings db version number

Change-Id: Ib5110c9377990e20a48cee923e55898dfddfd1e6
2010-03-10 16:08:51 -08:00
Eric Fischer
de61f78340 Don't break lines in the middle of a smiley or other graphic replacement.
The code that was supposed to keep this from happening was not being
executed when the text was all ASCII.

Bug 1899722

Change-Id: Ifc97a4423d6136e19abbc4c82eb36ac0216ce415
2010-03-10 14:51:09 -08:00
Fred Quintana
8af295af91 Merge "check if the binding to the authenticator has been disconnected during the GetAccuintsByTypeAndFeature operation and abort if it has been, thus avoiding an NPE" 2010-03-10 14:08:29 -08:00
Fred Quintana
29e94b81c7 check if the binding to the authenticator has been disconnected
during the GetAccuintsByTypeAndFeature operation and abort
if it has been, thus avoiding an NPE

Change-Id: I7f707c7b0a1bdf80c0de9dfa7a3ae32323d623de
http://b/2497196
2010-03-10 13:45:05 -08:00
Fred Quintana
3802141d17 Merge "make the syncmanager keep track if whether a service has been unbound from so that it knows whether to call unbind at a later time" 2010-03-10 13:41:44 -08:00
Amith Yamasani
c357df1261 Merge "Fixing bug 2502522 - Accessibility events contain text of invisible views" 2010-03-10 12:53:20 -08:00
Romain Guy
80ea00c839 Fix the build.
Change-Id: I7ed20f3d2fb1a80974fbbfe42fdd2f8f135ee401
2010-03-10 12:40:04 -08:00
Fred Quintana
3ec4730e37 make the syncmanager keep track if whether a service has been unbound
from so that it knows whether to call unbind at a later time

Change-Id: Ida0d4b06454909d84380e2336fcc238834d292bc
http://b/2492397
2010-03-10 12:38:10 -08:00
Daniel Sandler
8957da23aa Merge "Add VIBRATE_IN_SILENT to the settings database & backup." 2010-03-10 12:03:07 -08:00
Daniel Sandler
1c7fa4836b Add VIBRATE_IN_SILENT to the settings database & backup.
Change-Id: Id31e24ef0536278ccb66b22bba7ed2b47eb1a371
2010-03-10 15:01:25 -05:00
Svetoslav Ganov
be75659485 Fixing bug 2502522 - Accessibility events contain text of invisible views
Change-Id: I0eccc82ad9f3139e46942cb61212bb83f992c173
2010-03-10 11:51:20 -08:00
Adam Powell
9ceaf70eab Merge "Added ViewConfiguration.getScaledPagingTouchSlop()" 2010-03-10 10:50:38 -08:00
Adam Powell
de8d0834fc Added ViewConfiguration.getScaledPagingTouchSlop()
Change-Id: I9ab5560c4b76d2b87e53d38b10ba8f5ec4868d85
2010-03-10 10:16:21 -08:00
Mike Reed
180403ac10 pin our visible content bounds to the bounds of the doc itself, to account for overscroll
Change-Id: I3c8165338e31da45a70b3f65ba8389a7a50d6e07
http://b/issue?id=2496502
2010-03-10 13:11:48 -05:00
Leon Scroggins
49658cb55b Merge "When context is voice, show the microphone." 2010-03-10 10:07:46 -08:00
Suchi Amalapurapu
6069beb2df Rename ApplicationInfo.FLAG_ON_SDCARD to ApplicationInfo.FLAG_EXTERNAL_STORAGE
Change-Id: Iadef9f9bb2851c38b6d79be1bafbf932abce4210

Change-Id: I2e412bace3d8005db5057a3497bd836d0038b90c
2010-03-10 09:46:49 -08:00
Leon Scroggins
4f22a54555 When context is voice, show the microphone.
Part of fix for http://b/issue?id=2501400

Change-Id: Ibdf364942bcdc8ec837fb8bb30a33c1af2ba5b06
2010-03-10 12:04:29 -05:00
Leon Scroggins
62459c0fa5 If the new text and old text are "", return from onTextChanged.
Fixes http://b/issue?id=2496329

Change-Id: I239f143c0e539710342e46783157344a4d7ccc08
2010-03-10 09:08:47 -05:00
Kristian Monsen
a401d559ec Don't cut the url on a redirect
This is a fix for issue 2485033. It is not a final fix, but just starting with this so it can be discussed on code review. The line in question
was added to fix issue 1690652.

Updated fix. Stores the url before it is cut during a redirect. Forwards this to the reponse instead of the cut url.

Update 2: Using the old originalUrl

Change-Id: I286084451aa45e51d5d07811f9d119cf83849592
2010-03-10 12:40:04 +00:00
Jeff Sharkey
fe62d04c30 Helper for combining multiple selection/selectionArgs.
Change-Id: I08eb082149a2a3e45ab00b81a3f46825ad52188d
2010-03-09 17:44:34 -08:00
Dianne Hackborn
cf244ada58 Add ability for some manifest attributes to reference resources.
This loosens our restriction on many manifest attributes requiring
literal string values, to allow various ones to use values from
resources.  This is only allowed if the resource value does not change
from configuration changes, and the restriction is still in place
for attributes that are core to security (requesting permissions) or
market operation (used libraries and features etc).

Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
2010-03-09 17:18:05 -08:00
Jaikumar Ganesh
ae58f6d747 Merge "Add an API to set the link timeout." 2010-03-09 16:56:36 -08:00