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

Commit 861d5a8d authored by Varun Berry's avatar Varun Berry Committed by Automerger Merge Worker
Browse files

Merge "Bind to CarrierService with BIND_INCLUDE_CAPABILITIES flag." into rvc-dev am: 2029161e

Change-Id: I40ceca2a2af32c21b06ad6f4760c5ea78d3d6c8c
parents 6052eb49 2029161e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -279,7 +279,9 @@ public class CarrierServiceBindHelper {
            try {
                if (mContext.createContextAsUser(Process.myUserHandle(), 0)
                        .bindService(carrierService,
                                Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE,
                                Context.BIND_AUTO_CREATE
                                | Context.BIND_FOREGROUND_SERVICE
                                | Context.BIND_INCLUDE_CAPABILITIES,
                                (r) -> mHandler.post(r),
                                connection)) {
                    log("service bound");