Merge "Add BIND_INCLUDE_CAPABILITIES flag when binding to the service." into rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
36019e12b2
@@ -185,7 +185,7 @@ public final class MediaBrowser {
|
||||
boolean bound = false;
|
||||
try {
|
||||
bound = mContext.bindService(intent, mServiceConnection,
|
||||
Context.BIND_AUTO_CREATE);
|
||||
Context.BIND_AUTO_CREATE | Context.BIND_INCLUDE_CAPABILITIES);
|
||||
} catch (Exception ex) {
|
||||
Log.e(TAG, "Failed binding to service " + mServiceComponent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user