am 7f447de2
: Merge "Disabling queued unbinding of RemoteViewsServices until we fix flashing in widgets." into honeycomb
* commit '7f447de2f511ec8ee35af8abf0ca3c46ffa68289': Disabling queued unbinding of RemoteViewsServices until we fix flashing in widgets.
This commit is contained in:
@ -917,9 +917,11 @@ public class RemoteViewsAdapter extends BaseAdapter implements Handler.Callback
|
||||
}
|
||||
|
||||
private void enqueueDeferredUnbindServiceMessage() {
|
||||
/* Temporarily disable delayed service unbinding
|
||||
// Remove any existing deferred-unbind messages
|
||||
mMainQueue.removeMessages(sUnbindServiceMessageType);
|
||||
mMainQueue.sendEmptyMessageDelayed(sUnbindServiceMessageType, sUnbindServiceDelay);
|
||||
*/
|
||||
}
|
||||
|
||||
private boolean requestBindService() {
|
||||
|
@ -484,9 +484,9 @@ class AppWidgetService extends IAppWidgetService.Stub
|
||||
new FilterComparison(intent));
|
||||
if (mBoundRemoteViewsServices.containsKey(key)) {
|
||||
final ServiceConnection conn = mBoundRemoteViewsServices.get(key);
|
||||
mBoundRemoteViewsServices.remove(key);
|
||||
conn.onServiceDisconnected(null);
|
||||
mContext.unbindService(conn);
|
||||
mBoundRemoteViewsServices.remove(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user