NavigationModeSwitchRule: log exception before 'finally'
Change-Id: I158105da467e2759fec6fa5d8acd582b2e95f7c5
This commit is contained in:
1 parent
7b0520afe4
commit
7593dc995b
1 file changed
+3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user