10396 Commits

Author SHA1 Message Date
The Android Open Source Project
3001a03543 auto import from //branches/cupcake/...@132276 2009-02-19 10:57:31 -08:00
Rebecca Schultz Zavin
c35feb106e Add support for camera preview to be in overlay surfaces.
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-02-13 17:28:15 -08:00
Rebecca Schultz Zavin
31d459d81a Add getBufferCount API to Overlay objects
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-02-13 17:26:28 -08:00
Rebecca Schultz Zavin
bc4afde167 Need to dup file descriptor when reading from the binder for native handles
When reading a native handle that has passed through the binder,
the fds have to be duped to prevent them from getting closed when the binder
object is destructed.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-02-13 16:34:38 -08:00
The Android Open Source Project
da996f390e auto import from //branches/cupcake/...@131421 2009-02-13 12:57:50 -08:00
Adrian Taylor
754270601a Removing "import" statements from AIDL-generated .java files.
AIDL generates unnecessary "import" statements. These cause warnings
within Eclipse when the default Eclipse warnings settings are used.
This is inconvenient since the generated .java files are not
editable. Some pesky organisations have a zero-warnings policy
too, so there's no option but to fiddle with the Eclipse settings.

This patch ensures that all usages of class names within the
generated code are fully-qualified. In practice, they were nearly
all fully-qualified already. And this patch also removes the
generation of the import statements, since they are redundant
if we're using fully-qualified names everywhere.

This should fix issue 43 in the Google Code Android issues tracker.
http://code.google.com/p/android/issues/detail?id=43

I would appreciate if somebody who knows exactly how 'aidl'
works could confirm that there's no reason 'import' statements
would have been necessary except for the bits I've fixed. (I think
unqualified names were used much more frequently in early versions
of aidl, which might explain why import statements are generated
so eagerly).
2009-02-13 09:53:11 +00:00
Adrian Taylor
625648e059 Fixing verb in permdesc_readFrameBuffer English.
There were too many verbs in this sentence. Ideally this patch should
also be applied to some of the other languages. German seems OK but
French not - and that's as far as my linguistic abilities go. I
haven't fixed the French since I'm only 99% sure I wouldn't mess it up!

I chose "read" not "use" because this permission does not allow
writing to the frame buffer; it currently only controls the
screenshotting functionality inside SurfaceFlinger.
2009-02-12 10:04:44 +00:00
The Android Open Source Project
d24b8183b9 auto import from //branches/cupcake/...@130745 2009-02-10 15:44:00 -08:00
Jean-Baptiste Queru
eef3c54deb Fix 1855: Restore constants to pre-cupcake values.
Since some of those constants are used in the persistent database,
modifying them for cupcake meant that the new code was getting
confused by the old persistified data after an upgrade to cupcake,
teh most visible symptom being that downloads that had been initiated
from the browser would re-appear in the notifications.
2009-02-06 13:05:07 -08:00
ralf
914a32b834 AAPT needs a buffer larger than 1 MB on the host to decode resources.arsc from SDK/android.jar.
This leaves the asset unzip buffer to 1 MB on the device and 2 MB on the host.
2009-02-05 11:58:27 -08:00
Jean-Baptiste Queru
d816d082e1 Remove old (unused) download manager APIs 2009-02-02 15:59:47 -08:00
Mike Hearn
adcd2ed8d2 Add some documentation to WebView, WebSettings and CookieSyncManager.
Double-tree rendering is deprecated.
2009-01-29 08:40:33 -08:00
Android Code Review
55f6b8e910 Merge 2009-01-26 16:19:55 -08:00
Jean-Baptiste Queru
2076373275 Add missing <limits.h> include
This should fix the build for gcc 4.3.2
2009-01-26 12:11:20 -08:00
The Android Open Source Project
94cbba0933 Merge branch 'cupcake' 2009-01-22 00:16:08 -08:00
The Android Open Source Project
f1e484acb5 auto import from //branches/cupcake/...@127436 2009-01-22 00:13:42 -08:00
Brock Atchison
ea780b689f Changes required to accommodate OpenCORE 2.0 2009-01-21 19:00:25 -06:00
Jean-Baptiste Queru
06323a692e Introduce new names for the download manager API fields.
The new names will allow for better consistency and better API
documentation if/when they're made public in the SDK.

This will be followed by a later change that removes the old names
2009-01-21 08:02:32 -08:00
The Android Open Source Project
7547115694 Merge branch 'cupcake' 2009-01-20 14:05:35 -08:00
The Android Open Source Project
22f7dfd234 auto import from //branches/cupcake/...@127101 2009-01-20 14:03:58 -08:00
android-build SharedAccount
0fda766e53 Merge branch 'cupcake' 2009-01-15 16:16:01 -08:00
The Android Open Source Project
9266c558bf auto import from //branches/cupcake/...@126645 2009-01-15 16:12:10 -08:00
Jaikumar Ganesh
562bb3db4f telephony: Return NOT_SUPPORTED for RIL_REQUEST_GET_NEIGHBORING_CELL_IDS.
Currently, RIL_REQUEST_GET_NEIGHBORING_CELL_IDS causes the RIL to crash,
due to backward compatibility issues.
This fix is a temporary hack to make the API return REQUEST_NOT_SUPPORTED
Command Exception till the compatibility issues are fixed.
2009-01-14 18:37:35 -08:00
The Android Open Source Project
e570a0fa86 auto import from //branches/cupcake/...@125939 2009-01-09 18:24:37 -08:00
The Android Open Source Project
b798689749 auto import from //branches/cupcake/...@125939 2009-01-09 17:51:23 -08:00
Jon Larimer
9bdf576615 proposed fix for issue #1703: http://code.google.com/p/android/issues/detail?id=1703 2009-01-02 18:55:15 -05:00
Jean-Baptiste Queru
e1dc1d6dc8 Merge commit 'remotes/korg/cupcake'
Conflicts:
	core/java/com/android/internal/app/AlertController.java
	core/res/res/values/strings.xml
	media/java/android/media/AudioSystem.java
	services/java/com/android/server/LocationManagerService.java
2008-12-19 08:31:54 -08:00
The Android Open Source Project
f013e1afd1 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:43 -08:00
Android Code Review
f066bbedcf Merge 2008-12-10 00:39:26 +00:00
Jon Larimer
cf734f4e4e fix (more) style issues from change #5124 2008-12-09 18:17:41 -05:00
Mike Reed
1a2d9dbe9c Refresh fonts with updated license strings in the 'name' table
Use compressed kerning format
Add cyrillic characters
2008-12-09 09:51:08 -05:00
Jon Larimer
fd9f42a696 In removeGpsStatusListener, remove the listener for real. 2008-12-07 18:44:24 -05:00
Jon Larimer
56fe6be0c3 Enforce permission for using addGpsStatusListener. Even though it's currently hidden and inaccessible from the SDK, it's still
possible for an Android app to use, so it needs to check perms.
2008-12-07 18:40:05 -05:00
Nick Pelly
78233dd912 Add bluetooth include path.
Fixes build when BOARD_HAVE_BLUETOOTH := true

Signed-off-by: Nick Pelly <npelly@google.com>
2008-11-24 16:18:38 -08:00
Jean-Baptiste Queru
e70cfafe58 Change ROUTE_ALL from 15 (4-bit mask) to -1 (32-bit mask) to allow for more routes in the future. 2008-11-24 10:01:58 -08:00
Jeyprakash
5aa6bb1edd Avoid using the 'sample' syntax to refer to Phone Application, in the core.
This adds a build dependency on the PhoneApp, and the core build fails on
configurations that do not have Phone Application.

Build Error:
frameworks/base/core/java/android/widget/TwoLineListItem.java:31: error 2: Error reading file for include "" packages/apps/Phone/res/layout/dialer_list_item.xml
2008-11-22 15:00:24 -08:00
Jean-Baptiste Queru
88e728210b Change ROUTE_ALL from 15 (4-bit mask) to -1 (32-bit mask) to allow for more routes in the future. 2008-11-21 14:19:18 -08:00
Tom Gibara
24847f3517 Fix for bug 1185.
The constructor IntentFilter(String action, String dataType) ignores the action parameter.
This change ensures that it is correctly added to the set of actions.
2008-11-04 02:25:42 +00:00
Evan JIANG
ae499953ce Fix issue 1164: Incorrect organization type label in contacts
http://code.google.com/p/android/issues/detail?id=1164
The organization definition in string-array resource is different from
android.provider.Contacts.OrganizationColumns
2008-11-02 09:47:52 +08:00
Muthu Ramadoss
a895b79ccf BUG FIX - http://code.google.com/p/android/issues/detail?id=955
Fixed AlertDialog.Builder setMultiChoiceItems losing checked state for invisible items in UI
when backed by a Cursor. Please refer to the issue tracker for more details.
2008-10-31 14:39:49 +05:30
raphael
9b68d54c0e Fix typo. It's "picasa", not "picassa". 2008-10-28 14:44:31 -07:00
Jean-Baptiste Queru
1ef4564d4a Change values of ACTION_POWER constants to better match established practice.
Trim code to 100 lines to match style guide.
2008-10-24 11:49:25 -07:00
Cliff Spradlin
fda6fae156 Added broadcasts for external power events. 2008-10-23 10:24:41 -07:00
Alexey Zaytsev
862bfdba15 Add a few missing headers.
Fixes build with gcc 4.3.2 on Debian.

Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
2008-10-22 02:05:55 +04:00
Alexey Zaytsev
0aa7fe6876 Add a few missing headers
Fixes build with gcc 4.3.2

Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
2008-10-21 23:52:01 +04:00
The Android Open Source Project
54b6cfa9a9 Initial Contribution 2008-10-21 07:00:00 -07:00