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

Commit b667787b authored by Joy Babafemi's avatar Joy Babafemi Committed by Automerger Merge Worker
Browse files

[DO NOT MERGE] Handle IllegalStateException in APM event handling. am: 7bde0926

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16141748

Change-Id: I4ae5f272790b141c64835d9f0bc1a64e7eb90de3
parents 418595d7 7bde0926
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -356,7 +356,7 @@ public class UwbServiceImpl extends IUwbAdapter.Stub implements IBinder.DeathRec
    private void handleAirplaneModeEvent() {
        try {
            getVendorUwbAdapter().setEnabled(isEnabled());
        } catch (RemoteException e) {
        } catch (RemoteException | IllegalStateException e) {
            Log.e(TAG, "Unable to set UWB Adapter state.", e);
        }
    }