commit | 43be43433582c1a9b66cfd4fb0a4350af6781bdb | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Wed Jan 12 21:17:55 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jan 12 21:17:55 2022 +0000 |
tree | 188ee4e7e6d424fcdddb082bfaed0b3e91ece320 | |
parent | 539dcdbd8bc2fa740fddcdbd37e4e3e763dfe8c5 [diff] | |
parent | f44200a5659fdd397e9fa387a6c2fda7632ff3de [diff] |
Merge "Remove BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS for ConnectionService bind." into qt-dev am: f44200a565 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telecomm/+/16576060 Change-Id: I0caf3336350ab33b613651bdbf33b8b7f818f88d
diff --git a/src/com/android/server/telecom/ServiceBinder.java b/src/com/android/server/telecom/ServiceBinder.java index c64fc73..a322a5e 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,