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

Commit a5d37a82 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Merge cherrypicks of [16790594] into sc-v2-release.

Change-Id: I387b0c35fdcace7b8f0e316de650cba441a3dd90
parents 8bcbcb0c 9c45ed86
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -87,7 +87,8 @@ public abstract class ServiceBinder {
                ServiceConnection connection = new ServiceBinderConnection(call);
                ServiceConnection connection = new ServiceBinderConnection(call);


                Log.addEvent(call, LogUtils.Events.BIND_CS, mComponentName);
                Log.addEvent(call, LogUtils.Events.BIND_CS, mComponentName);
                final int bindingFlags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE;
                final int bindingFlags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE
                        | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS;
                final boolean isBound;
                final boolean isBound;
                if (mUserHandle != null) {
                if (mUserHandle != null) {
                    isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags,
                    isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags,