Merge "Remove BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS for ConnectionService bind." into qt-dev am: f44200a565 am: 43be434335 am: 8fcb7fa2f4

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

Change-Id: Ie13687ab5ffeec249ec79ffbc36cb8c7a9057453
diff --git a/src/com/android/server/telecom/ServiceBinder.java b/src/com/android/server/telecom/ServiceBinder.java
index aa2e2a2..2fcd2f5 100644
--- a/src/com/android/server/telecom/ServiceBinder.java
+++ b/src/com/android/server/telecom/ServiceBinder.java
@@ -87,8 +87,7 @@
                 ServiceConnection connection = new ServiceBinderConnection(call);
 
                 Log.addEvent(call, LogUtils.Events.BIND_CS, mComponentName);
-                final int bindingFlags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE
-                        | Context.BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS;
+                final int bindingFlags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE;
                 final boolean isBound;
                 if (mUserHandle != null) {
                     isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags,