commit | 7593dc995b3a57b6a4e21dd2b2057c45be892fa4 | [log] [tgz] |
---|---|---|
author | vadimt <vadimt@google.com> | Thu Jul 25 12:16:31 2019 -0700 |
committer | vadimt <vadimt@google.com> | Thu Jul 25 12:16:31 2019 -0700 |
tree | e3b8c4783f046d344e0105602403044ee05456e0 | |
parent | 7b0520afe48b511ed910de1048405185712e5b03 [diff] |
NavigationModeSwitchRule: log exception before 'finally' Change-Id: I158105da467e2759fec6fa5d8acd582b2e95f7c5
diff --git a/quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java b/quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java index b6cd1be..28a9707 100644 --- a/quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java +++ b/quickstep/tests/src/com/android/quickstep/NavigationModeSwitchRule.java
@@ -102,6 +102,9 @@ if (mode == THREE_BUTTON || mode == ALL) { evaluateWithThreeButtons(); } + } catch (Exception e) { + Log.e(TAG, "Exception", e); + throw e; } finally { setActiveOverlay(prevOverlayPkg, originalMode); }