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

Commit e90f8647 authored by Joy Babafemi's avatar Joy Babafemi Committed by Android Build Coastguard Worker
Browse files

[DO NOT MERGE] Handle IllegalStateException in APM event handling.

Test: Manual
Bug: 204003158
Change-Id: I8cf2b091b9f323079f54a38dfc9ddfc8af512a43
(cherry picked from commit 7bde0926)
parent af1e71dc
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);
        }
    }