Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.
Change only impacts renderscript and renderscript apps.
AutoCompleteTextView.onKeyPreIme() used
getKeyDispatcherState().startTracking(event, this) to start tracking
the back button, but didn't update the state of the event
before checking event.isTracking().
Fixes http://b/issue?id=2167168
"AutoCompleteTextView back button handling is broken"
Change-Id: I2c5f1e761872b9e02d85ff6f958fabd558d041a0
Merge commit '5bba632d877c2878384ff21566c8eb6a1a22f37b' into eclair-mr2
* commit '5bba632d877c2878384ff21566c8eb6a1a22f37b':
- hide Entity and all its references
- remove updateEntity and insertEntity, since they are not
used
- add the RawContacts.Entity class, which is used in lieu of the
android.content.Entity
Merge commit '5163cd6d1cb664977eb4473b98657c7e92ae430e' into eclair-mr2
* commit '5163cd6d1cb664977eb4473b98657c7e92ae430e':
Make sdk version and code names static finals in PackageParser.
* changes:
Make sdk version and code names static finals in PackageParser. Remove api to set these values. Remove an unused method in AppSecurityPermissions
Merge commit 'ccc214b21edaaddf46960388ec4d3e3ca89a01ae' into eclair-mr2
* commit 'ccc214b21edaaddf46960388ec4d3e3ca89a01ae':
Make VCardComposer create the instance for mHandlerList.
Merge commit '9c3c276afa7e2485e1a9f47e29ada8cb61b7b07c' into eclair-mr2
* commit '9c3c276afa7e2485e1a9f47e29ada8cb61b7b07c':
New section header and divider assets.
Merge commit '841a8eea78479ad8a3c10e69a788adbeaef5a53d' into eclair-mr2
* commit '841a8eea78479ad8a3c10e69a788adbeaef5a53d':
Reimplement all the method of Paint for layoutlib
Merge commit 'c39d2e3c012fb96999991e30659a474f9f30f789' into eclair-mr2
* commit 'c39d2e3c012fb96999991e30659a474f9f30f789':
Music visualizer support hack.
Previously the creation was delayed until addHandler(), which
had been required to be called.
However, after VCardComoser's support toward PBAP stuffs,
the guarantee was not true any more.
So by creating the instance in constructor, we refrain NPE during
finalize() when PBAP uses VCardComposer.
This currently assumes 44k stereo (won't crash on other formats, but won't give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by about 45kb.
Merge commit '24bb9b8af4ff691538fe9e517e8156016b0da6cd' into eclair-mr2
* commit '24bb9b8af4ff691538fe9e517e8156016b0da6cd':
Provide an API for apps to use a dynamic RFCOMM channel and SDP record.
Hide listenUsingRfcommOn(int channel)
Add listenUsingRfcomm(String name, ParcelUuid uuid)
The new API automatically finds a free RFCOMM channel and registers an SDP
record with the given uuid and name. The SDP record is automatically
removed when the socket is closed, or if the application dies.
Apps are prevented from registering SDP records with the uuid of system
Bluetooth profiles, such as A2DP, HFP and OPP.
Apps are prevented from removing SDP records that they did not create. This is
tracked by pid.
TODO: Provide an API for the connecting app to look up an SDP record.
Bug: 2158900
DrNo: eastham
Joke: "What did the dog say to the tree? bark."
Change-Id: Ia92f51c34615a7270a403255ad2b8faa98c4a3f5
- Remove one pixel of margin from the left of the voice
search button icon.
- Move magnifying glass icon one pixel downwards (= remove
one pixel of padding at the bottom and add one at the top).
- Remove one pixel of margin from the bottom of the button
backgrounds.
- Remove one pixel of padding from the left of the
search button background.
- Remove one pixel of padding from the left and add one to
the right of the voice search button background.
Fixes http://b/issue?id=2160857
"Pixel tweak search layouts to match widget"
Change-Id: I76d7ba6128f13f3d29b03a89e9862df355874e06
Merge commit '7fdd67d3867ecbb6457a560b2428a8e9464d8ecd' into eclair-mr2
* commit '7fdd67d3867ecbb6457a560b2428a8e9464d8ecd':
dumpstate: Emit a logcat message at beginning and end of execution.
Since the logcat is not printed until later in the output, this will
make it easier to determine at what point the user pressed the key sequence
to initiate the bugreport, which can be helpful when debugging timing dependent problems.
b/2164183
Change-Id: I5b650a6163c383183ff28e344dac36fab11a2c7b
Signed-off-by: Mike Lockwood <lockwood@android.com>
There were a few missing methods that should have been reimplmented
(because they were native).
Others have been added just to be sure so that we can test whether methods
are missing or not (test coming soon).
Change-Id: I24895c353e38545e9b1abe28d41224fdc78cadb1
Merge commit 'a970bf52581667e88d82e0801e0774d7c9cdcb8f' into eclair-mr2
* commit 'a970bf52581667e88d82e0801e0774d7c9cdcb8f':
Fix the layoutlib test to run from adt-tests.
Merge commit '68d881cf2d2b252f6f795cd64d43e316a1d736e5' into eclair-mr2
* commit '68d881cf2d2b252f6f795cd64d43e316a1d736e5':
Fix issue #2166755: BroadcastReceiver trying to return result during a non-ordered broadcast
Merge commit '71060f29855745893c122e8b93cf7a723186931b' into eclair-mr2
* commit '71060f29855745893c122e8b93cf7a723186931b':
Refactor class/method names used by layoutlib_create.
Tell the broadcast receiver whether it is getting an initial sticky value,
so it will be quiet about attempts to do ordered broadcast stuff.
Note that the original bug being reported was not actually a crash, just
an error log. So all we are doing here is making the log quieter.
Change-Id: Iaf1b718d82093ec1197142410a64feff47eb3859
Merge commit '89c768435fc48a93c0af97f9f08e57a346b0a9fd' into eclair-mr2
* commit '89c768435fc48a93c0af97f9f08e57a346b0a9fd':
Make sure AsyncTask sens a null result to onPostExecute() when cancelled.