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

Commit a1fb4fce authored by Joy Babafemi's avatar Joy Babafemi Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE: Clear calling context when adding UWB default setting." into sc-qpr1-dev

parents b53041d1 fae54522
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -236,7 +236,12 @@ public class UwbServiceImpl extends IUwbAdapter.Stub implements IBinder.DeathRec
            throw new IllegalStateException("No vendor service found!");
        }
        Log.i(TAG, "Retrieved vendor service");
        long token = Binder.clearCallingIdentity();
        try {
        mVendorUwbAdapter.setEnabled(mUwbInjector.isPersistedUwbStateEnabled());
        } finally {
          Binder.restoreCallingIdentity(token);
        }
        linkToVendorServiceDeath();
        return mVendorUwbAdapter;
    }