Merge "Add BIND_INCLUDE_CAPABILITIES flag when binding to the service." into rvc-qpr-dev am: 36019e12b2 am: 2c70f81609
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12661665 Change-Id: I7ea669edfd84e93b9a0552c47ec95689b1a77f46
This commit is contained in:
@@ -184,7 +184,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