1579 Commits

Author SHA1 Message Date
Android (Google) Code Review
48f72206dc am aa67df9f: Merge change 4248 into donut
Merge commit 'aa67df9f2f8e4c0993c5954e598031bbf4aaf7a3'

* commit 'aa67df9f2f8e4c0993c5954e598031bbf4aaf7a3':
  Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.
2009-06-16 08:36:12 -07:00
Android (Google) Code Review
d007d9b898 am 7d143b89: Merge change 4245 into donut
Merge commit '7d143b89b714e077f8fd7dbac80945c76bfd9814'

* commit '7d143b89b714e077f8fd7dbac80945c76bfd9814':
  Add the extra data definition for append location in the VIEW request to the Browser.
2009-06-16 08:36:04 -07:00
Leon Scroggins
1cc2420d0d Bring up the WebTextView when pressing a key on textfield.
The old code put the textfield in focus, and resulted in editing
the text semi-appropriately, but now we actually bring up the
WebTextView so that we properly handle the arrow keys, as well
as any substitution that is necessary.  This fixes
http://b/issue?id=1918883
2009-06-16 10:17:57 -04:00
Leon Scroggins
fa03cded35 Changes to make the cursor blink at the correct times.
Make the blinking caret active when the user actually starts editing
text.  To be consistent with that idea, do not rebuild the WebTextView
when the WebView regains focus.  Now sendMouseMoveIfLatest takes a
boolean parameter to determine whether to make the focusController
inactive.  Requires a matching change in webkit to pass a parameter
to the method.  Now that we only call setFocusControllerActive with
false, change the method to no longer take a boolean parameter.
Change names to reflect that.

This change also reflects a behavioral change.  If the WebView or
its window lose focus, we do not restore the blinking caret when
focus returns.
2009-06-16 09:07:42 -04:00
Android (Google) Code Review
0e81310677 Merge change 4181
* changes:
  Add new URIs to the Phone and Postal classes.
2009-06-15 18:49:19 -07:00
Android (Google) Code Review
2cc50b12d1 am 77b7d785: Merge change 4117 into donut
Merge commit '77b7d7859ab8a4ab66a31375826ddfe17dc69c07'

* commit '77b7d7859ab8a4ab66a31375826ddfe17dc69c07':
  Add a Gservices setting to have a "use location for better search".
2009-06-15 17:57:03 -07:00
Fred Quintana
9788976b14 add icon and label to the authenticator description 2009-06-15 15:57:30 -07:00
Android (Google) Code Review
aa67df9f2f Merge change 4248 into donut
* changes:
  Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.
2009-06-15 15:50:18 -07:00
Android (Google) Code Review
21f0b1766c Merge change 4247
* changes:
  Fix AbstractTableMerger for new Account format.
2009-06-15 15:46:14 -07:00
Ken Shirriff
36800d4450 Fix AbstractTableMerger for new Account format.
eclair has a _SYNC_ACCOUNT_TYPE field that isn't in donut,
so SELECT_UNSYNC needs to be updated with that field.
The lack of it causes a SQLiteException.
bug=1906760
2009-06-15 15:41:04 -07:00
Android (Google) Code Review
7d143b89b7 Merge change 4245 into donut
* changes:
  Add the extra data definition for append location in the VIEW request to the Browser.
2009-06-15 15:34:30 -07:00
Grace Kloba
ab36bcccbb Add the extra data definition for append location in the VIEW request to the Browser. 2009-06-15 15:27:17 -07:00
Dianne Hackborn
29148f90cd Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.
These are no longer used.
2009-06-15 15:25:31 -07:00
Android (Google) Code Review
77b7d7859a Merge change 4117 into donut
* changes:
  Add a Gservices setting to have a "use location for better search".
2009-06-15 15:23:20 -07:00
Android (Google) Code Review
366786725a Merge change 4137
* changes:
  Move meta feed handling to CalendarSyncAdapter
2009-06-15 14:57:49 -07:00
Christopher Tate
dac6f5fc33 am 8e55eac9: Bring the test transport\'s restore code into line
Merge commit '8e55eac96d768a4de68a091f57487deadf6d0a87'

* commit '8e55eac96d768a4de68a091f57487deadf6d0a87':
  Bring the test transport's restore code into line
2009-06-15 12:55:03 -07:00
Christopher Tate
8e55eac96d Bring the test transport's restore code into line
It now reconstructs the backup data stream as it was originally structured, no
longer assuming that its backed-up records can simply be concatenated into the
destination stream.
2009-06-15 12:33:51 -07:00
Android (Google) Code Review
2f914421da am 764ce70f: Merge change 4198 into donut
Merge commit '764ce70faf500dbfde39619409682e9bbf6fb393'

* commit '764ce70faf500dbfde39619409682e9bbf6fb393':
  protect starting of search dialog behind 'dev.disablesearchdialog' system property.
2009-06-15 12:24:58 -07:00
Android (Google) Code Review
764ce70faf Merge change 4198 into donut
* changes:
  protect starting of search dialog behind 'dev.disablesearchdialog' system property.
2009-06-15 12:23:12 -07:00
Karl Rosaen
3ed6a3342b protect starting of search dialog behind 'dev.disablesearchdialog' system property.
this will help the stress test runs find out the effect of search.
2009-06-15 12:22:47 -07:00
Android (Google) Code Review
e3a6cf3eaa am 3adf7678: Merge change 4184 into donut
Merge commit '3adf7678cdf8fa955627e096bb5c27b94adc3079'

* commit '3adf7678cdf8fa955627e096bb5c27b94adc3079':
  Add permission test structure for private framework permissions.
  Add <keygen> support for VPN.
2009-06-15 11:39:39 -07:00
Evan Millar
161dd86394 Add new URIs to the Phone and Postal classes.
The Postal class now contains:
        CONTENT_URI
             * The content:// style URI for all data records of the
             * Postal.CONTENT_ITEM_TYPE mimetype, combined with the associated contact
             * and aggregate data.
        CONTENT_TYPE
             * The MIME type of CONTENT_URI providing a directory of
             * postal addresses.

The Phone class now contains:
        CONTENT_URI
             * The content:// style URI for all data records of the
             * Phone.CONTENT_ITEM_TYPE mimetype, combined with the associated contact
             * and aggregate data.
        CONTENT_FILTER_URI
             * The content:// style URI for filtering data records of the
             * Phone.CONTENT_ITEM_TYPE mimetype, combined with the associated contact
             * and aggregate data. The filter argument should be passed
             * as an additional path segment after this URI.
        CONTENT_TYPE
             * The MIME type of #CONTENT_URI providing a directory of
             * phones.
2009-06-15 11:13:45 -07:00
Android (Google) Code Review
9fac42f8bf Merge change 4168
* changes:
  replace webview hashmap with static class
2009-06-15 11:09:30 -07:00
Android (Google) Code Review
e6881c6300 Merge change 4075 into donut
* changes:
  Add <keygen> support for VPN.
2009-06-15 10:42:20 -07:00
Android (Google) Code Review
54c1c1908a am 6c84343f: Merge change 4119 into donut
Merge commit '6c84343f0794c368e79c58b715ffad268b8e219c'

* commit '6c84343f0794c368e79c58b715ffad268b8e219c':
  Use locale-appropriate formatting to display application sizes like "252KB".
2009-06-15 10:11:48 -07:00
Android (Google) Code Review
6c84343f07 Merge change 4119 into donut
* changes:
  Use locale-appropriate formatting to display application sizes like "252KB".
2009-06-15 10:09:21 -07:00
Cary Clark
ded054c9d3 replace webview hashmap with static class
Hashmaps used to pass parameters between WebView.java and
WebViewCore.java are fragile and sometimes require boxing.
Replace them with static classes that are typesafe and use
less code.
2009-06-15 10:26:08 -04:00
Android (Google) Code Review
1810fda06f Merge change 2930
* changes:
  Add support for toggling DOM Storage support on and off.
2009-06-15 05:40:51 -07:00
Ben Murdoch
274680d9b8 Add support for toggling DOM Storage support on and off. 2009-06-15 13:05:39 +01:00
Android (Google) Code Review
89dfa08f44 Merge change 4100
* changes:
  send click in webview before sending key
2009-06-15 05:04:45 -07:00
Android (Google) Code Review
a28547d03f am 0fb46683: Merge change 3880 into donut
Merge commit '0fb466836bb654524683152371ecc32142cdf5de'

* commit '0fb466836bb654524683152371ecc32142cdf5de':
  Run search dialog in the system process.
2009-06-15 02:09:25 -07:00
Bjorn Bringert
8d17f3f24b 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.
2009-06-15 09:05:26 +01:00
Christopher Tate
daf701fa62 am 2fdd428e: Fix some backup reader/writer issues; make local transport do backup
Merge commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2'

* commit '2fdd428e0f18384160f7c38ce3a2cd9ba7e7b2c2':
  Fix some backup reader/writer issues; make local transport do backup
  Fix the jni initializer.
  Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput.
  Fix bug #1812041: activity manager crash with bad args.
  Journal backup requests so that they won't be lost in a crash
  Fix data connection issues.
2009-06-14 21:13:03 -07:00
Android (Google) Code Review
aa73f17201 am 6599426f: Merge change 4017 into donut
Merge commit '6599426f74371c823fcfe570f61577262eb0df44'

* commit '6599426f74371c823fcfe570f61577262eb0df44':
  Make the date format preference work again.
2009-06-14 21:12:17 -07:00
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
Christopher Tate
2fdd428e0f 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.
2009-06-14 19:39:29 -07:00
Joe Onorato
03f4df4b3b Fix the jni initializer. 2009-06-12 18:59:25 -07:00
Joe Onorato
1cf587496f Add RestoreFileHelper, BackupDataInput, and add java wrappers for the methods on BackupDataOutput. 2009-06-12 16:21:24 -07:00
Eric Fischer
7351dd113f Use locale-appropriate formatting to display application sizes like "252KB".
In particular allow the French and Polish translators to put a space between
the number and the unit.
2009-06-12 16:06:37 -07:00
Ken Shirriff
7014a96145 Move meta feed handling to CalendarSyncAdapter
Removes obsolete LIVE_CONTENT_URI.  Now calendar list updates are obtained
through a sync.
bug=1886271
2009-06-12 15:43:00 -07:00
Cary Clark
f958fccf47 send click in webview before sending key
Add click check to passToJavaScript if webTextView
receives a key but the field does not yet have webkit focus.
2009-06-12 17:33:37 -04:00
Amith Yamasani
430555acae Add a Gservices setting to have a "use location for better search". 2009-06-12 14:19:00 -07:00
Grace Kloba
7180efed89 Add <keygen> support for VPN. 2009-06-12 11:55:20 -07:00
Android (Google) Code Review
6599426f74 Merge change 4017 into donut
* changes:
  Make the date format preference work again.
2009-06-12 11:10:56 -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
Eric Fischer
3287695823 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.
2009-06-12 10:06:24 -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