1441 Commits

Author SHA1 Message Date
Fred Quintana
03d9490758 - create a new generic ISyncAdapter implementation, SyncAdapterNew
- change the applyBatch to take an ArrayList rather than an []
 - change Entity to be a final flass that contains ContentValues
 - remove the ability to update/insert Entities by a ContentProviderOperation
2009-06-01 16:17:03 -07:00
Android (Google) Code Review
2ba3223cc9 Merge change 2855 into donut
* changes:
  Add a new method to load html data into the WebView.
2009-06-01 15:22:18 -07:00
Android (Google) Code Review
4dad4a3c3c am c17f16e3: Merge change 2851 into donut
Merge commit 'c17f16e33a0fca7efa10e758a526cd8d5d3a31f3'

* commit 'c17f16e33a0fca7efa10e758a526cd8d5d3a31f3':
  Change comment for SUGGEST_COLUMN_INTENT_EXTRA_DATA to clarify that
2009-06-01 14:51:43 -07:00
Android (Google) Code Review
c17f16e33a Merge change 2851 into donut
* changes:
  Change comment for SUGGEST_COLUMN_INTENT_EXTRA_DATA to clarify that this column is for use by global search only.
2009-06-01 14:50:26 -07:00
Ramanan Rajeswaran
8cb6617107 Add a new method to load html data into the WebView. 2009-06-01 14:43:44 -07:00
Wink Saville
f315238a2b TODO's from Teleca with modifications from wink. 2009-06-01 14:39:20 -07:00
Mike LeBeau
21fd5f144a Change comment for SUGGEST_COLUMN_INTENT_EXTRA_DATA to clarify that
this column is for use by global search only.
2009-06-01 22:30:56 +01:00
Android (Google) Code Review
1f4c2951f1 am b249890b: Merge change 2835 into donut
Merge commit 'b249890bc6740531898d94aaecac34d5736106bc'

* commit 'b249890bc6740531898d94aaecac34d5736106bc':
  Add framework support for scrolling to the "More results..." list item
2009-06-01 14:23:46 -07:00
Android (Google) Code Review
b249890bc6 Merge change 2835 into donut
* changes:
  Add framework support for scrolling to the "More results..." list item when it is clicked.
2009-06-01 14:21:54 -07:00
Cary Clark
d6982c9bb4 in the browser, make the trackball more like a mouse
Older code treated the trackball as a four way dpad with
equivalents to moving up, down, left and right by generating
arrow key events. This change makes the trackball solely
generate mousemove events.

The old arrow keys in turn were mapped to be as close as
possible to tab-key events that moved the focus. The new
model leaves focus-changes to the DOM.

Clicking the dpad is distinguished from pressing the enter
key to be more compatible with desktop-authored web pages.
2009-06-01 16:55:24 -04:00
Mike LeBeau
ae9760b62c Add framework support for scrolling to the "More results..." list item
when it is clicked.
2009-06-01 21:53:09 +01:00
Android (Google) Code Review
b0d031ad13 am fa30c0ee: Merge change 2548 into donut
Merge commit 'fa30c0eed3386af37be0f0df7aeaa886a8e6095d'

* commit 'fa30c0eed3386af37be0f0df7aeaa886a8e6095d':
  Fix a bug in AppSecurityPermissions where it wouldn't display permissions used by an app if it uses a shared user id.
2009-06-01 10:22:35 -07:00
Android (Google) Code Review
fa30c0eed3 Merge change 2548 into donut
* changes:
  Fix a bug in AppSecurityPermissions where it wouldn't display permissions used by an app if it uses a shared user id. Remove the else clause and always get the list of requested permissions first before adding the permissions obtained via the shared user id. Also change an if condition and comments for better readability
2009-06-01 10:21:05 -07:00
Android (Google) Code Review
7c49790cde am 162c9d0e: Merge change 2805 into donut
Merge commit '162c9d0e90eaa71adc8c7d1456d1a9a95e638c47'

* commit '162c9d0e90eaa71adc8c7d1456d1a9a95e638c47':
  base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE
2009-06-01 10:01:08 -07:00
Android (Google) Code Review
162c9d0e90 Merge change 2805 into donut
* changes:
  base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE
2009-06-01 09:58:44 -07:00
Android (Google) Code Review
ceb0cba357 am 10d273bb: Merge change 2591 into donut
Merge commit '10d273bb69016f7eb056d7ea1f3a929a5f5a3314'

* commit '10d273bb69016f7eb056d7ea1f3a929a5f5a3314':
  Check if the ownerView is still attached to window in
2009-06-01 09:58:38 -07:00
Android (Google) Code Review
10d273bb69 Merge change 2591 into donut
* changes:
  Check if the ownerView is still attached to window in refreshPositionVariables.
2009-06-01 09:55:44 -07:00
San Mehat
5a3a77dabd base: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE
Signed-off-by: San Mehat <san@google.com>
2009-06-01 09:25:28 -07:00
Android (Google) Code Review
16275c36f0 Merge change 2792
* changes:
  get rid of utils.h
2009-05-31 22:44:44 -07:00
Christopher Tate
ad6042aa23 am 181fafaf: Retool the backup process to use a new \'BackupAgent\' class
Merge commit '181fafaf48208978b8ba2022683ffa78aaeddde1'

* commit '181fafaf48208978b8ba2022683ffa78aaeddde1':
  Retool the backup process to use a new 'BackupAgent' class
2009-05-31 19:44:35 -07:00
Mathias Agopian
3b4062eeb0 get rid of utils.h 2009-05-31 19:13:00 -07:00
Christopher Tate
181fafaf48 Retool the backup process to use a new 'BackupAgent' class
Backups will be handled by launching the application in a special
mode under which no activities or services will be started, only
the BackupAgent subclass named in the app's android:backupAgent
manifest property.  This takes the place of the BackupService class
used earlier during development.

In the cases of *full* backup or restore, an application that does
not supply its own BackupAgent will be launched in a restricted
manner; in particular, it will be using the default Application
class rather than any manifest-declared one.  This ensures that the
app is not running any code that may try to manipulate its data
while the backup system reads/writes its data set.
2009-05-31 13:10:03 -07:00
Android (Google) Code Review
6d0a6a6fbb am afbc9ab3: Merge change 2692 into donut
Merge commit 'afbc9ab3707cc8b1954333f258f220800b3cc104'

* commit 'afbc9ab3707cc8b1954333f258f220800b3cc104':
  * Chagned RecognitionService interface to use more complex RecognitionResult instead of String.
2009-05-29 17:10:38 -07:00
Android (Google) Code Review
afbc9ab370 Merge change 2692 into donut
* changes:
  * Chagned RecognitionService interface to use more complex RecognitionResult instead of String.
2009-05-29 17:09:19 -07:00
Mitsuru Oshima
34b234d53f * Chagned RecognitionService interface to use more complex RecognitionResult instead of String. 2009-05-29 16:54:55 -07:00
Android (Google) Code Review
733f840aaa am c3b7e4e7: Merge change 2736 into donut
Merge commit 'c3b7e4e7dda7a81e7f1017f17adb717ffb3d50d2'

* commit 'c3b7e4e7dda7a81e7f1017f17adb717ffb3d50d2':
  Telephony support for SMS memory reporting to the network.
2009-05-29 15:17:27 -07:00
Android (Google) Code Review
c3b7e4e7dd Merge change 2736 into donut
* changes:
  Telephony support for SMS memory reporting to the network.
2009-05-29 15:16:22 -07:00
Android (Google) Code Review
150f7dc14b am f422dc49: Merge change 2566 into donut
Merge commit 'f422dc495ae092e8354b383a21f47b43ea698939'

* commit 'f422dc495ae092e8354b383a21f47b43ea698939':
  Fix javadoc typos. No code changes.
2009-05-29 15:10:11 -07:00
Android (Google) Code Review
f422dc495a Merge change 2566 into donut
* changes:
  Fix javadoc typos. No code changes.
2009-05-29 15:07:45 -07:00
Android (Google) Code Review
4a3cdb2f7b am 2d75410f: Merge change 2748 into donut
Merge commit '2d75410f20653858f358237ae9bd09b053fe8f8f'

* commit '2d75410f20653858f358237ae9bd09b053fe8f8f':
  Fix the build.
2009-05-29 15:04:50 -07:00
Romain Guy
8d78756c16 Fix the build. 2009-05-29 15:02:55 -07:00
Android (Google) Code Review
8a718a4596 am a5f50b8f: Merge change 2746 into donut
Merge commit 'a5f50b8f49cc9b34b1de462e11498d92c692b978'

* commit 'a5f50b8f49cc9b34b1de462e11498d92c692b978':
  Modify the base gestures API to use streams instead of files. Adds new wrappers to easily load/save gestures from files, resources, etc. Do the same for the letters recognizer.
2009-05-29 14:47:16 -07:00
Romain Guy
0a63716ed0 Modify the base gestures API to use streams instead of files. Adds new wrappers to easily load/save gestures from files, resources, etc. Do the same for the letters recognizer. 2009-05-29 14:43:54 -07:00
jsh
867641ece3 Telephony support for SMS memory reporting to the network.
- Use ordered broadcast to allow receivers to set a result code.
- Ack SMS with result code.
- New RIL command to report memory status.
- Fixed a typo in a Gservices setting.
- Merge in CL 137895 (hold a wake lock while broadcasting SMS_RECEIVED).
2009-05-29 14:22:36 -07:00
Android (Google) Code Review
0a91b0be8f am 7a8c4377: Merge change 2737 into donut
Merge commit '7a8c437723a50b171d0cd97cb17886b28dffce92'

* commit '7a8c437723a50b171d0cd97cb17886b28dffce92':
  Fixes #1878499.
2009-05-29 13:56:39 -07:00
Android (Google) Code Review
7a8c437723 Merge change 2737 into donut
* changes:
  Fixes #1878499.
2009-05-29 13:54:39 -07:00
Romain Guy
d1c67d42ab Fixes #1878499.
Ignore touch up events that happen after a gesture was cancelled. This fix also improves performance by ignoring move events that are within the touch threshold.
2009-05-29 13:53:16 -07:00
Android (Google) Code Review
4f67310f19 am d1353cc4: Merge change 2731 into donut
Merge commit 'd1353cc4f14a9bed49b04b0c3a6fd57784102465'

* commit 'd1353cc4f14a9bed49b04b0c3a6fd57784102465':
  Fixes #1873537.
2009-05-29 13:45:23 -07:00
Android (Google) Code Review
d1353cc4f1 Merge change 2731 into donut
* changes:
  Fixes #1873537.
2009-05-29 13:43:57 -07:00
Android (Google) Code Review
9b8c5b6974 am 9d981343: Merge change 2732 into donut
Merge commit '9d981343c9d187b4746ed1f3658224d9551d51c8'

* commit '9d981343c9d187b4746ed1f3658224d9551d51c8':
  Fix for #1878497.
2009-05-29 12:31:08 -07:00
Android (Google) Code Review
9d981343c9 Merge change 2732 into donut
* changes:
  Fix for #1878497.
2009-05-29 12:29:17 -07:00
Romain Guy
9ffe1ae56b Fix for #1878497.
Always pre-allocate a gesture's bounding box to avoid possible NPEs.
2009-05-29 12:28:23 -07:00
Romain Guy
c51ef9702d Fixes #1873537.
Only update the popup window when it is shown. This avoids throwing an NPE in PopupWindow.
A PopupWindow is only aware of its content view after being shown.
2009-05-29 12:05:11 -07:00
Android (Google) Code Review
8e19b7c0e4 am a3d28bd5: Merge change 520 into donut
Merge commit 'a3d28bd5c278f750c70f2b87fce23df221cd4a01'

* commit 'a3d28bd5c278f750c70f2b87fce23df221cd4a01':
  Enforce permissions for PhoneStateListener events.
2009-05-29 11:49:36 -07:00
Android (Google) Code Review
a3d28bd5c2 Merge change 520 into donut
* changes:
  Enforce permissions for PhoneStateListener events.
2009-05-29 11:48:34 -07:00
Romain Guy
bf6a00d37b am e32edc61: Fixes #1884152. This change improves how the opaque property is handled with respect to dividers.
Merge commit 'e32edc614e62ac874a969d3cc6bb1e0c0c3f2607'

* commit 'e32edc614e62ac874a969d3cc6bb1e0c0c3f2607':
  Fixes #1884152. This change improves how the opaque property is handled with respect to dividers.
2009-05-29 11:41:21 -07:00
Jaikumar Ganesh
4551565943 Enforce permissions for PhoneStateListener events.
PhoneStateListener events like LISTEN_CALL_STATE_CHANGED,
have privacy information like phone numbers and hence,
need to be protected with a permission. The permission
READ_PHONE_STATE is used for this purpose. Use the permission
trick to ensure backward compatability.
2009-05-29 11:38:00 -07:00
Romain Guy
e32edc614e Fixes #1884152. This change improves how the opaque property is handled with respect to dividers.
If the list is opaque and its background is not, then we want to fill a solid rect where the dividers should be when they are skipped for non-selectable items. When the list is opaque and the background is also opaque, there is no need to draw something in lieu of the dividers since the background will do it for us.
2009-05-29 10:33:36 -07:00
Bjorn Bringert
0ad6dc0ebc am 761e0918: Unmap memory in MemoryFile.close().
Merge commit '761e0918d30b6a3f292625b44b86dffd1538bc78'

* commit '761e0918d30b6a3f292625b44b86dffd1538bc78':
  Unmap memory in MemoryFile.close().
2009-05-29 06:48:43 -07:00
Bjorn Bringert
761e0918d3 Unmap memory in MemoryFile.close().
As reported in http://b/issue?id=1398215 MemoryFile did not
munmap(2) the ashmem region after closing it. This
causes the process to leak virtual address space.

This change fixes the problem by calling munmap(2) in
close(). The unmapping is done by a helper method deactivate().
The change also replaces the use of an int for the
file descriptor with a FileDescriptor object to
make sure that we keep track of when the file descriptor
has been closed. I chose to implement it this way because I
will need decativate() and a FileDescriptor object in an
upcoming change that allows sending MemoryFile file
descriptors between processes.

The change also adds a number of tests for the behavior
of close(). The testCloseRead() and testCloseWrite() fail
with the old MemoryFile implementation, and testCloseLeak()
causes a segfault. They all pass now.
2009-05-29 13:28:14 +01:00