Commit Graph

1195 Commits

Author SHA1 Message Date
Android (Google) Code Review
581fbec215 Merge change 5237 into donut
* changes:
  Calling setItemChecked(p, true) twice would toggle the selection in ListView.
2009-06-24 12:59:15 -07:00
Android (Google) Code Review
eff8b7ef72 Merge change 5236 into donut
* changes:
  RelativeLayout was ignoring some dependencies.
2009-06-24 12:44:30 -07:00
Android (Google) Code Review
ae0dcb536b Merge change 5220 into donut
* changes:
  Cleanup header file. Disallow copy of Camera object by making copy constructor and operator= private.
2009-06-24 12:26:02 -07:00
Christopher Tate
6441a76b2e Put back LOGP -> printf in the backup helper code 2009-06-24 11:20:51 -07:00
Android (Google) Code Review
8068d16df6 Merge change 5162 into donut
* changes:
  Preserve file access mode when backing up / restoring files
2009-06-24 11:18:01 -07:00
Dave Sparks
f5a8faa751 Cleanup header file. Disallow copy of Camera object by making copy
constructor and operator= private.
2009-06-24 10:42:53 -07:00
Android (Google) Code Review
fd9e3c5546 Merge change 5142 into donut
* changes:
  Fix NPE in GradientDrawable constructor
2009-06-24 09:48:07 -07:00
Android (Google) Code Review
43b4f796bb Merge change 5172 into donut
* changes:
  Remove deprecated callback function support. This is the last of a 3-part change to modify the camera to use a more streamlined callback interface. This change removes the old code. Bug 1884362
2009-06-24 09:10:05 -07:00
Android (Google) Code Review
e1a75447f5 Merge change 5158 into donut
* changes:
  Use a ref-counted callback interface for Camera. This allows the camera service to hang onto the callback interface until all callbacks have been processed. This prevents problems where pending callbacks in binder worker threads are processed after the Java camera object and its associated native resources have been released. Bug 1884362
2009-06-24 08:34:34 -07:00
Dave Sparks
dc76f7bfa1 Remove deprecated callback function support.
This is the last of a 3-part change to modify the camera to use
a more streamlined callback interface. This change removes the
old code.
Bug 1884362
2009-06-24 07:58:27 -07:00
Dave Sparks
bbbc7cb77e Use a ref-counted callback interface for Camera.
This allows the camera service to hang onto the callback interface
until all callbacks have been processed. This prevents problems
where pending callbacks in binder worker threads are processed
after the Java camera object and its associated native resources
have been released.
Bug 1884362
2009-06-24 07:58:27 -07:00
Android (Google) Code Review
c8be159ba6 Merge change 5190 into donut
* changes:
  Fix 1933269: startPreview failed.
2009-06-24 01:02:46 -07:00
Chih-Chung Chang
fa89f9f897 Fix 1933269: startPreview failed.
The reason we need this count is a new CameraService::connect() request may
come in while the previous Client's destructor has not been run or is still
running. If the last strong reference of the previous Client is gone but
destructor has not been run, we should not allow the new Client to be created
because we need to wait for the previous Client to tear down the hardware
first.
2009-06-24 15:50:57 +08:00
Android (Google) Code Review
fae6a84c56 Merge change 5188 into donut
* changes:
  Fixes #1905761. Updates the height of ACTV's drop down whenever the IME changes.
2009-06-23 22:46:29 -07:00
Android (Google) Code Review
dc1bcbf178 Merge change 5176 into donut
* changes:
  Export the output to a text file and save to sdcard
2009-06-23 19:51:00 -07:00
Android (Google) Code Review
afc52f99e1 Merge change 5129 into donut
* changes:
  Improve RelativeLayout by allowing dependencies to be declared in a random order.
2009-06-23 17:48:11 -07:00
Christopher Tate
5c2882b25c Preserve file access mode when backing up / restoring files
This change adds a fixed-size metadata block at the head of each file's content
entity.  The block is versioned, and fixed-size on the theory that it might be
nice to be able to recover the content (if not the full metadata) of the files
if we're ever confronted with data backed up some hypothetical future helper
that stored expanded metadata.

The net effect is that now on restore, we assign the same access mode to the
file that it originally had when backed up.

Also, some of the code was failing to properly free transient heap-based buffers
when it encountered errors.  This has been fixed with the addition of a tiny
stack-based object whose job it is to free() its designated pointer from its
destructor.
2009-06-23 17:40:44 -07:00
Android (Google) Code Review
4b1af26754 Merge change 5119 into donut
* changes:
  Adding support for pitch changes of the synthesized text in Text-To-Speech.
2009-06-23 15:50:43 -07:00
Android (Google) Code Review
612a7bdd47 Merge change 5100 into donut
* changes:
  Fill in CDMA gaps and clean up ToneGenerator code
2009-06-23 13:38:34 -07:00
Christopher Tate
ab2e9e81e1 Add file mode to the file-backup saved state blobs
This change puts the file's access mode into the saved-state blob used by the
file backup helpers.  The tests have been updated for the new blob content
format.

What this change *doesn't* do is actually backup/restore the file mode.  This
change is a prerequisite for that, but mode preservation in backup/restore will
require adding metadata to the backup data stream itself, so will be approached
a bit more carefully.

(Also fixed one outright bug in the test program: ReadEntityData() had been
changed to return a ssize_t union of either a byte-count or a negative number
indicating error, but the test program was still assuming that nonzero == error,
and was spuriously failing.)
2009-06-23 13:07:47 -07:00
Android (Google) Code Review
e9107fd745 Merge change 5054 into donut
* changes:
  Rollback the number of loop in the memory stress test
2009-06-23 10:09:03 -07:00
Android (Google) Code Review
85845dcded Merge change 4878 into donut
* changes:
  Add smalltest annotation to HardwareServicePermissionTest.
2009-06-23 09:52:21 -07:00
Android (Google) Code Review
610f4dbe21 Merge change 5024 into donut
* changes:
  Remove opengl tests from tests build
2009-06-22 18:30:40 -07:00
Android (Google) Code Review
da4e89dc31 Merge change 5014 into donut
* changes:
  Fix issue #1933587.  Perform dexopt of instrumentation .apks.
2009-06-22 18:30:05 -07:00
Android (Google) Code Review
6bca3daec9 Merge change 5035 into donut
* changes:
  add glTexParameteri() and fix glTexParameteriv()
2009-06-22 18:18:39 -07:00
Mathias Agopian
b12f99b315 add glTexParameteri() and fix glTexParameteriv() 2009-06-22 18:09:09 -07:00
Sriram Raman
8c1127fbe3 Remove opengl tests from tests build 2009-06-22 17:22:12 -07:00
Android (Google) Code Review
8ae84423fd Merge change 4885 into donut
* changes:
  Merge the output file into one.
2009-06-22 17:14:59 -07:00
Android (Google) Code Review
7c4fa86d2f Merge change 5006 into donut
* changes:
  Pass the originating app's versionCode along with a restore set
2009-06-22 16:47:06 -07:00
Android (Google) Code Review
94116aeb6b Merge change 4990 into donut
* changes:
  Fix a few more blatantly wrong date formats.
2009-06-22 16:45:20 -07:00
Android (Google) Code Review
6e510838fc Merge change 4961 into donut
* changes:
  Set organizations to be null for generateKeyPair to use the default.
2009-06-22 16:22:33 -07:00
Android (Google) Code Review
e77efd3ea5 Merge change 4977 into donut
* changes:
  Update the gservices gtalk setting for the terms and services url.
2009-06-22 15:45:31 -07:00
Android (Google) Code Review
cc33ce7046 Merge change 4965 into donut
* changes:
  Fix bugs 1827027, 1808979, 1820700.
2009-06-22 14:31:21 -07:00
Android (Google) Code Review
cfb991d1f8 Merge change 4910 into donut
* changes:
  fix warnings that will show up with GCC 4.4 (in master)
2009-06-22 14:01:25 -07:00
Android (Google) Code Review
7412caaa8c Merge change 4947 into donut
* changes:
  Yet another round of trying to get the date formats right.
2009-06-22 13:48:02 -07:00
Android (Google) Code Review
1c34a75937 Merge change 4954 into donut
* changes:
  gps: Check for null APN name to avoid a runtime restart.
2009-06-22 13:22:48 -07:00
Android (Google) Code Review
2e69f210fd Merge change 4952 into donut
* changes:
  Helper API cleanup.  Allows multiple helpers to function, because they'll always go in the same order, and this lets us not have to write headers to keep them paired.
2009-06-22 13:18:09 -07:00
Android (Google) Code Review
149b67dd30 Merge change 4477 into donut
* changes:
  BulkCursorToCursorAdaptor.respond no longer assumes RemoteException is impossible, fails more gracefully.
2009-06-22 13:02:36 -07:00
Joe Onorato
9cda3e02c6 Helper API cleanup. Allows multiple helpers to function,
because they'll always go in the same order, and this lets
us not have to write headers to keep them paired.
2009-06-22 13:02:24 -07:00
Android (Google) Code Review
8b81ce105d Merge change 4940 into donut
* changes:
  Fixes #1933585. Don't dismiss ACTV's drop down when it's set to alwaysVisible.
2009-06-22 11:17:13 -07:00
Android (Google) Code Review
f91e77622f Merge change 4754 into donut
* changes:
  At boot time, add additional per-device information to the kernel randomness pool.  This helps increase the quality / uniqueness of the random numbers, and is especially important during the device's first boot, when insufficient randomness is available.
2009-06-22 10:55:25 -07:00
Android (Google) Code Review
0404a4a26e Merge change 4805 into donut
* changes:
  add GServices settings for Google Talk privacy and legal urls.
2009-06-22 10:43:11 -07:00
Android (Google) Code Review
7a0d859187 Merge change 4827 into donut
* changes:
  Fix issue with shared user permissions. just look in the requested permissions of packages within shared user setting rather than the granted permissions
2009-06-22 10:39:15 -07:00
Android (Google) Code Review
292ae4f642 Merge change 4775 into donut
* changes:
  Make browser bookmarks permissions part of the public API.
2009-06-22 08:01:58 -07:00
Android (Google) Code Review
efc227f74a Merge change 4914 into donut
* changes:
  Make all static methods in SearchManager non-static.
2009-06-22 07:19:49 -07:00
Android (Google) Code Review
bdc8ed576e Merge change 4913 into donut
* changes:
  Add non-static version of SearchManager.getSuggestions().
2009-06-22 05:53:04 -07:00
Android (Google) Code Review
259da697b7 Merge change 4908 into donut
* changes:
  Remove checks for Activity Context when creating SearchManager
2009-06-22 04:45:23 -07:00
Android (Google) Code Review
6ba2b1b2e5 Merge change 4737 into donut
* changes:
  Add prepareToDraw() to Bitmap for fixing http://b/issue?id=1907995.
2009-06-22 03:48:29 -07:00
Android (Google) Code Review
84159b508f Merge change 4907 into donut
* changes:
  Add more debug messages for CameraService.
2009-06-22 03:41:19 -07:00
Mathias Agopian
52ed26a78b fix warnings that will show up with GCC 4.4 (in master) 2009-06-22 02:35:32 -07:00