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

Commit 7513f812 authored by Peter Wang's avatar Peter Wang Committed by android-build-merger
Browse files

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

am: 607ed374

Change-Id: I3eb0bac681e8c1d2db552f7c821678e56459892b
parents df689a81 607ed374
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -272,9 +272,11 @@ public class CarrierServiceBindHelper {

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