35788 Commits

Author SHA1 Message Date
Brian Carlstrom
a4f03f98f1 Merge "Integrate StrictMode with CloseGuard" 2010-11-04 14:32:33 -07:00
Jason Sams
c1d6210fb5 More RS exceptions cleanup.
Remove some dead code.

Change-Id: If97e3fdfe6de7bb28f22e1c5ee748c81cea3db93
2010-11-04 14:32:19 -07:00
Adam Powell
045de11a3b Fix bug 3163150 - move holo extended themes to an overlay file.
The file themes_extended is meant to be overridden per-device in an
overlay file. The overlay should include enhancements appropriate for
the device when hardware acceleration is requested by an app.

Change-Id: If2878b973845f1793a00651089bc0dd66952d916
2010-11-04 14:23:57 -07:00
Eric Rowe
776e64da88 DO NOT MERGE Add acceptPair method to BT stress.
Add a method to the test utils which waits to accept a bonding request from
another device.  This is identical to the pairing method except that it
waits for a remote pair request instead of initiating the pairing
request itself.  Also, add a test method to the test utils.

Change-Id: I6391d03e9f33c040afd64d73083acfe3184251eb
2010-11-04 14:22:39 -07:00
Brian Carlstrom
fd9ddd1a40 Integrate StrictMode with CloseGuard
In additional to adding the StringMode API for controling CloseGuard,
this checkin fixes several CloseGuard issues found booting a device.

Bug: 3041575
Change-Id: I4dffd184f49438d6d477ed81a1c2a2a5b56cc76b
2010-11-04 14:21:33 -07:00
Jeff Sharkey
f786805acc Respect padding when positioning custom view.
Fixes http://b/3164071

Change-Id: I74700fecf7e9f4785e8e944b2660724b3d270b0d
2010-11-04 14:16:25 -07:00
Daniel Sandler
084f3ae952 Merge "Rotation lock." 2010-11-04 14:15:56 -07:00
Chet Haase
43f40fe968 Merge "Adding JNI methods as a faster reflection mechanism" 2010-11-04 14:05:57 -07:00
Daniel Sandler
b73617de46 Rotation lock.
IWindowManager now supports two new methods,
freezeRotation() and thawRotation(), that allow a caller to
temporarily stash the device's current rotation as the
default rotation (when no other constraints are present).

The system bar uses this to implement a user-accessible
rotation lock by calling freezeRotation() and then turning
off accelerometer-based display rotation; unless overridden
by an app, the display will continue to appear in the frozen
rotation until the rotation is unlocked by the user (either
via the rotation lock icon in the system bar or by checking
"rotate screen automatically" in Settings).

Bug: 2949639
Change-Id: Icd21c169d1053719590e72401f229424b254622f
2010-11-04 16:55:29 -04:00
Elliott Hughes
1ab022b8c8 Merge "Fix an off-by-one error." 2010-11-04 13:47:13 -07:00
Chet Haase
6e0ecb4eed Adding JNI methods as a faster reflection mechanism
This approach is only for the common cases of void-return,
single-argument float/int methods.

Change-Id: Ifb31535a6f717b85417eced93c579be6e461e039
2010-11-04 13:37:45 -07:00
Jason Sams
218c60edc9 Merge "Fix potental incremental build failure with leftover RS generated files." 2010-11-04 13:33:19 -07:00
Jason Sams
cebfaab7a5 Fix potental incremental build failure with
leftover RS generated files.

Change-Id: I4b2ed98372ac9caba61ff6622b26f1bb1b435df0
2010-11-04 13:28:14 -07:00
Robert Ly
c2d1a2037e Doc change: Updating and restructuring the NDK section for GB. Filenames
for new NDK packages still need updating.

Change-Id: I47ecd7d461ae859352a822d0e6cd2bae6c729f23
2010-11-04 13:25:19 -07:00
Dianne Hackborn
ea9020e085 Add API to find out if there is a vibrator.
Change-Id: If29f6ee19448222433cad9fad325d0095a8e5737
2010-11-04 13:01:56 -07:00
Ben Murdoch
0406e48db9 Work around race condition in CallBackProxy.
If WebCore requests two (or more) alert/prompt/confirm dialogs
in quick succeession, we have a race that when the dialog is dismissed
the WebView does not have it's focus restored before the next dialog
is requested to be shown and we early out of displaying the dialog (i.e.
we do not show it).

Work around this by no longer verifying that the Activity has focus as
this check seems to be redundant anyway (see 3166409).

Bug: 3151825, 3166409

Change-Id: I7f650b066ee63da92bc9a620b8e190c91b306d3e
2010-11-04 19:51:06 +00:00
Mike Lockwood
d8d7b555cb Merge "MediaStore: Make definitions for Files table public" 2010-11-04 12:40:26 -07:00
Elliott Hughes
b55dcc244d Fix an off-by-one error.
I/SystemServer(  104): Wired Accessory Observer
  E/SystemServer(  104): Failure starting WiredAccessoryObserver
  E/SystemServer(  104): java.lang.ArrayIndexOutOfBoundsException: index=3 length=3
  E/SystemServer(  104): 	at com.android.server.WiredAccessoryObserver.<init>(WiredAccessoryObserver.java:79)
  E/SystemServer(  104): 	at com.android.server.ServerThread.run(SystemServer.java:401)

Change-Id: I6d40259d96b8c57c0ff04eab362a66b70e9fcd25
2010-11-04 12:35:01 -07:00
Dianne Hackborn
bbd4a9f916 Merge "StrictMode: now in more system server threads." 2010-11-04 12:21:48 -07:00
Romain Guy
8ad4b47920 Merge "Fix possible rendering issue when drawing a path." 2010-11-04 12:14:37 -07:00
Romain Guy
1041aded2d Fix possible rendering issue when drawing a path.
Change-Id: I25f2e609589f0dd9294bcf7930de6398c0d7e377
2010-11-04 12:10:40 -07:00
Robert Greenwalt
03595d0118 Tell each VM to flush their DNS cache.
bug:3095357
Change-Id: I93de24e3e5a7d8b94d55f4facfffc863a2b8c202
2010-11-04 11:52:35 -07:00
Kenny Root
b52907f6be Merge "Add "nodpi" to DpiTest Android.mk" 2010-11-04 11:50:51 -07:00
Kenny Root
867812df8f Add "nodpi" to DpiTest Android.mk
Part of the drawables for DpiTest is a nodpi directory, but the
LOCAL_AAPT_FLAGS didn't specify it.

Bug: 3165492
Change-Id: I989068d76f922db6048e6db7cc6822ab3234d36e
2010-11-04 11:30:37 -07:00
Jamie Gennis
960423d46f Merge "Fix a MediaBuffer leak in Stagefright." 2010-11-04 11:18:14 -07:00
Leon Scroggins
0f46c6f4ef Merge "Use the new web email and password variations." 2010-11-04 11:11:42 -07:00
Xavier Ducrohet
f5a6c67fbe Merge "Layoutlib native delegate: FloatMath." 2010-11-04 11:03:45 -07:00
Xavier Ducrohet
de2dfc91e6 Merge "Layoutlib native delegate: path effects and xfermode." 2010-11-04 11:03:39 -07:00
Leon Scroggins
b5ce0e0532 Use the new web email and password variations.
Bug:2460543
Bug:3094312
Bug:2692655
Bug:2710595

Use the NEXT flag when there is a following
textfield.

In TextView, treat the new variations like email and password
variations.

Requires a change in LatinIME so that these fields work propely:
https://android-git.corp.google.com/g/#change,77721

Change-Id: Id6517a016db7d50b77570ff77f2635027796da4a
2010-11-04 14:02:14 -04:00
Scott Main
0cf0173070 am 13259f0b: am 17c87d80: Merge "docs: more revisions to the installing docs for GB" into gingerbread
* commit '13259f0ba08cde334a9b6760b20f14c269893652':
  docs: more revisions to the installing docs for GB
2010-11-04 10:57:48 -07:00
Jean-Baptiste Queru
e9418ffc5b am 0d7c66b3: Merge 42c94791 from open-source master
* commit '0d7c66b3a555356315c17da48969fee28181ceda':
  Fix the animation disappeared issue
2010-11-04 10:57:34 -07:00
Gilles Debunne
10644106b8 Rationalized the single/multiple line initialization in TextViews.
The TYPE_TEXT_FLAG_MULTI_LINE was set directly, instead of calling
setSingleLine, which has some side effects, like correctly updating
the mSingleLine field.

Generalized the use of setSingleLine everywhere. This may change some
behavior, but is probably fixing more state inconsistencies.

Change-Id: I6b4da2e140a8dc75481cff9e44473daa6b3a83c4
2010-11-04 10:53:04 -07:00
Amith Yamasani
53e59add93 Merge "For extra large devices, use a dialog style for LauncherActivity." 2010-11-04 10:44:55 -07:00
James Dong
152f62ef66 am c25c28a4: (-s ours) am c0fa1d47: Merge "Revert "Support rotation in media recorder"" into gingerbread
* commit 'c25c28a496012f64da57f5beb3b99f7424abb602':
  Revert "Support rotation in media recorder"
2010-11-04 10:32:06 -07:00
Scott Main
7aa908d677 am 974ea38a: am 42361551: Merge "docs: some more edits to the sdk install docs" into gingerbread
* commit '974ea38a7c941eb8d85cea3b9a2ab87ed0b8e592':
  docs: some more edits to the sdk install docs
2010-11-04 10:29:14 -07:00
Mathias Agopian
49686be71e am b20c2e7c: am 477c4fee: Merge "[3163098] Fix bug in angleChange funtion which caused the returned angle change to be zeroall the time. The fix is to use PrevR instead of computing the difference between R and R." into gingerbread
* commit 'b20c2e7ca03f5ef2694b20ff9a7a10a7249eb936':
  [3163098] Fix bug in angleChange funtion which caused the returned angle change to be zeroall the time. The fix is to use PrevR instead of computing the difference between R and R.
2010-11-04 10:29:09 -07:00
Hiroshi Lockheimer
6d1166b7cb am 0ce42c9d: (-s ours) am c181a082: Merge "Support rotation in media recorder" into gingerbread
* commit '0ce42c9d315ea6bf0e4f81b14b9e1a38f8979897':
  Support rotation in media recorder
2010-11-04 10:29:05 -07:00
Mike Lockwood
0b20b77ff5 MediaStore: Make definitions for Files table public
This provides a public API for the new MediaProvider support for
arbitrary file types.  MediaProvider is no longer limited to supporting
only media (audio, video, image and playlist files).
This also allows querying across multiple media file types and supports
navigating the directory hierarchy of the media storage via database queries.

BUG: 2984284

Change-Id: I6222a6d601a4641cc7e544335e45d05b194532b1
Signed-off-by: Mike Lockwood <lockwood@google.com>
2010-11-04 13:20:06 -04:00
Gilles Debunne
4e331a784d Merge "Tapping on paste popup with an empty clipboard does not crash in TextView." 2010-11-04 10:13:00 -07:00
Gilles Debunne
5300f278fc am 67e1ae5b: am 698dd812: Merge "ldpi assets created from hdpi in core." into gingerbread
* commit '67e1ae5b96bc3be5f9fc57350dada06194eb7f68':
  ldpi assets created from hdpi in core.
2010-11-04 09:57:14 -07:00
Hiroshi Lockheimer
5fedc1ce4e am 5f5bcf50: am e0887cc7: Merge "Squash ANRs in UsbStorageActivity." into gingerbread
* commit '5f5bcf5039774050eec587dcc31905bd5a370b7b':
  Squash ANRs in UsbStorageActivity.
2010-11-04 09:56:57 -07:00
Jason Chen
15d18efddd resolved conflicts for merge of f0452c25 to master
Change-Id: Ie8f5e81393ac965fd570f99239ab8be8ea0db00c
2010-11-04 09:29:55 -07:00
Scott Main
13259f0ba0 am 17c87d80: Merge "docs: more revisions to the installing docs for GB" into gingerbread
* commit '17c87d80c65d047c2db353d9826fef3e0d4d3535':
  docs: more revisions to the installing docs for GB
2010-11-04 09:20:40 -07:00
Scott Main
17c87d80c6 Merge "docs: more revisions to the installing docs for GB" into gingerbread 2010-11-04 09:17:54 -07:00
Jean-Baptiste Queru
5580e44c25 Merge "Support changing style parent in overlays" 2010-11-04 07:26:37 -07:00
Jean-Baptiste Queru
0d7c66b3a5 Merge 42c94791 from open-source master
Change-Id: Id17a1a787b6d46c44ba39d628129a3a27f6d70be
2010-11-04 07:22:44 -07:00
Scott Main
ce4b523eb8 am d9bb6bc2: am 08810efc: docs: provide overview of the web apps docs and revise images in the targeting doc
* commit 'd9bb6bc283b3f7ee75da14c42c8a563214103c05':
  docs: provide overview of the web apps docs and revise images in the targeting doc
2010-11-04 07:20:33 -07:00
Kristian Monsen
badf945656 Move more of android file handling in Java
Moving some of the code (finding which kind of file it is and
deleting parts of the url) to Java from C++.

Is needed by the following change in external/webkit:
https://android-git.corp.google.com/g/#change,77383

Change-Id: Ifc6008501eb580a0aaa5e307732b6f49ebd19ac4
2010-11-04 12:05:58 +00:00
satok
dfe7fd1776 Merge "Find the most applicable subtype when there is no selected subtype but IME has subtypes" 2010-11-03 23:09:46 -07:00
Jason Sams
6b81399aa1 Merge "Update ScriptC constructor to remove depricated param." 2010-11-03 23:03:06 -07:00