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

Commit 607ed374 authored by Peter Wang's avatar Peter Wang Committed by Gerrit Code Review
Browse files

Merge "[Telephony Mainline] Change usages of hidden APIs"

parents 18c8c16f 11e00678
Loading
Loading
Loading
Loading
+5 −3
Original line number Original line Diff line number Diff line
@@ -272,9 +272,11 @@ public class CarrierServiceBindHelper {


            String error;
            String error;
            try {
            try {
                if (mContext.bindServiceAsUser(carrierService, connection,
                if (mContext.createContextAsUser(Process.myUserHandle(), 0)
                        .bindService(carrierService,
                                Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE,
                                Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE,
                        mHandler, Process.myUserHandle())) {
                                (r) -> mHandler.post(r),
                                connection)) {
                    return;
                    return;
                }
                }