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

Commit 33dd3ec9 authored by Tyler Gunn's avatar Tyler Gunn Committed by Automerger Merge Worker
Browse files

Merge "Revert "Remove BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS for...

Merge "Revert "Remove BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS for ConnectionService bind."" into qt-dev am: ae55381d am: b5076094 am: d455e0ff am: fdc8bef5 am: 5b2b03bc am: 2008c125 am: 2c82f840

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telecomm/+/16790594

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

                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;
                if (mUserHandle != null) {
                    isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags,