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

Commit 7593dc99 authored by vadimt's avatar vadimt
Browse files

NavigationModeSwitchRule: log exception before 'finally'

Change-Id: I158105da467e2759fec6fa5d8acd582b2e95f7c5
parent 7b0520af
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -102,6 +102,9 @@ public class NavigationModeSwitchRule implements TestRule {
                        if (mode == THREE_BUTTON || mode == ALL) {
                            evaluateWithThreeButtons();
                        }
                    } catch (Exception e) {
                        Log.e(TAG, "Exception", e);
                        throw e;
                    } finally {
                        setActiveOverlay(prevOverlayPkg, originalMode);
                    }