36350 Commits

Author SHA1 Message Date
Scott Main
93896ad879 am dfb12218: docs: revise adding components with info about platform-tools
* commit 'dfb122180c7028764136ac3a4fa07104f601de84':
  docs: revise adding components with info about platform-tools
2010-11-11 11:00:44 -08:00
Jaikumar Ganesh
b0a1d01b4c Make AUDIO_STATE_CONNECTING in BluetoothHeadset public.
As the SCO connection is done on a separate thread, this
state is needed to prevent silent failures in case of APIs like
voicerecognition.

Change-Id: Id08725323a2c847df4d3bd9f60e42fde46100707
2010-11-11 10:59:48 -08:00
Scott Main
dfb122180c docs: revise adding components with info about platform-tools
Change-Id: I3b4afca09fc81d41f3017fd78e64f44b11f9ec12
2010-11-11 10:48:45 -08:00
Eric Fischer
4f66308170 Merge "Import revised translations." 2010-11-11 10:28:30 -08:00
Xavier Ducrohet
c2e9651bf3 Layoutlib: New bridge implementation using the new API 5.
Since the new API prepare for stateful layoutlib, major
reorganization of the code.

New "android" sub-package for all extended android classes.
  Also moved BridgeInflater in here so that all extended classes
  are in this package. Only delegates and classes replacing
  renamed classes are in their original android.* packages.
  Also created full file for the empty implementations of
  IWindow and IWindowSession.
New "impl" for the dirty work implementation.
Main package contains the basic implementation of the API.

Most of the code that was in Bridge is now in .impl.LayoutSceneImpl,
with the main init/inflate/render code split into the contrustrutor,
inflate() and render().

Change-Id: Ie15b15e5a1b2388cd6ef82e518345b1fc02ec981
2010-11-11 10:08:19 -08:00
James Dong
0fbb7a601f Merge "Fix testWAVSeekToEnd() testcase" 2010-11-11 09:58:44 -08:00
Brad Fitzpatrick
e7520d89fe StrictMode.Span support
Support for annotating critical regions (e.g. animations) with
a tag to be uploaded.

Change-Id: I412fc78f40dc05c9a3c9f62a4b0463201dbdb767
2010-11-11 09:46:07 -08:00
Amith Yamasani
8bda1c1ef7 am f8d2aff4: am db65907a: Merge "Adding pan behavior on preference dialog."
* commit 'f8d2aff41d347e029c9c0b1f51f20c92cd1cce8e':
  Adding pan behavior on preference dialog.
2010-11-11 09:10:51 -08:00
Amith Yamasani
f8d2aff41d am db65907a: Merge "Adding pan behavior on preference dialog."
* commit 'db65907a2148f053e51f941979f0f7694acd5923':
  Adding pan behavior on preference dialog.
2010-11-11 09:06:02 -08:00
Steve Block
b38caa5536 Merge "Remove the failing expectation for fast/encoding/char-encoding.html for DRT" 2010-11-11 08:56:02 -08:00
Steve Block
6a108501b1 Remove the failing expectation for fast/encoding/char-encoding.html for DRT
This test now passes with both HTTP stacks.

Bug: 3047156
Change-Id: Ibb723d3e1b8bf45c23abf5ebd7a9789a5c7cc6de
2010-11-11 16:54:05 +00:00
Amith Yamasani
db65907a21 Merge "Adding pan behavior on preference dialog." 2010-11-11 08:50:52 -08:00
Mike Lockwood
f0c3a99cee Merge "MTP: Add missing call to closedir() in recursive delete code" 2010-11-11 08:44:19 -08:00
Mike Lockwood
a108b2fdc1 MTP: Add missing call to closedir() in recursive delete code
BUG: 3185660

Change-Id: I3744d2cb193829d20a689af2aea50e8516779631
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-11 11:22:32 -05:00
satok
723a27ef3d Save the history of InputMethodSubtype for reverting the subtype when IME was changed.
- Re-revert the change https://android-git.corp.google.com/g/#q,78962,n,z
*** If you want to see the diff between reverted change and new change, please see the diff between patch set 1 and the latest patch set

- TODO: Add a public function "switchToLastInputMethod"

Change-Id: Ic85d54b3b68e47a22360acaeb81202a366a34586
2010-11-11 17:13:10 +09:00
James Dong
c5d4730ed1 Fix testWAVSeekToEnd() testcase
The testcase does not depend on the availability of WMV decoder

Change-Id: I983f6d5954242a28fb9818fa03447b4afe7ad3d1
2010-11-11 00:03:59 -08:00
John Wang
a6689ddbba am 1ed7d65b: am fac4a689: Merge "Fix the audio mode glitch during hangup." into gingerbread
* commit '1ed7d65b5d781d10de91a199fbd94d6d445d1def':
  Fix the audio mode glitch during hangup.
2010-11-10 19:32:42 -08:00
John Wang
1ed7d65b5d am fac4a689: Merge "Fix the audio mode glitch during hangup." into gingerbread
* commit 'fac4a689f86b0d46a2c76cec0a6ce2f4bac2a22a':
  Fix the audio mode glitch during hangup.
2010-11-10 19:28:31 -08:00
John Wang
fac4a689f8 Merge "Fix the audio mode glitch during hangup." into gingerbread 2010-11-10 19:11:20 -08:00
Romain Guy
6ae689201f Merge "Add new runtime debug flags." 2010-11-10 19:06:17 -08:00
Romain Guy
e190aa6975 Add new runtime debug flags.
Change-Id: I07955de166a89b5053c6c13f250bb3e2936ca86e
2010-11-10 19:01:29 -08:00
Adam Cohen
2f8b27bfe5 Fixing current.xml
Change-Id: Ida4077f26bb1bfd6e2070a3b58adabbcfd761c68
2010-11-10 18:20:31 -08:00
Dianne Hackborn
c600720638 am 63f40387: am 34594e75: Merge "Fix issue #3177284: Account for wake lock power usage on Crespo" into gingerbread
* commit '63f40387d931b5cd555b4743a4d8ff4f1ccf9558':
  Fix issue #3177284: Account for wake lock power usage on Crespo
2010-11-10 18:06:55 -08:00
Dianne Hackborn
63f40387d9 am 34594e75: Merge "Fix issue #3177284: Account for wake lock power usage on Crespo" into gingerbread
* commit '34594e75e4a7962840f34c0b57116ecf1497f118':
  Fix issue #3177284: Account for wake lock power usage on Crespo
2010-11-10 18:01:21 -08:00
Dianne Hackborn
34594e75e4 Merge "Fix issue #3177284: Account for wake lock power usage on Crespo" into gingerbread 2010-11-10 17:58:28 -08:00
Mathias Agopian
3a9223ebf8 record the last event received regardless of having clients or not
We only recorded the last received event (which is needed when a sensor
is activated on a connection) when there was some connection active.
This should fix an issue where sometimes the light sensor doesn't
return an event whent activated.

we also didn't need to hold the main lock while dispatching events
to clients.

Change-Id: I6c6386c040051ce205e3c0516c678e0603fa45e1
2010-11-10 17:50:28 -08:00
Eric Fischer
0f9c9a7589 Import revised translations.
Change-Id: I268a46ef97765c4d806b84f50a5b99667ec4eb53
2010-11-10 17:29:29 -08:00
Adam Cohen
f0504eb470 Merge "Adding widget auto-advance capability" 2010-11-10 17:26:10 -08:00
Adam Powell
6e3d6cf2e9 Merge "Refine AbsListView transcript mode behavior." 2010-11-10 17:21:23 -08:00
Adam Cohen
a02fdf1ba0 Adding widget auto-advance capability
Change-Id: I058573f40a48fd7b5c2efa5f1041a1199919a51a
2010-11-10 17:18:37 -08:00
Adam Powell
0785279dad Refine AbsListView transcript mode behavior.
Make transcript mode only scroll to the bottom if the last item is
already scrolled fully to the bottom when the change occurs Before
this, transcript mode would cause a list to scroll to the bottom as
long as the last item in the adapter was visible at all. Long items
would make this behave unexpectedly.

Change-Id: Ia6a52c969ea6d50653cf2b8cd4dc30ba517cf803
2010-11-10 17:07:35 -08:00
Jason Sams
27676fe24b More documentation.
Change-Id: I423ff081edd4dab9173bc13d05850bb39839b6d3
2010-11-10 17:00:59 -08:00
Jim Shuma
ec4d82046b Merge "Fix summary for FragmentTransaction.show()" 2010-11-10 16:11:32 -08:00
Jeff Brown
6f20923064 am 5314335c: (-s ours) am 00e5dd44: Merge "Fix JNI reference leak in NativeActivity. (DO NOT MERGE)" into gingerbread
* commit '5314335c9e28673923ad034e5f8a5ba765552a08':
  Fix JNI reference leak in NativeActivity. (DO NOT MERGE)
2010-11-10 16:09:02 -08:00
Jeff Brown
5314335c9e am 00e5dd44: Merge "Fix JNI reference leak in NativeActivity. (DO NOT MERGE)" into gingerbread
* commit '00e5dd44f6d014fff8c65b9c718f5641f5eae4bb':
  Fix JNI reference leak in NativeActivity. (DO NOT MERGE)
2010-11-10 16:04:13 -08:00
Jeff Brown
00e5dd44f6 Merge "Fix JNI reference leak in NativeActivity. (DO NOT MERGE)" into gingerbread 2010-11-10 16:00:37 -08:00
John Wang
d19f44f3e3 Fix the audio mode glitch during hangup.
Fix bug # 3136179.

Keep audio mode as IN_CALL during hangup DISCONNECTING state

to prevent the NORMAL and IN_CALL glitch in auiod setMode.

Change-Id: I5513a3d5c65bd13ac054c9718c4dbd7d6db9eaf3
2010-11-10 15:35:51 -08:00
Scott Main
0996daa748 am d4b5d85e: (-s ours) am 77f5c954: resolved conflicts for merge of 5a726729 to gingerbread
* commit 'd4b5d85e2cbf8fb7150a0b0030132e28d7e4d9e2':
  docs: remove "new" tags from sample apps
2010-11-10 15:10:13 -08:00
Jamie Gennis
d267d2a2f1 Remove a problematic empty update optimization.
This change removes an optimization from SurfaceFlinger that skipped
composition when it got window updates that had an empty dirty region.
This optimization caused problems because it would skip the hwcomposer
set call, which could leave the window's previous frame buffer bound to
an overlay plane.  When the application subsequently dequeued and tried
to lock its next buffer (which would be the buffer currently bound to
the overlay), the lock call would block until the next hwcomposer set
call (which may never happen).

Change-Id: I563b626a1d52c1f30eb82489eae0ceb4edc79936
Bug: 3138752
2010-11-10 15:09:09 -08:00
Brad Fitzpatrick
182e2d25cf Merge "Move ApplicationPackageManager out of ContextImpl.java" 2010-11-10 15:07:28 -08:00
Brad Fitzpatrick
b82f04df75 Merge "Move SharedPreferencesImpl out of ContextImpl.java" 2010-11-10 15:07:15 -08:00
Chris Tate
85a4ec0d2e Merge "Add description and configuration methods to the transport interface" 2010-11-10 15:00:48 -08:00
Scott Main
d4b5d85e2c am 77f5c954: resolved conflicts for merge of 5a726729 to gingerbread
* commit '77f5c9542e159cb9f2f2908227212d4add8ce74c':
  docs: remove "new" tags from sample apps
2010-11-10 14:55:48 -08:00
Scott Main
77f5c9542e resolved conflicts for merge of 5a726729 to gingerbread
Change-Id: I6060f31c45d49dfe4dbda52836150311b8992b15
2010-11-10 14:46:44 -08:00
Chris Tate
a8ddef346c Add description and configuration methods to the transport interface
It's now possible for the transport to supply a descriptive string to inform
the user about the nature of the backup destination (e.g. telling the user
what account the data is being stored under), and to supply an Intent with
which the system can initiate a configuration Activity supplied by the
transport (e.g. allowing the user to select which account their data is
being stored under).

The transport interface is not public.

Part of bug 2753632 and bug 2987804

Change-Id: I911f70a3ea440daf2a7a04710e9d7e65b61a58db
2010-11-10 14:45:07 -08:00
Gil Dobjanschi
a71f52bf32 Merge "Close the file input stream if the XML file parsing fails." 2010-11-10 14:43:19 -08:00
Mathias Agopian
da38b6dce2 am d6c7893d: (-s ours) am 17fd21fc: Merge "DO NOT MERGE. workaround [3177481] eglGetProcAddress() returns the wrong pointer for some GL extensions" into gingerbread
* commit 'd6c7893d663aa74840bb491ddbce500bc0752ac5':
  DO NOT MERGE. workaround [3177481] eglGetProcAddress() returns the wrong pointer for some GL extensions
2010-11-10 14:20:26 -08:00
James Dong
d1970b8c6e Merge "Fix uninitialized variable" 2010-11-10 14:18:26 -08:00
Scott Main
5a72672977 docs: remove "new" tags from sample apps
Change-Id: I74dafa69f3638e2fe13c5edc7a54096943ffa164
2010-11-10 14:16:09 -08:00
Mathias Agopian
d6c7893d66 am 17fd21fc: Merge "DO NOT MERGE. workaround [3177481] eglGetProcAddress() returns the wrong pointer for some GL extensions" into gingerbread
* commit '17fd21fc0638d8734867b6f189efbabb227f3ae1':
  DO NOT MERGE. workaround [3177481] eglGetProcAddress() returns the wrong pointer for some GL extensions
2010-11-10 14:15:57 -08:00