The ANR is caused by SurfaceFlinger waiting for buffers of a removed surface to become availlable.
When it is removed from the current list, a Surface is marked as NO_INIT, which causes SF to return
immediately in the above case. For some reason, the surface here wasn't marked as NO_INIT.
This change makes the code more robust by always (irregadless or errors) setting the NO_INIT status
in all code paths where a surface is removed from the list.
Additionaly added more information in the logs, should this happen again.
We now just don't send out dock broadcasts/launches when the
device is not provisioned. Good enough for our purposes.
Change-Id: Iee6384121675e0e9854745ec1168245e8a23a241
This is the frameworks/base part of the fix for Bug 2158434: add a new
callback to the OnDialTriggerListener interface, so the RotarySelector can
tell the app about state changes between NOTHING_GRABBED and
LEFT_HANDLE_GRABBED and RIGHT_HANDLE_GRABBED.
BUG=2158434
DRNO=timsullivan
TESTED=regular incoming calls, call waiting calls, answering a call,
rejecting a call. Also verified I didn't affect the
lock screen at all.
this fixes a safari-only bug in which encoded chars were inserted
into the search string.
http://b/issue?id=2031559
Change-Id: Ie60902bafcbb327d488b921f8d3925aaf9ff0566
Merge commit '9b150b74573ce506abd00c692fb42f46980441a3' into eclair-plus-aosp
* commit '9b150b74573ce506abd00c692fb42f46980441a3':
Close the cursor before assigning a new one to the same variable.
Merge commit 'bbed0d68c815446400193bdc8b16fbf73e1ee664' into eclair-plus-aosp
* commit 'bbed0d68c815446400193bdc8b16fbf73e1ee664':
hide setGammaForText, which is only used for calibrating new devices
Merge commit '271cfe85ccfa6d94008dcebb3b97108ca325fe59' into eclair-plus-aosp
* commit '271cfe85ccfa6d94008dcebb3b97108ca325fe59':
improve boot animation a bit
Merge commit 'a6309c30722ad3aee88ddc2394cea2a499168d99' into eclair-plus-aosp
* commit 'a6309c30722ad3aee88ddc2394cea2a499168d99':
On BACK in search, hide just IME if IME is fullscreen
Since a fullscreen IME covers the entire search dialog, there was
no discoverable way to get back to the search dialog.
Now, on BACK presses when the IME is fullscreen (e.g. in landscape
mode without hard keyboard), we dismiss only the IME.
A second BACK press will dismiss the search dialog.
Fixes http://b/issue?id=2159132
Change-Id: I8e5736d83d7c35936a718929017ea04c6214700b
API council says:
"In reviewing the new triggerSearch API, we are concerned that
applications could use the option to perform a global search to spam
the user with frequent searches. We would like the global search
option to be removed for now (not just hidden, but removed from the
internal IPC API so that nobody can find this and abuse it). The rest
of the API should be fine as long as it is restricted to local
searches."
Fixes http://b/editIssue?id=2158785
Change-Id: Ie69a9c0ab6373cc4427aab50606885bdede40585
Merge commit 'f0e5ca7e09a8651b85c652e040a037e39e224128' into eclair-plus-aosp
* commit 'f0e5ca7e09a8651b85c652e040a037e39e224128':
New 1x status bar icons
Merge commit '62de742125d8f5fd1d236f720b2de3bf5cf76174' into eclair-plus-aosp
* commit '62de742125d8f5fd1d236f720b2de3bf5cf76174':
Fix stopping all vpn daemons before connect and more.
Merge commit '9825ec61b4a40ed92a5bb28019289e5bab9cfb56' into eclair-plus-aosp
* commit '9825ec61b4a40ed92a5bb28019289e5bab9cfb56':
Prevents the WindowManager from requesting empty or negative surfaces.