Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36019e12 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add BIND_INCLUDE_CAPABILITIES flag when binding to the service." into rvc-qpr-dev

parents c4f7aa45 76724683
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -185,7 +185,7 @@ public final class MediaBrowser {
                boolean bound = false;
                boolean bound = false;
                try {
                try {
                    bound = mContext.bindService(intent, mServiceConnection,
                    bound = mContext.bindService(intent, mServiceConnection,
                            Context.BIND_AUTO_CREATE);
                            Context.BIND_AUTO_CREATE | Context.BIND_INCLUDE_CAPABILITIES);
                } catch (Exception ex) {
                } catch (Exception ex) {
                    Log.e(TAG, "Failed binding to service " + mServiceComponent);
                    Log.e(TAG, "Failed binding to service " + mServiceComponent);
                }
                }