commit | 1e4f9307ffad98b26fa2635ebc5bf7c40aae1607 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Wed Jan 12 22:33:38 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jan 12 22:33:38 2022 +0000 |
tree | 79017523f32db21c35e3b204e3a603e38746ee8a | |
parent | a9ffd649b900991a535bc80f4e6a16df9cbf36e8 [diff] | |
parent | 39fc196230ffe56c870e6b07921242d113ec7e27 [diff] |
Merge "Remove BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS for ConnectionService bind." into qt-dev am: f44200a565 am: 43be434335 am: 8fcb7fa2f4 am: 410009b18a am: 86c3d10c82 am: 39fc196230 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telecomm/+/16576060 Change-Id: I92cc390a4fdfa40e3448fbd9a1f49793b717e035
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,